summaryrefslogtreecommitdiff
path: root/games/xblast/Makefile
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2011-05-24 12:38:43 +0000
committerobache <obache@pkgsrc.org>2011-05-24 12:38:43 +0000
commit543ce90e15cf23f0fe74dcfcba0baf3077d2f60d (patch)
treef9ba38eeed5ea692c485cacbbc0ebfee179d9a48 /games/xblast/Makefile
parent2d60217136f0e7df9ae67243858c90aa4ab1ab11 (diff)
downloadpkgsrc-543ce90e15cf23f0fe74dcfcba0baf3077d2f60d.tar.gz
* LICENCE=gnu-gpl-v2 # or later
* add user-destdir installation support
Diffstat (limited to 'games/xblast/Makefile')
-rw-r--r--games/xblast/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/games/xblast/Makefile b/games/xblast/Makefile
index 4306bd77916..35b507d7dee 100644
--- a/games/xblast/Makefile
+++ b/games/xblast/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2008/06/06 07:45:56 dsainty Exp $
+# $NetBSD: Makefile,v 1.29 2011/05/24 12:38:43 obache Exp $
#
DISTNAME= xblast-2.10.4
@@ -14,6 +14,9 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
MAINTAINER= dsainty@NetBSD.org
HOMEPAGE= http://xblast.sourceforge.net/
COMMENT= 2-6 player kill the other guy with bombs game. A real blast!
+LICENSE= gnu-gpl-v2 # or later
+
+PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-sound
@@ -52,7 +55,7 @@ pre-build:
${MV} ${WRKDIR}/musics-2005-01-06/* ${WRKSRC}/sounds
post-install:
- ${INSTALL_MAN} ${WRKSRC}/xblast.man ${PREFIX}/${PKGMANDIR}/man6/xblast.6
+ ${INSTALL_MAN} ${WRKSRC}/xblast.man ${DESTDIR}${PREFIX}/${PKGMANDIR}/man6/xblast.6
BUILDLINK_DEPMETHOD.libXt?= build