summaryrefslogtreecommitdiff
path: root/net/ipcalc/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-02-16 18:39:36 +0000
committerjoerg <joerg@pkgsrc.org>2009-02-16 18:39:36 +0000
commite65ca4fdd76858ccfd6347a48b621aa54470c4d9 (patch)
tree5617a2e73006195cd0e3e52ed8dea35f362e88c8 /net/ipcalc/Makefile
parentfdd4e69894e69d4578ccf3f1a066eea827df7dad (diff)
downloadpkgsrc-e65ca4fdd76858ccfd6347a48b621aa54470c4d9.tar.gz
DESTDIR support.
Diffstat (limited to 'net/ipcalc/Makefile')
-rw-r--r--net/ipcalc/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/net/ipcalc/Makefile b/net/ipcalc/Makefile
index 4838d278c69..4190b883d08 100644
--- a/net/ipcalc/Makefile
+++ b/net/ipcalc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2007/07/24 17:23:34 jschauma Exp $
+# $NetBSD: Makefile,v 1.16 2009/02/16 18:39:36 joerg Exp $
DISTNAME= ipcalc-0.41
CATEGORIES= net
@@ -8,6 +8,8 @@ MAINTAINER= zuntum@NetBSD.org
HOMEPAGE= http://jodies.de/ipcalc
COMMENT= IP Calculator
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= perl:run
REPLACE_PERL= ipcalc
NO_BUILD= YES
@@ -15,6 +17,6 @@ NO_BUILD= YES
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/ipcalc ${PREFIX}/bin/ipcalc
+ ${INSTALL_SCRIPT} ${WRKSRC}/ipcalc ${DESTDIR}${PREFIX}/bin/ipcalc
.include "../../mk/bsd.pkg.mk"