diff options
Diffstat (limited to 'games/eus-demo/Makefile')
-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" |