aboutsummaryrefslogtreecommitdiffstats
path: root/games/gnuchess
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-10-08 19:31:49 +0800
committeredwin <edwin@FreeBSD.org>2003-10-08 19:31:49 +0800
commit16d2a7accb3b445f9c7b05a695fe82d02a434982 (patch)
tree3e05734a2fa707a8ef1f34d2c71772794d0fc37d /games/gnuchess
parent2137d2d713808f39471775eb142f8523483f2cfc (diff)
downloadfreebsd-ports-gnome-16d2a7accb3b445f9c7b05a695fe82d02a434982.tar.gz
freebsd-ports-gnome-16d2a7accb3b445f9c7b05a695fe82d02a434982.tar.zst
freebsd-ports-gnome-16d2a7accb3b445f9c7b05a695fe82d02a434982.zip
gnuchess doesn't install the gnuchessx alias
xboard communicates with gnuchess via the gnuchessx program (which is usually a link to gnuchessx). PR: ports/48404 Submitted by: The Anarcat <anarcat@anarcat.ath.cx>
Diffstat (limited to 'games/gnuchess')
-rw-r--r--games/gnuchess/Makefile4
-rw-r--r--games/gnuchess/distinfo2
-rw-r--r--games/gnuchess/pkg-plist1
3 files changed, 6 insertions, 1 deletions
diff --git a/games/gnuchess/Makefile b/games/gnuchess/Makefile
index ccbe41dab7c1..589952137c5e 100644
--- a/games/gnuchess/Makefile
+++ b/games/gnuchess/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gnuchess
PORTVERSION= 5.06
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= chess
@@ -23,4 +24,7 @@ post-patch:
@${REINPLACE_CMD} -e 's|-D_THREAD_SAFE|${PTHREAD_CFLAGS:S/"//g}|g ; \
s|-pthread ||g' ${WRKSRC}/configure
+post-install:
+ ${LN} -f ${PREFIX}/bin/gnuchess ${PREFIX}/bin/gnuchessx
+
.include <bsd.port.mk>
diff --git a/games/gnuchess/distinfo b/games/gnuchess/distinfo
index b9f5ac138ced..45dea5aad519 100644
--- a/games/gnuchess/distinfo
+++ b/games/gnuchess/distinfo
@@ -1 +1 @@
-MD5 (gnuchess-5.06.tar.gz) = 9b25c80bef39e6ab24088dcfdea7d845 \ No newline at end of file
+MD5 (gnuchess-5.06.tar.gz) = 9b25c80bef39e6ab24088dcfdea7d845
diff --git a/games/gnuchess/pkg-plist b/games/gnuchess/pkg-plist
index 66891ed42559..a8ff2db3b6ec 100644
--- a/games/gnuchess/pkg-plist
+++ b/games/gnuchess/pkg-plist
@@ -1 +1,2 @@
bin/gnuchess
+bin/gnuchessx