summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2002-11-01 19:39:44 +0000
committerPete Fritchman <petef@FreeBSD.org>2002-11-01 19:39:44 +0000
commit5ce7f76ecb5e31f715998db3f4bfc918bc23ad2c (patch)
tree83933655abbae4abc520ec415250317375ffbd12 /games
parentadd xword 0.07 (diff)
- upgrade to 0.1.15
- USE_REINPLACE
Diffstat (limited to 'games')
-rw-r--r--games/xscorch/Makefile7
-rw-r--r--games/xscorch/distinfo2
-rw-r--r--games/xscorch/pkg-plist22
3 files changed, 17 insertions, 14 deletions
diff --git a/games/xscorch/Makefile b/games/xscorch/Makefile
index 592cfd757950..05777a9357ab 100644
--- a/games/xscorch/Makefile
+++ b/games/xscorch/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= xscorch
-PORTVERSION= 0.1.14
+PORTVERSION= 0.1.15
CATEGORIES= games
MASTER_SITES= http://chaos2.org/xscorch/ \
http://mirror.dok.org/xscorch/
@@ -20,6 +20,7 @@ USE_XPM= yes
USE_GMAKE= yes
USE_GNOMENG= yes
USE_GNOME= gtk12
+USE_REINPLACE= yes
WANT_GNOME= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-gtk
@@ -31,12 +32,14 @@ MAN6= xscorch.6
.if ${HAVE_GNOME:Mgnomelibs}!=""
USE_GNOME+= gnomeprefix gnomelibs
PKGNAMESUFFIX= -gnome
+PLIST_SUB+= GNOME="gnome"
.else
CONFIGURE_ARGS+= --without-gnome
+PLIST_SUB+= GNOME=""
.endif
post-patch:
- @${PERL} -pi -e 's,MSG_NOSIGNAL,0,' \
+ @${REINPLACE_CMD} -e 's,MSG_NOSIGNAL,0,' \
${WRKSRC}/snet/tcpnet/tn_internal.c \
${WRKSRC}/snet/tcpnet/tn_read.c
diff --git a/games/xscorch/distinfo b/games/xscorch/distinfo
index dcc1bbe9cef7..4e6ed85856e1 100644
--- a/games/xscorch/distinfo
+++ b/games/xscorch/distinfo
@@ -1 +1 @@
-MD5 (xscorch-0.1.14.tar.gz) = cfc914add96f36c07d9883db5adcb8fe
+MD5 (xscorch-0.1.15.tar.gz) = 6bea7bfae61355cfedf2c673411bbe33
diff --git a/games/xscorch/pkg-plist b/games/xscorch/pkg-plist
index e02bb2851830..a7601fc7f28d 100644
--- a/games/xscorch/pkg-plist
+++ b/games/xscorch/pkg-plist
@@ -1,13 +1,13 @@
bin/xscorch
bin/xscorch-server
-share/xscorch/accessories.def
-share/xscorch/copying.txt
-share/xscorch/images/xscorch-icon.xpm
-share/xscorch/images/xscorch-logo.xpm
-share/xscorch/profiles.def
-share/xscorch/sounds/README
-share/xscorch/weapons.def
-share/xscorch/xscorch.txt
-@dirrm share/xscorch/sounds
-@dirrm share/xscorch/images
-@dirrm share/xscorch
+share/%%GNOME%%/xscorch/accessories.def
+share/%%GNOME%%/xscorch/copying.txt
+share/%%GNOME%%/xscorch/images/xscorch-icon.xpm
+share/%%GNOME%%/xscorch/images/xscorch-logo.xpm
+share/%%GNOME%%/xscorch/profiles.def
+share/%%GNOME%%/xscorch/sounds/README
+share/%%GNOME%%/xscorch/weapons.def
+share/%%GNOME%%/xscorch/xscorch.txt
+@dirrm share/%%GNOME%%/xscorch/sounds
+@dirrm share/%%GNOME%%/xscorch/images
+@dirrm share/%%GNOME%%/xscorch