summaryrefslogtreecommitdiff
path: root/www/webnew
diff options
context:
space:
mode:
authorjoerg <joerg>2008-06-20 01:09:05 +0000
committerjoerg <joerg>2008-06-20 01:09:05 +0000
commitd8368bbc25c90072a19b5e48f0fba26251b6877f (patch)
treebb388f6b2532587595653e67cce25229ed050cb8 /www/webnew
parentf1b924fda77b6920565e56f54c9391b4dc68f8ca (diff)
downloadpkgsrc-d8368bbc25c90072a19b5e48f0fba26251b6877f.tar.gz
Add DESTDIR support.
Diffstat (limited to 'www/webnew')
-rw-r--r--www/webnew/Makefile8
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"