summaryrefslogtreecommitdiffstats
path: root/games/xbl
diff options
context:
space:
mode:
authortdb <tdb@FreeBSD.org>2005-12-16 15:39:40 +0000
committertdb <tdb@FreeBSD.org>2005-12-16 15:39:40 +0000
commit481e08d89ae96cde7d7fa750280627e400525795 (patch)
tree267891a4044003ef87dc9dc03ea61ab32f6487d2 /games/xbl
parent2d3c4347dc694988fd1b40a3bba625eb78a33538 (diff)
downloadFreeBSD-ports-481e08d89ae96cde7d7fa750280627e400525795.zip
FreeBSD-ports-481e08d89ae96cde7d7fa750280627e400525795.tar.gz
- Update to 1.1.3
- Update MASTER_SITES - Fix install problem with manpages - Mark BROKEN on 4.x PR: 90461 Submitted by: Jean Milanez Melo <jmelo@freebsdbrasil.com.br> Approved by: clement (mentor, implicitly)
Diffstat (limited to 'games/xbl')
-rw-r--r--games/xbl/Makefile14
-rw-r--r--games/xbl/distinfo6
-rw-r--r--games/xbl/files/patch-aa40
3 files changed, 46 insertions, 14 deletions
diff --git a/games/xbl/Makefile b/games/xbl/Makefile
index 0385b8b..6f1a4e8 100644
--- a/games/xbl/Makefile
+++ b/games/xbl/Makefile
@@ -6,9 +6,9 @@
#
PORTNAME= xbl
-PORTVERSION= 1.1.2
+PORTVERSION= 1.1.3
CATEGORIES= games
-MASTER_SITES= ftp://ftp710.univ-lyon1.fr/pub/xbl/
+MASTER_SITES= http://www710.univ-lyon1.fr/~exco/XBL/
MAINTAINER= ports@FreeBSD.org
COMMENT= A 3D block-dropping game
@@ -17,6 +17,12 @@ BUILD_DEPENDS= imake:${X_IMAKE_PORT}
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
-MANN= xbl.n
+MAN1= xbl.1
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= "Does not compile on FreeBSD 4.x"
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/games/xbl/distinfo b/games/xbl/distinfo
index 3b2d372..7d69009 100644
--- a/games/xbl/distinfo
+++ b/games/xbl/distinfo
@@ -1,3 +1,3 @@
-MD5 (xbl-1.1.2.tar.gz) = 81b918d78c1f78ff05cdaab9f4589538
-SHA256 (xbl-1.1.2.tar.gz) = f2015c2ecf65c6cbc75a5441accf1a3baa3b82f208c1b30dad8478e80d3292ff
-SIZE (xbl-1.1.2.tar.gz) = 136082
+MD5 (xbl-1.1.3.tar.gz) = 2fcada6f23e1f4bb3c4a33481bfefb80
+SHA256 (xbl-1.1.3.tar.gz) = c6752a59ceef9f28b2df36df7da5c8018edc1be4cb977ca74558865620284e85
+SIZE (xbl-1.1.3.tar.gz) = 136411
diff --git a/games/xbl/files/patch-aa b/games/xbl/files/patch-aa
index 70781aa..72697f9 100644
--- a/games/xbl/files/patch-aa
+++ b/games/xbl/files/patch-aa
@@ -1,8 +1,5 @@
-
-$FreeBSD$
-
---- Makefile.in.orig Thu Jun 19 03:01:36 2003
-+++ Makefile.in Thu Jun 19 03:04:15 2003
+--- Makefile.in.old Mon Nov 7 19:50:05 2005
++++ Makefile.in Thu Dec 15 19:25:55 2005
@@ -83,7 +83,7 @@
# For linking (configure script will modify this line)
@@ -12,7 +9,12 @@ $FreeBSD$
all:demo
-@@ -128,25 +128,17 @@
+@@ -124,29 +124,21 @@
+ @echo "Executable go in $(BINDIR)"
+ @echo "Scores go in $(SCOREDIR)"
+ @echo "Defaults go in $(RESOURCEDIR)/Xbl"
+- @echo "Man pages go in $(MANPATH)/mann or man1"
++ @echo "Man pages go in $(MANPATH)/man1"
@-if [ "" != "$(USE_SETGID)" ] ; then \
echo "You use GID=$(GROUP_GID) protection" ; \
fi
@@ -40,7 +42,7 @@ $FreeBSD$
-if [ "" = "$(USE_SETGID)" ] ; then \
chmod 755 $(BINDIR)/xbl ;\
else \
-@@ -160,7 +152,6 @@
+@@ -160,30 +152,20 @@
-mkdir $(SCOREDIR) 2>/dev/null
$(CP) Xbl.ad $(RESOURCEDIR)/Xbl ; chmod 644 $(RESOURCEDIR)/Xbl
$(CP) Xbl.ad $(SCOREDIR)/Xbl ; chmod 644 $(SCOREDIR)/Xbl
@@ -48,3 +50,27 @@ $FreeBSD$
-if [ "" = "$(USE_SETGID)" ] ; then \
chmod 777 $(SCOREDIR) ;\
chmod 666 $(SCOREDIR)/[1-9]* ;\
+ else \
+ chmod 775 $(SCOREDIR) ;\
+- chmod 664 $(SCOREDIR)/[1-9]* ;\
+- chown root $(SCOREDIR) $(SCOREDIR)/[1-9]* ;\
+- chgrp $(GROUP_GID) $(SCOREDIR) $(SCOREDIR)/[1-9]* ;\
+ fi
+ #
+ # Install manual pages
+ #
+- -if [ -d $(MANPATH)/mann ] ; \
+- then \
+- $(CP) xbl.man $(MANPATH)/mann/xbl.n ;\
+- chmod 444 $(MANPATH)/mann/xbl.n ; \
+- else \
+ $(CP) xbl.man $(MANPATH)/man1/xbl.1 ;\
+ chmod 444 $(MANPATH)/man1/xbl.1 ; \
+- fi
+ cp *.gif *.html $(SCOREDIR)
+ #
+- -ls -lsa $(SCOREDIR) $(BINDIR)/xbl $(MANPATH)/man[1n]/xbl.[1n]
++ -ls -lsa $(SCOREDIR) $(BINDIR)/xbl $(MANPATH)/man1/xbl.1
+ @echo "Type xbl to play"
+
+ bl:$(OBJ)
OpenPOWER on IntegriCloud