2008-06-21 20:55:13 +02:00
|
|
|
$NetBSD: patch-aa,v 1.2 2008/06/21 18:55:13 joerg Exp $
|
2002-07-12 22:13:39 +02:00
|
|
|
|
|
|
|
--- Makefile.orig Thu Apr 4 11:15:01 2002
|
|
|
|
+++ Makefile
|
|
|
|
@@ -0,0 +1,10 @@
|
|
|
|
+all:
|
2008-06-21 20:55:13 +02:00
|
|
|
+ $(CC) -fPIC -shared bg5pdflib.c -I$(LOCALBASE)/include -I$(LOCALBASE)/$(PYINC) -L$(LOCALBASE)/lib -lpdf -Wl,-R$(LOCALBASE)/lib -o bg5pdflib.so
|
2002-07-12 22:13:39 +02:00
|
|
|
+
|
|
|
|
+install:
|
2008-06-21 20:55:13 +02:00
|
|
|
+ ${BSD_INSTALL_SCRIPT} bg5pdf ${DESTDIR}${PREFIX}/bin
|
|
|
|
+ ${BSD_INSTALL_DATA} bg5pdflib.so ${DESTDIR}${PREFIX}/${PYSITELIB}
|
|
|
|
+ ${BSD_INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/bg5pdf
|
|
|
|
+ ${BSD_INSTALL_DATA} test.big5 ${DESTDIR}${PREFIX}/share/examples/bg5pdf
|
|
|
|
+ ${BSD_INSTALL_DATA} test.big5.pdf ${DESTDIR}${PREFIX}/share/examples/bg5pdf
|
|
|
|
+ ${BSD_INSTALL_SCRIPT} genTest.py ${DESTDIR}${PREFIX}/share/examples/bg5pdf
|