pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/ipw +PKG_DESTDIR_SUPPORT



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1e394e4bbf12
branches:  trunk
changeset: 393360:1e394e4bbf12
user:      abs <abs%pkgsrc.org@localhost>
date:      Tue May 19 22:21:48 2009 +0000

description:
+PKG_DESTDIR_SUPPORT

diffstat:

 net/ipw/Makefile |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r e111f6577373 -r 1e394e4bbf12 net/ipw/Makefile
--- a/net/ipw/Makefile  Tue May 19 22:21:18 2009 +0000
+++ b/net/ipw/Makefile  Tue May 19 22:21:48 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2007/02/22 19:26:53 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2009/05/19 22:21:48 abs Exp $
 #
 
 DISTNAME=      ipw-3.3a
@@ -13,12 +13,14 @@
 WRKSRC=                ${WRKDIR}
 
 INSTALLATION_DIRS=     bin share/doc
+PKG_DESTDIR_SUPPORT=   user-destdir
 
 LIBS.SunOS+=   -lnsl -lsocket
 MAKE_ENV+=     LIBS=${LIBS:M*:Q}
 
 do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/ipw ${PREFIX}/bin
-       ${INSTALL_DATA} ${FILESDIR}/README ${PREFIX}/share/doc/ipw.README
+       ${INSTALL_PROGRAM} ${WRKSRC}/ipw ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_DATA} ${FILESDIR}/README \
+                       ${DESTDIR}${PREFIX}/share/doc/ipw.README
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index