summaryrefslogtreecommitdiff
path: root/print/xpdf-latin2
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2003-08-30 22:51:11 +0000
committerjlam <jlam@pkgsrc.org>2003-08-30 22:51:11 +0000
commitb2677a2cb0d685822071dbac41558e75e1bc7c6a (patch)
tree407d1b0e35c4d11b94b087f1a9728177bdf14f06 /print/xpdf-latin2
parent8c1fa03cc0486b138e9285e732346648e11cbdc2 (diff)
downloadpkgsrc-b2677a2cb0d685822071dbac41558e75e1bc7c6a.tar.gz
Add definitions for DEINSTALL_EXTRA_TMPL and INSTALL_EXTRA_TMPL if
USE_PKGINSTALL is "YES". bsd.pkg.install.mk will no longer automatically pick up a INSTALL/DEINSTALL script in the package directory and assume that you want it for the corresponding *_EXTRA_TMPL variable.
Diffstat (limited to 'print/xpdf-latin2')
-rw-r--r--print/xpdf-latin2/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/print/xpdf-latin2/Makefile b/print/xpdf-latin2/Makefile
index cd8bc4979f2..0679dd81795 100644
--- a/print/xpdf-latin2/Makefile
+++ b/print/xpdf-latin2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2003/07/21 17:16:32 martti Exp $
+# $NetBSD: Makefile,v 1.11 2003/08/30 22:51:33 jlam Exp $
#
DISTNAME= xpdf-latin2
@@ -20,6 +20,8 @@ DIST_SUBDIR= ${PKGNAME_NOREV}
NO_CONFIGURE= yes
NO_BUILD= yes
+DEINSTALL_EXTRA_TMPL+= ${.CURDIR}/DEINSTALL
+
post-patch:
${MV} ${WRKSRC}/add-to-xpdfrc ${WRKSRC}/add-to-xpdfrc.orig
${SED} -e 's:/usr/local:'${PREFIX}':g' < ${WRKSRC}/add-to-xpdfrc.orig > ${WRKSRC}/add-to-xpdfrc