summaryrefslogtreecommitdiff
path: root/print/xpdf-thai
diff options
context:
space:
mode:
authorjlam <jlam>2003-08-30 22:51:11 +0000
committerjlam <jlam>2003-08-30 22:51:11 +0000
commiteeabd1714150e6f6a3857d4b3175ae5d43f291c9 (patch)
tree407d1b0e35c4d11b94b087f1a9728177bdf14f06 /print/xpdf-thai
parent918b1dda6bece6487f217bc3f176f6b1c80fe735 (diff)
downloadpkgsrc-eeabd1714150e6f6a3857d4b3175ae5d43f291c9.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-thai')
-rw-r--r--print/xpdf-thai/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/print/xpdf-thai/Makefile b/print/xpdf-thai/Makefile
index f4e98d53281..abdde8a15d5 100644
--- a/print/xpdf-thai/Makefile
+++ b/print/xpdf-thai/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2003/07/21 17:16:33 martti Exp $
+# $NetBSD: Makefile,v 1.10 2003/08/30 22:51:33 jlam Exp $
#
DISTNAME= xpdf-thai
@@ -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' < ${WRKSRC}/add-to-xpdfrc.orig > ${WRKSRC}/add-to-xpdfrc