aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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