summaryrefslogtreecommitdiff
path: root/textproc/helpdeco/Makefile
diff options
context:
space:
mode:
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"