summaryrefslogtreecommitdiff
path: root/print/xpdf-chinese-traditional
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-chinese-traditional
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-chinese-traditional')
-rw-r--r--print/xpdf-chinese-traditional/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/print/xpdf-chinese-traditional/Makefile b/print/xpdf-chinese-traditional/Makefile
index 4f6882cc2dd..869bc8f2e52 100644
--- a/print/xpdf-chinese-traditional/Makefile
+++ b/print/xpdf-chinese-traditional/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2003/07/21 17:16:30 martti Exp $
+# $NetBSD: Makefile,v 1.10 2003/08/30 22:51:31 jlam Exp $
#
DISTNAME= xpdf-chinese-traditional
@@ -19,6 +19,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' -e 's/Arhpic/Arphic/g' < ${WRKSRC}/add-to-xpdfrc.orig > ${WRKSRC}/add-to-xpdfrc