summaryrefslogtreecommitdiff
path: root/games/asc
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-20 01:09:05 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-20 01:09:05 +0000
commit3b0d97b0de8516db29699676c860489da3f7f0e1 (patch)
treebb388f6b2532587595653e67cce25229ed050cb8 /games/asc
parent10abca39942a8f34d088f39ccc073fee44271274 (diff)
downloadpkgsrc-3b0d97b0de8516db29699676c860489da3f7f0e1.tar.gz
Add DESTDIR support.
Diffstat (limited to 'games/asc')
-rw-r--r--games/asc/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/games/asc/Makefile b/games/asc/Makefile
index 2a6f3a00fb9..c4d34641879 100644
--- a/games/asc/Makefile
+++ b/games/asc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2007/09/25 10:07:06 hira Exp $
+# $NetBSD: Makefile,v 1.40 2008/06/20 01:09:19 joerg Exp $
DISTNAME= asc-source-1.16.4.0
PKGNAME= ${DISTNAME:S/-source//}
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.asc-hq.org/
COMMENT= Turn based strategy game
+PKG_DESTDIR_SUPPORT= user-destdir
+
DIST_SUBDIR= asc
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} frontiers.mp3 \
machine_wars.mp3 time_to_strike.mp3
@@ -34,7 +36,7 @@ post-extract:
# bug in 1.16.4.0, remove on update
post-install:
- ${INSTALL_DATA} ${WRKSRC}/data/asc.gfx ${PREFIX}/share/games/asc
+ ${INSTALL_DATA} ${WRKSRC}/data/asc.gfx ${DESTDIR}${PREFIX}/share/games/asc
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../audio/SDL_mixer/buildlink3.mk"