summaryrefslogtreecommitdiff
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
commitea89e11a9ecec6ef14c9b25689a0592a1efc2bd9 (patch)
tree5617a2e73006195cd0e3e52ed8dea35f362e88c8
parentf557ddc91e41118202c48d570448656d9dbe0c32 (diff)
downloadpkgsrc-ea89e11a9ecec6ef14c9b25689a0592a1efc2bd9.tar.gz
DESTDIR support.
-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"