summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjoerg <joerg>2009-02-16 18:39:36 +0000
committerjoerg <joerg>2009-02-16 18:39:36 +0000
commit0b9b56e3e5a46dcd1ba01be0c9db8260f9b10623 (patch)
tree5617a2e73006195cd0e3e52ed8dea35f362e88c8 /net
parentc9eb435ee14e3702198f310e6e845232862d1eb8 (diff)
downloadpkgsrc-0b9b56e3e5a46dcd1ba01be0c9db8260f9b10623.tar.gz
DESTDIR support.
Diffstat (limited to 'net')
-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"