Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Sep 2001 03:16:34 -0700 (PDT)
From:      YAMAKURA Makoto <makoto@pinpott.spnet.ne.jp>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/30303: MAINTAINER Update: games/zangband
Message-ID:  <200109041016.f84AGY541083@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         30303
>Category:       ports
>Synopsis:       MAINTAINER Update: games/zangband
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 04 03:20:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     YAMAKURA Makoto
>Release:        FreeBSD 5.0-CURRENT
>Organization:
>Environment:
>Description:
Update for the latest stable version of zangband.

Added files:
files/patch-af
files/patch-ag

>How-To-Repeat:

>Fix:
diff -ruN /usr/ports/games/zangband/Makefile zangband/Makefile
--- /usr/ports/games/zangband/Makefile	Sat Aug 25 17:01:42 2001
+++ zangband/Makefile	Tue Sep  4 19:12:21 2001
@@ -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 @@
 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 @@
 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}
diff -ruN /usr/ports/games/zangband/distinfo zangband/distinfo
--- /usr/ports/games/zangband/distinfo	Sat Aug 25 17:01:42 2001
+++ zangband/distinfo	Tue Sep  4 14:16:05 2001
@@ -1 +1 @@
-MD5 (zangband/zangband-2.6.1.tar.gz) = 18a093b379fecfa8db8c44072d45292e
+MD5 (zangband/zangband-2.6.2.tar.gz) = 7fe3efe2c4d8099179e5dc5403635448
diff -ruN /usr/ports/games/zangband/files/patch-aa zangband/files/patch-aa
--- /usr/ports/games/zangband/files/patch-aa	Sat Aug 25 17:01:42 2001
+++ zangband/files/patch-aa	Tue Sep  4 18:42:34 2001
@@ -1,11 +1,20 @@
---- configure.0	Fri Aug 17 04:57:54 2001
-+++ configure	Fri Aug 17 04:58:02 2001
-@@ -814,7 +814,7 @@
+--- configure.in.orig	Tue Sep  4 14:57:18 2001
++++ configure.in	Tue Sep  4 14:57:35 2001
+@@ -7,7 +7,7 @@
+ dnl write the resulting #defines into a header file
+ AM_CONFIG_HEADER(src/autoconf.h)
  
