diff options
author | hwr <hwr@pkgsrc.org> | 1999-03-01 20:33:01 +0000 |
---|---|---|
committer | hwr <hwr@pkgsrc.org> | 1999-03-01 20:33:01 +0000 |
commit | 0d7c68f7448aa709b274b084473c4c9def9566ea (patch) | |
tree | 14d27575ccf31e39a96aefff72d53710eecfd5c2 /print | |
parent | a0bbb119f7023fa2b6551795688f5ae3a7c25eec (diff) | |
download | pkgsrc-0d7c68f7448aa709b274b084473c4c9def9566ea.tar.gz |
This should be better now. Thanks Hubert and Milano.
Diffstat (limited to 'print')
-rw-r--r-- | print/pdflib/Makefile | 4 | ||||
-rw-r--r-- | print/pdflib/patches/patch-ab | 4 | ||||
-rw-r--r-- | print/pdflib/pkg/PLIST | 34 | ||||
-rw-r--r-- | print/pdflib/scripts/post-patch | 9 | ||||
-rw-r--r-- | print/pdflib/scripts/pre-install | 16 |
5 files changed, 38 insertions, 29 deletions
diff --git a/print/pdflib/Makefile b/print/pdflib/Makefile index 8813d586cf8..d2a009ac08d 100644 --- a/print/pdflib/Makefile +++ b/print/pdflib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 1999/02/28 15:17:54 hwr Exp $ +# $NetBSD: Makefile,v 1.2 1999/03/01 20:33:01 hwr Exp $ # DISTNAME= pdflib-0.6 @@ -8,7 +8,7 @@ MASTER_SITES= http://www.ifconnection.de/~tm/software/pdflib/ MAINTAINER= packages@netbsd.org HOMEPAGE= http://www.ifconnection.de/~tm/software/pdflib/ -BUILD_DEPEND+= gmake:../../devel/ +#BUILD_DEPENDS+= gmake-3.77:../../devel/ USE_GMAKE= yes diff --git a/print/pdflib/patches/patch-ab b/print/pdflib/patches/patch-ab index 5c95718e3a3..ecf92eddade 100644 --- a/print/pdflib/patches/patch-ab +++ b/print/pdflib/patches/patch-ab @@ -1,4 +1,4 @@ -$NetBSD: patch-ab,v 1.1.1.1 1999/02/28 15:17:54 hwr Exp $ +$NetBSD: patch-ab,v 1.2 1999/03/01 20:33:01 hwr Exp $ --- pdf.h.orig Wed Jul 8 15:32:59 1998 +++ pdf.h Sun Feb 28 15:29:53 1999 @@ -7,7 +7,7 @@ $NetBSD: patch-ab,v 1.1.1.1 1999/02/28 15:17:54 hwr Exp $ /* default path to font and AFM directory */ #ifndef PDF_DEFAULT_FONT_PATH -#define PDF_DEFAULT_FONT_PATH "./fonts" -+#define PDF_DEFAULT_FONT_PATH "/usr/pkg/pdf-afm" ++#define PDF_DEFAULT_FONT_PATH "@PREFIX@/share/afm" #endif /* Data types and defines */ diff --git a/print/pdflib/pkg/PLIST b/print/pdflib/pkg/PLIST index 5c2ebdc096e..908f7b4174e 100644 --- a/print/pdflib/pkg/PLIST +++ b/print/pdflib/pkg/PLIST @@ -1,20 +1,20 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 1999/02/28 15:17:54 hwr Exp $ -pdf-afm/Courier-Bold.afm -pdf-afm/Courier-BoldOblique.afm -pdf-afm/Courier-Oblique.afm -pdf-afm/Courier.afm -pdf-afm/Helvetica-Bold.afm -pdf-afm/Helvetica-BoldOblique.afm -pdf-afm/Helvetica-Oblique.afm -pdf-afm/Helvetica.afm -pdf-afm/Symbol.afm -pdf-afm/Times-Bold.afm -pdf-afm/Times-BoldItalic.afm -pdf-afm/Times-Italic.afm -pdf-afm/Times-Roman.afm -pdf-afm/ZapfDingbats.afm -pdf-afm/afmlist -@dirrm pdf-afm +@comment $NetBSD: PLIST,v 1.2 1999/03/01 20:33:01 hwr Exp $ +share/afm/Courier-Bold.afm +share/afm/Courier-BoldOblique.afm +share/afm/Courier-Oblique.afm +share/afm/Courier.afm +share/afm/Helvetica-Bold.afm +share/afm/Helvetica-BoldOblique.afm +share/afm/Helvetica-Oblique.afm +share/afm/Helvetica.afm +share/afm/Symbol.afm +share/afm/Times-Bold.afm +share/afm/Times-BoldItalic.afm +share/afm/Times-Italic.afm +share/afm/Times-Roman.afm +share/afm/ZapfDingbats.afm +share/afm/afmlist +@dirrm share/afm lib/libpdf.a include/pdf.h include/p_port.h diff --git a/print/pdflib/scripts/post-patch b/print/pdflib/scripts/post-patch new file mode 100644 index 00000000000..5b5037312f6 --- /dev/null +++ b/print/pdflib/scripts/post-patch @@ -0,0 +1,9 @@ +#!/bin/sh +# $NetBSD: post-patch,v 1.1 1999/03/01 20:33:01 hwr Exp $ + +cd ${WRKSRC} +mv Makefile Makefile.orig +sed -e "s|@PREFIX@|${LOCALBASE}|" < Makefile.orig > Makefile +mv pdf.h pdf.h.orig +sed -e "s|@PREFIX@|${LOCALBASE}|" < pdf.h.orig > pdf.h + diff --git a/print/pdflib/scripts/pre-install b/print/pdflib/scripts/pre-install index 673c23aaf07..9d100879f7e 100644 --- a/print/pdflib/scripts/pre-install +++ b/print/pdflib/scripts/pre-install @@ -1,11 +1,11 @@ #!/bin/sh -# $NetBSD: pre-install,v 1.2 1999/02/28 15:39:09 hwr Exp $ +# $NetBSD: pre-install,v 1.3 1999/03/01 20:33:01 hwr Exp $ cd ${WRKSRC} -cp p_port.h ${PREFIX}/include -cp pdf.h ${PREFIX}/include -cp libpdf.a ${PREFIX}/lib -mkdir ${PREFIX}/pdf-afm -cp fonts/*.afm ${PREFIX}/pdf-afm/ -cp fonts/afmlist ${PREFIX}/pdf-afm/ -cp text2pdf ${PREFIX}/bin +cp p_port.h ${LOCALBASE}/include +cp pdf.h ${LOCALBASE}/include +cp libpdf.a ${LOCALBASE}/lib +mkdir ${LOCALBASE}/share/afm +cp fonts/*.afm ${LOCALBASE}/share/afm/ +cp fonts/afmlist ${LOCALBASE}/share/afm/ +cp text2pdf ${LOCALBASE}/bin |