summaryrefslogtreecommitdiff
path: root/print/xpdf-chinese-traditional
diff options
context:
space:
mode:
authorjlam <jlam>2003-08-30 22:51:11 +0000
committerjlam <jlam>2003-08-30 22:51:11 +0000
commitc10f61bf50101ee934226b41e6431b1b9b1f927d (patch)
tree407d1b0e35c4d11b94b087f1a9728177bdf14f06 /print/xpdf-chinese-traditional
parentf1549a4676f1f2db4d3e344fe94cd98454884d73 (diff)
downloadpkgsrc-c10f61bf50101ee934226b41e6431b1b9b1f927d.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