aboutsummaryrefslogtreecommitdiff
path: root/games/gnuchess
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-10-08 11:31:49 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-10-08 11:31:49 +0000
commitbf4aef7730eb18d6deca010f2ad1a8594b7fb945 (patch)
tree74ca57d58db6e8328dfebffed8b845b22a29344a /games/gnuchess
parent91189378b50a1c7c9504e0102fcc2412722236e2 (diff)
downloadports-bf4aef7730eb18d6deca010f2ad1a8594b7fb945.tar.gz
ports-bf4aef7730eb18d6deca010f2ad1a8594b7fb945.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>
Notes
Notes: svn path=/head/; revision=90623
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