pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/ipcalc DESTDIR support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bfa6f7dc333a
branches:  trunk
changeset: 554599:bfa6f7dc333a
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Feb 16 18:39:36 2009 +0000

description:
DESTDIR support.

diffstat:

 net/ipcalc/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r fecbef6e207a -r bfa6f7dc333a net/ipcalc/Makefile
--- a/net/ipcalc/Makefile       Mon Feb 16 18:39:00 2009 +0000
+++ b/net/ipcalc/Makefile       Mon Feb 16 18:39:36 2009 +0000
@@ -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 @@
 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 @@
 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"



Home | Main Index | Thread Index | Old Index