summaryrefslogtreecommitdiff
path: root/textproc/helpdeco/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg>2009-07-07 22:08:13 +0000
committerjoerg <joerg>2009-07-07 22:08:13 +0000
commitbcff726d97f713b50e8c4fe01858447ab4f1a668 (patch)
tree5f3aab15d9cf113389666fafdc4b74fa87f0382f /textproc/helpdeco/Makefile
parentfaa3a98638b6ddbc467d13f41cc0bdf30daff886 (diff)
downloadpkgsrc-bcff726d97f713b50e8c4fe01858447ab4f1a668.tar.gz
user-destdir support
Diffstat (limited to 'textproc/helpdeco/Makefile')
-rw-r--r--textproc/helpdeco/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/textproc/helpdeco/Makefile b/textproc/helpdeco/Makefile
index 684ded5e225..c165a8fb71d 100644
--- a/textproc/helpdeco/Makefile
+++ b/textproc/helpdeco/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2006/12/15 14:34:21 wiz Exp $
+# $NetBSD: Makefile,v 1.23 2009/07/07 22:08:13 joerg Exp $
#
DISTNAME= helpdeco-2.1.3
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://sourceforge.net/projects/helpdeco/
COMMENT= Windows .hlp to .rtf converter
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD" || ${OPSYS} == "Darwin" || ${OPSYS} == "Interix"
@@ -24,6 +26,6 @@ SUBST_CLASSES+= prefix
SUBST_MESSAGE.prefix= Configuring to use PREFIX.
SUBST_STAGE.prefix= post-patch
SUBST_FILES.prefix= Makefile
-SUBST_SED.prefix= -e "s,/usr/local,${PREFIX},g"
+SUBST_SED.prefix= -e "s,/usr/local,${DESTDIR}${PREFIX},g"
.include "../../mk/bsd.pkg.mk"