diff options
author | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
commit | 3b0d97b0de8516db29699676c860489da3f7f0e1 (patch) | |
tree | bb388f6b2532587595653e67cce25229ed050cb8 /www/webnew/Makefile | |
parent | 10abca39942a8f34d088f39ccc073fee44271274 (diff) | |
download | pkgsrc-3b0d97b0de8516db29699676c860489da3f7f0e1.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'www/webnew/Makefile')
-rw-r--r-- | www/webnew/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/www/webnew/Makefile b/www/webnew/Makefile index c6b15632c06..0a9363a9196 100644 --- a/www/webnew/Makefile +++ b/www/webnew/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2007/01/07 09:14:16 rillig Exp $ +# $NetBSD: Makefile,v 1.10 2008/06/20 01:09:44 joerg Exp $ # DISTNAME= webnew-1.3 @@ -9,6 +9,8 @@ MAINTAINER= kim@tac.nyc.ny.us HOMEPAGE= http://kimmo.suominen.com/sw/webnew/ COMMENT= Retrieve modification times of web documents +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= perl:run NO_CONFIGURE= yes @@ -17,7 +19,7 @@ BUILD_TARGET= all DEST=${PREFIX} PERL=${PERL5} INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/webnew ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/webnew.1 ${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_SCRIPT} ${WRKSRC}/webnew ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/webnew.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .include "../../mk/bsd.pkg.mk" |