summaryrefslogtreecommitdiff
path: root/www/urlget
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-07-07 18:46:17 +0000
committerjoerg <joerg@pkgsrc.org>2009-07-07 18:46:17 +0000
commit4982eceadcef7c966f2e895e215a43438494817e (patch)
tree668864aaf20ddd0346bc09080bd6cf26252724c3 /www/urlget
parent5a6f5d6e8c04a8baa46f49eef34b383606835618 (diff)
downloadpkgsrc-4982eceadcef7c966f2e895e215a43438494817e.tar.gz
user-destdir support
Diffstat (limited to 'www/urlget')
-rw-r--r--www/urlget/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/www/urlget/Makefile b/www/urlget/Makefile
index fecdf713382..8908dbb0105 100644
--- a/www/urlget/Makefile
+++ b/www/urlget/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2005/04/11 21:48:02 tv Exp $
+# $NetBSD: Makefile,v 1.11 2009/07/07 18:46:17 joerg Exp $
#
DISTNAME= urlget-1.4
@@ -8,6 +8,7 @@ MASTER_SITES= ftp://ftp.gw.com/pub/people/kim/
MAINTAINER= kim@tac.nyc.ny.us
COMMENT= Simple command-line tool to retrieve an HTTP URL
+PKG_DESTDIR_SUPPORT= user-destdir
.include "../../mk/bsd.prefs.mk"
@@ -16,6 +17,9 @@ BUILD_TARGET= svr4
.else
BUILD_TARGET= bsd
.endif
-INSTALL_TARGET= inst-all DEST=${PREFIX}
+INSTALL_TARGET= inst-all
+INSTALL_MAKE_FLAGS+= DEST=${DESTDIR}${PREFIX}
+
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"