diff options
Diffstat (limited to 'games/nagi/Makefile')
-rw-r--r-- | games/nagi/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/games/nagi/Makefile b/games/nagi/Makefile index 5fe8de5afec..4dafe178ad5 100644 --- a/games/nagi/Makefile +++ b/games/nagi/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2006/09/09 02:42:00 obache Exp $ +# $NetBSD: Makefile,v 1.14 2008/03/04 06:59:05 jlam Exp $ # DISTNAME= nagi_src_-_2002-11-14 @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.agidev.com/projects/nagi/ COMMENT= Clone of Sierra's AGI +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/src USE_TOOLS+= gmake MAKE_FILE= Makefile.linux @@ -23,10 +25,10 @@ post-build: ${SED} "s|@PREFIX@|${PREFIX}|" <${FILESDIR}/nagi.sh >${WRKDIR}/nagi.sh do-install: - ${INSTALL_DATA_DIR} ${NAGILIB} - ${INSTALL_PROGRAM} ${WRKDIR}/bin/nagi ${NAGILIB} - ${INSTALL_DATA} ${WRKDIR}/bin/*.nbf ${WRKDIR}/bin/*.ini ${NAGILIB} - ${INSTALL_SCRIPT} ${WRKDIR}/nagi.sh ${PREFIX}/bin/nagi + ${INSTALL_DATA_DIR} ${DESTDIR}${NAGILIB} + ${INSTALL_PROGRAM} ${WRKDIR}/bin/nagi ${DESTDIR}${NAGILIB} + ${INSTALL_DATA} ${WRKDIR}/bin/*.nbf ${WRKDIR}/bin/*.ini ${DESTDIR}${NAGILIB} + ${INSTALL_SCRIPT} ${WRKDIR}/nagi.sh ${DESTDIR}${PREFIX}/bin/nagi .include "../../devel/SDL/buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" |