diff options
author | jlam <jlam> | 2008-03-04 06:59:03 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-04 06:59:03 +0000 |
commit | a5ad2f881e519990668be04e718e20f1b24c9005 (patch) | |
tree | 85dcef76c01a75047f6f6e519e34539fa17ae348 /games/eus-demo | |
parent | 5797bfbd52d9b106c2e38ccceb177a47bad034f3 (diff) | |
download | pkgsrc-a5ad2f881e519990668be04e718e20f1b24c9005.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" |