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/stratagus | |
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/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" |