summaryrefslogtreecommitdiff
path: root/games/zangband/Makefile
diff options
context:
space:
mode:
authorDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2001-09-10 01:25:41 +0000
committerDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2001-09-10 01:25:41 +0000
commitcb07705667386a3132c156ea70ccf8664ac974aa (patch)
tree8049f9fde479bb80ce0ee17f901c5626f7494590 /games/zangband/Makefile
parentIt looks like the distfile on the MASTER_SITES were reverted to an older (diff)
Update to 2.6.2
PR: 30303 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=47594
Diffstat (limited to 'games/zangband/Makefile')
-rw-r--r--games/zangband/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/games/zangband/Makefile b/games/zangband/Makefile
index 7c1b6b95ffa9..3cfbbbf6c889 100644
--- a/games/zangband/Makefile
+++ b/games/zangband/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= zangband
-PORTVERSION= 2.6.1
+PORTVERSION= 2.6.2
CATEGORIES+= games
MASTER_SITES= ftp://clockwork.dementia.org/angband/Variant/ZAngband/ \
ftp://ftp.sunet.se/pub/games/Angband/Variant/ZAngband/
@@ -15,13 +15,14 @@ DIST_SUBDIR= ${PORTNAME}
MAINTAINER= makoto@pinpott.spnet.ne.jp
USE_XLIB= yes
-HAS_CONFIGURE= yes
+USE_GMAKE= yes
+USE_AUTOMAKE= yes
CONFIGURE_ARGS= --datadir=${PREFIX}/lib \
--with-setgid=${SHAREGRP}
NO_CDROM= Possible copyright infringement
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+WRKSRC= ${WRKDIR}/${PORTNAME}
PKGMESSAGE= ${WRKDIR}/MESSAGE
PLIST_SUB+= ANGBANDBIN=${ANGBANDBIN} ANGBANDLIB=${ANGBANDLIB}
@@ -34,12 +35,15 @@ BINMODE= 2755
ANGBANDLIB?= lib/${PORTNAME}
ANGBANDBIN?= bin/${PORTNAME}
+post-patch:
+ (cd ${WRKSRC} ; ${SH} bootstrap)
+
post-install:
(cd ${PREFIX}/${ANGBANDLIB} && \
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} apex data ; \
${CHMOD} 755 . ; \
${CHMOD} -R ug+rw,o-rw * ; \
- ${CHMOD} -R o+r help xtra ; \
+ ${CHMOD} -R o+r help ; \
${CHMOD} 1777 save user \
)
@${SED} -e "s|%%PREFIX%%|${PREFIX}|g;s|%%ANGBANDBIN%%|${ANGBANDBIN}|g;s|%%ANGBANDLIB%%|${ANGBANDLIB}|g" ${FILESDIR}/MESSAGE.in > ${PKGMESSAGE}