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