diff options
author | joerg <joerg@pkgsrc.org> | 2009-07-07 22:08:13 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-07-07 22:08:13 +0000 |
commit | 91a0cbe4bd68722fef88c4af0e008980edd89190 (patch) | |
tree | 5f3aab15d9cf113389666fafdc4b74fa87f0382f /textproc/helpdeco | |
parent | 51589945f2b946063c532dce86146312e597af27 (diff) | |
download | pkgsrc-91a0cbe4bd68722fef88c4af0e008980edd89190.tar.gz |
user-destdir support
Diffstat (limited to 'textproc/helpdeco')
-rw-r--r-- | textproc/helpdeco/Makefile | 6 |
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" |