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 | 0c6a3253fe7d652e4d744555cc7352fffd4d103a (patch) | |
tree | 85dcef76c01a75047f6f6e519e34539fa17ae348 /games/stratagus | |
parent | 4e56d99acab2b215405ccc900e56d697c30ae727 (diff) | |
download | pkgsrc-0c6a3253fe7d652e4d744555cc7352fffd4d103a.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'games/stratagus')
-rw-r--r-- | games/stratagus/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/games/stratagus/Makefile b/games/stratagus/Makefile index 271fcc2ef57..62608642229 100644 --- a/games/stratagus/Makefile +++ b/games/stratagus/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2007/01/12 20:33:03 wiz Exp $ +# $NetBSD: Makefile,v 1.17 2008/03/04 06:59:06 jlam Exp $ # DISTNAME= stratagus-2.1-src @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://stratagus.sourceforge.net/ COMMENT= Real-time strategy engine +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/stratagus-040702 USE_TOOLS+= gmake USE_PKGLOCALEDIR= yes @@ -22,12 +24,12 @@ CONFIGURE_ARGS+= --with-flac --with-mad INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/stratagus ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/stratagus - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/stratagus/graphics - ${INSTALL_DATA} ${WRKSRC}/doc/*.* ${PREFIX}/share/doc/stratagus + ${INSTALL_PROGRAM} ${WRKSRC}/stratagus ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/stratagus + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/stratagus/graphics + ${INSTALL_DATA} ${WRKSRC}/doc/*.* ${DESTDIR}${PREFIX}/share/doc/stratagus ${INSTALL_DATA} ${WRKSRC}/doc/graphics/* \ - ${PREFIX}/share/doc/stratagus/graphics + ${DESTDIR}${PREFIX}/share/doc/stratagus/graphics .include "../../archivers/bzip2/buildlink3.mk" .include "../../audio/flac/buildlink3.mk" |