summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-08-16 22:48:59 +0000
committerjoerg <joerg@pkgsrc.org>2007-08-16 22:48:59 +0000
commitb2c0408ded5b0de4eecfcfe32d3aed30a0e3350a (patch)
treec0ce20f892eb67b368b83dbb9d1ab2d58ef2b97a
parentad9f79d32161137285c3166c31f8057aac651a24 (diff)
downloadpkgsrc-b2c0408ded5b0de4eecfcfe32d3aed30a0e3350a.tar.gz
Add DESTDIR support.
-rw-r--r--games/freeciv-sounds/Makefile8
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"