summaryrefslogtreecommitdiff
path: root/www/htmlfix
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2009-02-13 22:24:14 +0000
committerabs <abs@pkgsrc.org>2009-02-13 22:24:14 +0000
commit5bb7195d610a37abe8f0e2c203fb78d7ed60d900 (patch)
tree8fe5ecf5039076c0dc86804084e3bee48ea13a85 /www/htmlfix
parentae4aa699bf1fce313aee91697f698b1254b76f47 (diff)
downloadpkgsrc-5bb7195d610a37abe8f0e2c203fb78d7ed60d900.tar.gz
Add PKG_DESTDIR_SUPPORT
Diffstat (limited to 'www/htmlfix')
-rw-r--r--www/htmlfix/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/www/htmlfix/Makefile b/www/htmlfix/Makefile
index 3552dc4ee2a..df00f39034f 100644
--- a/www/htmlfix/Makefile
+++ b/www/htmlfix/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2008/01/31 18:59:37 rillig Exp $
+# $NetBSD: Makefile,v 1.10 2009/02/13 22:31:43 abs Exp $
#
DISTNAME= htmlfix-1.03
@@ -15,8 +15,11 @@ USE_TOOLS+= perl:run
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
REPLACE_PERL= htmlfix.pl
+PKG_DESTDIR_SUPPORT= user-destdir
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/htmlfix.pl ${PREFIX}/bin/htmlfix
- ${INSTALL_MAN} ${WRKSRC}/htmlfix.1 ${PREFIX}/${PKGMANDIR}/man1/htmlfix.1
+ ${INSTALL_SCRIPT} ${WRKSRC}/htmlfix.pl ${DESTDIR}${PREFIX}/bin/htmlfix
+ ${INSTALL_MAN} ${WRKSRC}/htmlfix.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/htmlfix.1
.include "../../mk/bsd.pkg.mk"