diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-03 17:45:33 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-03 17:45:33 +0000 |
commit | e655762fb793a09bcd629a5ee8889dfe5b1550a0 (patch) | |
tree | 620d08cc8bf79f9bacb7746632192670c7d6350d /devel/nsis | |
parent | 2d370b7fe4d16560d65355fc39f74d9ef5e1f0c9 (diff) | |
download | pkgsrc-e655762fb793a09bcd629a5ee8889dfe5b1550a0.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'devel/nsis')
-rw-r--r-- | devel/nsis/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/devel/nsis/Makefile b/devel/nsis/Makefile index b460cc297e0..f962fd857ca 100644 --- a/devel/nsis/Makefile +++ b/devel/nsis/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2007/01/02 14:22:40 rillig Exp $ +# $NetBSD: Makefile,v 1.10 2008/03/03 17:45:36 jlam Exp $ # DISTNAME= nsis-${NSIS_VER} @@ -15,6 +15,8 @@ COMMENT= Scriptable system to build Windows installers DEPENDS+= scons>=0.96.91:../../devel/scons-devel +PKG_DESTDIR_SUPPORT= user-destdir + NSIS_SRC= ${DISTNAME:=-src} NSIS_VER= 2.12 WRKSRC= ${WRKDIR}/${NSIS_SRC} @@ -44,8 +46,10 @@ do-build: do-install: ${INSTALL_PROGRAM} ${WRKSRC:Q}/build/release/makensis/makensis \ - ${MAKENSIS_BIN:Q} - ${INSTALL_SCRIPT} ${WRKSRC:Q}/makensis.sh ${PREFIX:Q}/bin/makensis - cd ${WRKDIR:Q}/${DISTNAME:Q} && ${PAX} -rw . ${PREFIX:Q}/share/nsis + ${DESTDIR}${MAKENSIS_BIN:Q} + ${INSTALL_SCRIPT} ${WRKSRC:Q}/makensis.sh \ + ${DESTDIR}${PREFIX:Q}/bin/makensis + cd ${WRKDIR:Q}/${DISTNAME:Q} && ${PAX} -rw . \ + ${DESTDIR}${PREFIX:Q}/share/nsis .include "../../mk/bsd.pkg.mk" |