diff options
author | joerg <joerg> | 2007-08-16 22:48:59 +0000 |
---|---|---|
committer | joerg <joerg> | 2007-08-16 22:48:59 +0000 |
commit | f680ef3e661f76e81ac0cbf4c8212f2ea24c07b7 (patch) | |
tree | c0ce20f892eb67b368b83dbb9d1ab2d58ef2b97a /games | |
parent | 18d082950c5f644be10c6a51f1bb32bebd1b2ba9 (diff) | |
download | pkgsrc-f680ef3e661f76e81ac0cbf4c8212f2ea24c07b7.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'games')
-rw-r--r-- | games/freeciv-sounds/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/games/freeciv-sounds/Makefile b/games/freeciv-sounds/Makefile index 8793116c933..d37b4ea84b7 100644 --- a/games/freeciv-sounds/Makefile +++ b/games/freeciv-sounds/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2006/03/04 21:29:41 jlam Exp $ +# $NetBSD: Makefile,v 1.9 2007/08/16 22:48:59 joerg Exp $ DISTNAME= stdsounds3 PKGNAME= freeciv-sounds-3.0 @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.freeciv.org/ COMMENT= Freeciv sound sets +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= freeciv-share-[0-9]*:../../games/freeciv-share WRKSRC= ${WRKDIR}/data @@ -18,7 +20,7 @@ NO_BUILD= yes INSTALLATION_DIRS= share/freeciv do-install: - ${INSTALL_DATA} ${WRKSRC}/stdsounds.soundspec ${PREFIX}/share/freeciv/ - cd ${WRKSRC} && ${PAX} -rw stdsounds ${PREFIX}/share/freeciv/ + ${INSTALL_DATA} ${WRKSRC}/stdsounds.soundspec ${DESTDIR}${PREFIX}/share/freeciv/ + cd ${WRKSRC} && ${PAX} -rw stdsounds ${DESTDIR}${PREFIX}/share/freeciv/ .include "../../mk/bsd.pkg.mk" |