diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 06:59:03 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 06:59:03 +0000 |
commit | 29d85ddd6a393a4bfaf03a504f8916a55cec3687 (patch) | |
tree | 85dcef76c01a75047f6f6e519e34539fa17ae348 /games/eus-demo | |
parent | 38dd76219d21c71b412129d8960dd0c0b88a92b8 (diff) | |
download | pkgsrc-29d85ddd6a393a4bfaf03a504f8916a55cec3687.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'games/eus-demo')
-rw-r--r-- | games/eus-demo/Makefile | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/games/eus-demo/Makefile b/games/eus-demo/Makefile index 70f21445cd0..8d07014fb10 100644 --- a/games/eus-demo/Makefile +++ b/games/eus-demo/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2007/07/29 05:19:25 jlam Exp $ +# $NetBSD: Makefile,v 1.16 2008/03/04 06:59:04 jlam Exp $ DISTNAME= eus-demo PKGNAME= eus-demo-1.0 @@ -16,6 +16,8 @@ COMMENT= Eric's Ultimate Solitaire (linux demo) EMUL_PLATFORMS= linux-i386 EMUL_MODULES.linux= x11 +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/${WRKNAME} BUILD_DIRS= # empty @@ -43,11 +45,13 @@ do-build: # The executable must be in the same directory as the data. do-install: - ${INSTALL_DATA_DIR} ${LIBDIR} - ${INSTALL_DATA_DIR} ${SHAREDIR} - ${INSTALL_SCRIPT} ${WRKDIR}/${BINNAME}.sh ${PREFIX}/bin/${BINNAME} - ${INSTALL_PROGRAM} ${WRKSRC}/bin/${BINTYPE}/${DISTBINNAME} ${LIBDIR}/${BINNAME} - ${INSTALL_DATA} ${WRKSRC}/README ${SHAREDIR}/${BINNAME}-README - cd ${WRKSRC} && ${PAX} -rw [Eai-p]* sounds ${LIBDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${LIBDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${SHAREDIR} + ${INSTALL_SCRIPT} ${WRKDIR}/${BINNAME}.sh \ + ${DESTDIR}${PREFIX}/bin/${BINNAME} + ${INSTALL_PROGRAM} ${WRKSRC}/bin/${BINTYPE}/${DISTBINNAME} \ + ${DESTDIR}${LIBDIR}/${BINNAME} + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${SHAREDIR}/${BINNAME}-README + cd ${WRKSRC} && ${PAX} -rw [Eai-p]* sounds ${DESTDIR}${LIBDIR} .include "../../mk/bsd.pkg.mk" |