summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorjoerg <joerg>2006-11-06 10:47:18 +0000
committerjoerg <joerg>2006-11-06 10:47:18 +0000
commitda19bc01dec0970d9e302e49619e0959cf2b3d6c (patch)
tree5359543e3e7113e25efc3401b92643649a94542b /print
parent64a1c187716b6bdb483fa06e729e5f73f942c4e6 (diff)
downloadpkgsrc-da19bc01dec0970d9e302e49619e0959cf2b3d6c.tar.gz
Switch to modular buildlinks and prefer OWN_DIRS over PLIST
exec/unexec.
Diffstat (limited to 'print')
-rw-r--r--print/xpdf/Makefile8
-rw-r--r--print/xpdf/PLIST4
2 files changed, 4 insertions, 8 deletions
diff --git a/print/xpdf/Makefile b/print/xpdf/Makefile
index cc25ce53dcb..be01c54a301 100644
--- a/print/xpdf/Makefile
+++ b/print/xpdf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.58 2006/10/09 12:52:36 joerg Exp $
+# $NetBSD: Makefile,v 1.59 2006/11/06 10:47:18 joerg Exp $
DISTNAME= xpdf-3.01
PKGNAME= ${DISTNAME}pl2
@@ -47,15 +47,13 @@ SUBST_SED.paths+= -e 's,@PREFIX@,${PREFIX},g'
SUBST_SED.paths+= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g'
SUBST_STAGE.paths= post-patch
-# Used by supplemental packages.
-post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/xpdf
+OWN_DIRS= share/xpdf
BUILDLINK_API_DEPENDS.freetype2+= freetype2>=2.2.1
.include "../../fonts/t1lib/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
-.include "../../graphics/xpm/buildlink3.mk"
+.include "../../x11/libXpm/buildlink3.mk"
.include "../../mk/motif.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/print/xpdf/PLIST b/print/xpdf/PLIST
index 2be7be903da..c4420e3fc9e 100644
--- a/print/xpdf/PLIST
+++ b/print/xpdf/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2004/03/03 10:50:09 adam Exp $
+@comment $NetBSD: PLIST,v 1.8 2006/11/06 10:47:18 joerg Exp $
bin/pdffonts
bin/pdfimages
bin/pdfinfo
@@ -15,6 +15,4 @@ man/man1/pdftotext.1
man/man1/xpdf.1
man/man5/xpdfrc.5
share/examples/xpdf/xpdfrc
-@exec ${MKDIR} %D/share/xpdf
-@dirrm share/xpdf
@dirrm share/examples/xpdf