summaryrefslogtreecommitdiff
path: root/games/orbital_eunuchs_sniper
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2009-02-15 21:57:51 +0000
committerwiz <wiz@pkgsrc.org>2009-02-15 21:57:51 +0000
commit5e40e7b8484a3d368e13e07f1cb53650b0440f5e (patch)
tree0464cc4c2a5cd1ba7faf0c3ed8026eb7d55c3576 /games/orbital_eunuchs_sniper
parent631330363b9a8104bc2c382e16d3d23e2a97bcd7 (diff)
downloadpkgsrc-5e40e7b8484a3d368e13e07f1cb53650b0440f5e.tar.gz
Convert to user-destdir.
Diffstat (limited to 'games/orbital_eunuchs_sniper')
-rw-r--r--games/orbital_eunuchs_sniper/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/games/orbital_eunuchs_sniper/Makefile b/games/orbital_eunuchs_sniper/Makefile
index 074cc3f0924..148a9e85502 100644
--- a/games/orbital_eunuchs_sniper/Makefile
+++ b/games/orbital_eunuchs_sniper/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2008/08/12 16:08:19 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2009/02/15 21:57:51 wiz Exp $
#
DISTNAME= orbital_eunuchs_sniper-1.30
@@ -12,6 +12,9 @@ COMMENT= Overhead shooting game
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-games-dir=${PREFIX}/libexec
+INSTALLATION_DIRS= share/doc/orbital_eunuchs_sniper
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_LANGUAGES= c c++
REPLACE_INTERPRETER+= bash
REPLACE.bash.old= .*/bin/bash
@@ -25,11 +28,10 @@ PLIST_SUBST+= CPU=${MACHINE_ARCH}
.endif
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/orbital_eunuchs_sniper
${INSTALL_DATA} ${WRKSRC}/README \
- ${PREFIX}/share/doc/orbital_eunuchs_sniper
+ ${DESTDIR}${PREFIX}/share/doc/orbital_eunuchs_sniper
${INSTALL_DATA} ${WRKSRC}/readme.txt \
- ${PREFIX}/share/doc/orbital_eunuchs_sniper
+ ${DESTDIR}${PREFIX}/share/doc/orbital_eunuchs_sniper
.include "../../audio/SDL_mixer/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"