+-AM_INIT_AUTOMAKE(zangband, 2.6.1)
++AM_INIT_AUTOMAKE(zangband, 2.6.2)
+ 
+ AC_ARG_WITH(setgid,
+ [  --with-setgid=NAME      setgid usage: install angband as group NAME],
+@@ -23,7 +23,7 @@
+ 
+ dnl generate the installation path for the ./lib/ folder
  if test "$GAMEGROUP" != ""; then
-   
--  game_datadir="$datadir/games/$PACKAGE/lib/"
-+  game_datadir="$datadir/$PACKAGE/"
-   game_datadir=`(
-        test "x$prefix" = xNONE && prefix="$ac_default_prefix"
-        test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
+-  MY_EXPAND_DIR(game_datadir, "$datadir/games/$PACKAGE/lib/")
++  MY_EXPAND_DIR(game_datadir, "$datadir/$PACKAGE/")
+ else
+   MY_EXPAND_DIR(game_datadir, "./lib/")
+   bindir=".."
diff -ruN /usr/ports/games/zangband/files/patch-ab zangband/files/patch-ab
--- /usr/ports/games/zangband/files/patch-ab	Sat Aug 25 17:01:42 2001
+++ zangband/files/patch-ab	Tue Sep  4 15:14:14 2001
@@ -1,11 +1,11 @@
---- lib/apex/Makefile.in.0	Fri Aug 17 05:10:34 2001
-+++ lib/apex/Makefile.in	Fri Aug 17 05:10:52 2001
-@@ -200,7 +200,7 @@
- 
+--- lib/apex/Makefile.am.0	Tue Sep  4 15:12:16 2001
++++ lib/apex/Makefile.am	Tue Sep  4 15:12:48 2001
+@@ -16,7 +16,7 @@
  install-data-hook:
- @SET_GID_TRUE@	touch "$(DESTDIR)$(angbanddir)/scores.raw"
--@SET_GID_TRUE@	chown -R root.@GAMEGROUP@ "$(DESTDIR)$(angbanddir)"
-+@SET_GID_TRUE@	chown -R root:@GAMEGROUP@ "$(DESTDIR)$(angbanddir)"
- @SET_GID_TRUE@	chmod -R g+w "$(DESTDIR)$(angbanddir)"
+ if SET_GID
+ 	touch "$(DESTDIR)$(angbanddir)/scores.raw"
+-	chown -R root.@GAMEGROUP@ "$(DESTDIR)$(angbanddir)"
++	chown -R root:@GAMEGROUP@ "$(DESTDIR)$(angbanddir)"
+ 	chmod -R g+w "$(DESTDIR)$(angbanddir)"
+ endif
  
- # Tell versions [3.59,3.63) of GNU make to not export all variables.
diff -ruN /usr/ports/games/zangband/files/patch-ac zangband/files/patch-ac
--- /usr/ports/games/zangband/files/patch-ac	Fri Aug 24 22:06:50 2001
+++ zangband/files/patch-ac	Tue Sep  4 15:14:22 2001
@@ -1,11 +1,11 @@
---- lib/bone/Makefile.in.0	Fri Aug 17 05:14:44 2001
-+++ lib/bone/Makefile.in	Fri Aug 17 05:15:40 2001
-@@ -199,7 +199,7 @@
- 
+--- lib/bone/Makefile.am.0	Tue Sep  4 15:12:21 2001
++++ lib/bone/Makefile.am	Tue Sep  4 15:13:06 2001
+@@ -15,7 +15,7 @@
  
  install-data-hook:
--@SET_GID_TRUE@	chown -R root.@GAMEGROUP@ "$(DESTDIR)$(angbanddir)"
-+@SET_GID_TRUE@	chown -R root:@GAMEGROUP@ "$(DESTDIR)$(angbanddir)"
- @SET_GID_TRUE@	chmod -R 070 "$(DESTDIR)$(angbanddir)"
+ if SET_GID
+-	chown -R root.@GAMEGROUP@ "$(DESTDIR)$(angbanddir)"
++	chown -R root:@GAMEGROUP@ "$(DESTDIR)$(angbanddir)"
+ 	chmod -R 070 "$(DESTDIR)$(angbanddir)"
+ endif
  
- # Tell versions [3.59,3.63) of GNU make to not export all variables.
diff -ruN /usr/ports/games/zangband/files/patch-ad zangband/files/patch-ad
--- /usr/ports/games/zangband/files/patch-ad	Fri Aug 24 22:06:50 2001
+++ zangband/files/patch-ad	Tue Sep  4 15:14:30 2001
@@ -1,11 +1,11 @@
---- lib/data/Makefile.in.0	Fri Aug 17 05:14:55 2001
-+++ lib/data/Makefile.in	Fri Aug 17 05:15:19 2001
-@@ -206,7 +206,7 @@
- @SET_GID_TRUE@	  touch "$(DESTDIR)$(angbanddir)/k_info.raw" && \
- @SET_GID_TRUE@	  touch "$(DESTDIR)$(angbanddir)/r_info.raw" && \
- @SET_GID_TRUE@	  touch "$(DESTDIR)$(angbanddir)/v_info.raw" && \
--@SET_GID_TRUE@	  chown -R root.@GAMEGROUP@ "$(DESTDIR)$(angbanddir)" && \
-+@SET_GID_TRUE@	  chown -R root:@GAMEGROUP@ "$(DESTDIR)$(angbanddir)" && \
- @SET_GID_TRUE@	  chmod -R g+w "$(DESTDIR)$(angbanddir)" ;\
- @SET_GID_TRUE@	fi
- 
+--- lib/data/Makefile.am.0	Tue Sep  4 15:12:34 2001
++++ lib/data/Makefile.am	Tue Sep  4 15:13:18 2001
+@@ -23,7 +23,7 @@
+ 	  touch "$(DESTDIR)$(angbanddir)/k_info.raw" && \
+ 	  touch "$(DESTDIR)$(angbanddir)/r_info.raw" && \
+ 	  touch "$(DESTDIR)$(angbanddir)/v_info.raw" && \
+-	  chown -R root.@GAMEGROUP@ "$(DESTDIR)$(angbanddir)" && \
++	  chown -R root:@GAMEGROUP@ "$(DESTDIR)$(angbanddir)" && \
+ 	  chmod -R g+w "$(DESTDIR)$(angbanddir)" ;\
+ 	fi
+ endif
diff -ruN /usr/ports/games/zangband/files/patch-ae zangband/files/patch-ae
--- /usr/ports/games/zangband/files/patch-ae	Fri Aug 24 22:06:50 2001
+++ zangband/files/patch-ae	Tue Sep  4 15:14:38 2001
@@ -1,11 +1,10 @@
---- lib/save/Makefile.in.0	Fri Aug 17 05:14:58 2001
-+++ lib/save/Makefile.in	Fri Aug 17 05:15:09 2001
-@@ -199,7 +199,7 @@
- 
+--- lib/save/Makefile.am.0	Tue Sep  4 15:12:25 2001
++++ lib/save/Makefile.am	Tue Sep  4 15:12:57 2001
+@@ -15,6 +15,6 @@
  
  install-data-hook:
--@SET_GID_TRUE@	chown -R root.@GAMEGROUP@ "$(DESTDIR)$(angbanddir)"
-+@SET_GID_TRUE@	chown -R root:@GAMEGROUP@ "$(DESTDIR)$(angbanddir)"
- @SET_GID_TRUE@	chmod -R 070 "$(DESTDIR)$(angbanddir)"
- 
- # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ if SET_GID
+-	chown -R root.@GAMEGROUP@ "$(DESTDIR)$(angbanddir)"
++	chown -R root:@GAMEGROUP@ "$(DESTDIR)$(angbanddir)"
+ 	chmod -R 070 "$(DESTDIR)$(angbanddir)"
+ endif
diff -ruN /usr/ports/games/zangband/files/patch-af zangband/files/patch-af
--- /usr/ports/games/zangband/files/patch-af	Thu Jan  1 09:00:00 1970
+++ zangband/files/patch-af	Tue Sep  4 18:27:07 2001
@@ -0,0 +1,8 @@
+--- lib/Makefile.am.0	Tue Sep  4 18:04:49 2001
++++ lib/Makefile.am	Tue Sep  4 18:04:58 2001
+@@ -1,4 +1,4 @@
+ ## Makefile.am -- Process this file with automake to process Makefile.in
+ 
+-SUBDIRS = apex bone data edit file help info pref save script user xtra
++SUBDIRS = apex bone data edit file help info pref save user
+ 
diff -ruN /usr/ports/games/zangband/files/patch-ag zangband/files/patch-ag
--- /usr/ports/games/zangband/files/patch-ag	Thu Jan  1 09:00:00 1970
+++ zangband/files/patch-ag	Tue Sep  4 18:22:02 2001
@@ -0,0 +1,8 @@
+--- configure.in.0	Tue Sep  4 18:21:09 2001
++++ configure.in	Tue Sep  4 18:21:32 2001
+@@ -97,4 +97,4 @@
+ AC_FUNC_VPRINTF
+ AC_CHECK_FUNCS(gethostname mkdir select strstr strtol usleep mkstemp)
+ 
+-AC_OUTPUT(Makefile src/makefile lib/Makefile lib/apex/Makefile lib/bone/Makefile lib/data/Makefile lib/edit/Makefile lib/file/Makefile lib/help/Makefile lib/info/Makefile lib/pref/Makefile lib/save/Makefile lib/script/Makefile lib/user/Makefile lib/xtra/Makefile)
++AC_OUTPUT(Makefile src/makefile lib/Makefile lib/apex/Makefile lib/bone/Makefile lib/data/Makefile lib/edit/Makefile lib/file/Makefile lib/help/Makefile lib/info/Makefile lib/pref/Makefile lib/save/Makefile lib/user/Makefile lib/xtra/Makefile)
diff -ruN /usr/ports/games/zangband/pkg-plist zangband/pkg-plist
--- /usr/ports/games/zangband/pkg-plist	Fri Aug 24 22:07:34 2001
+++ zangband/pkg-plist	Tue Sep  4 18:58:44 2001
@@ -125,14 +125,12 @@
 %%ANGBANDLIB%%/pref/xtra-new.prf
 %%ANGBANDLIB%%/pref/xtra-xxx.prf
 %%ANGBANDLIB%%/save/delete.me
-%%ANGBANDLIB%%/script/delete.me
 %%ANGBANDLIB%%/user/delete.me
-%%ANGBANDLIB%%/xtra/delete.me
 @exec mkdir %D/%%ANGBANDLIB%%/data
 @exec chown -R games:games %D/%%ANGBANDLIB%%/apex %D/%%ANGBANDLIB%%/data
 @exec chmod 775 %D/%%ANGBANDLIB%%
 @exec chmod -R ug+rw,o-rw %D/%%ANGBANDLIB%%/*
-@exec chmod -R o+r %D/%%ANGBANDLIB%%/help %D/%%ANGBANDLIB%%/xtra
+@exec chmod -R o+r %D/%%ANGBANDLIB%%/help
 @exec chmod 1777 %D/%%ANGBANDLIB%%/save %D/%%ANGBANDLIB%%/user
 @dirrm %%ANGBANDLIB%%/apex
 @dirrm %%ANGBANDLIB%%/bone
@@ -143,7 +141,5 @@
 @dirrm %%ANGBANDLIB%%/info
 @dirrm %%ANGBANDLIB%%/pref
 @dirrm %%ANGBANDLIB%%/save
-@dirrm %%ANGBANDLIB%%/script
 @dirrm %%ANGBANDLIB%%/user
-@dirrm %%ANGBANDLIB%%/xtra
 @dirrm %%ANGBANDLIB%%

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109041016.f84AGY541083>