aboutsummaryrefslogtreecommitdiff
path: root/games/xboard
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2009-09-24 21:29:59 +0000
committerJohan van Selst <johans@FreeBSD.org>2009-09-24 21:29:59 +0000
commitd5a103fe0490e4e63bd86fc3b491900d764442e3 (patch)
tree1cb54114a61df667dfa83a9b9aa56ce974f2a327 /games/xboard
parent5227679b7bce9eeaf61036ab442262929e52f277 (diff)
downloadports-d5a103fe0490e4e63bd86fc3b491900d764442e3.tar.gz
ports-d5a103fe0490e4e63bd86fc3b491900d764442e3.zip
- Update to 4.4.0
- Use autotools (unfortunately required) - WITH_XAW3D is now set using OPTIONS - Add patch to install supported scripts included in older versions - Add patch to set gnuchessx as engine (like in older versions) Feature safe: yes
Notes
Notes: svn path=/head/; revision=242042
Diffstat (limited to 'games/xboard')
-rw-r--r--games/xboard/Makefile30
-rw-r--r--games/xboard/distinfo6
2 files changed, 22 insertions, 14 deletions
diff --git a/games/xboard/Makefile b/games/xboard/Makefile
index 7a85bb917487..2c7e30d50b4e 100644
--- a/games/xboard/Makefile
+++ b/games/xboard/Makefile
@@ -6,37 +6,45 @@
#
PORTNAME= xboard
-PORTVERSION= 4.2.7
-PORTREVISION= 3
+PORTVERSION= 4.4.0
CATEGORIES= games
-MASTER_SITES= http://www.tim-mann.org/xboard/ \
- ${MASTER_SITE_GNU}
+MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= xboard
MAINTAINER= johans@stack.nl
COMMENT= X frontend for Crafty, GNUChess, Chess Servers, or e-mail chess
+OPTIONS= XAW3D "Use Xaw3d widgets (instead of Xaw)" On
+
USE_XORG= xt xpm xaw
+USE_AUTOTOOLS= autoconf:262 autoheader:262 automake:19 aclocal:19
+AUTOMAKE_ARGS= -a
GNU_CONFIGURE= yes
-STRIP=
+CONFIGURE_ARGS+=CFLAGS="-I${LOCALBASE}/include -L${LOCALBASE}/lib"
MAN6= xboard.6 zic2xpm.6
INFO= xboard
USE_PERL5_BUILD=yes
+PLIST_FILES= bin/xboard bin/cmail bin/pxboard bin/zic2xpm
+
+.include <bsd.port.options.mk>
-.if defined(WITH_XAW3D)
+.ifdef WITH_XAW3D
CONFIGURE_ARGS+= "--with-Xaw3d"
LIB_DEPENDS+= Xaw3d.${XAWVER}:${PORTSDIR}/x11-toolkits/Xaw3d
.endif
-pre-patch:
- @${REINPLACE_CMD} -e 's,$$(prefix)/share/info,@infodir@,' \
- -e 's, html dvi ps,,' \
- ${WRKSRC}/Makefile.in
-
.include <bsd.port.pre.mk>
.if ${ARCH} == "sparc64"
BROKEN= Does not install on sparc64
.endif
+post-patch:
+ @${REINPLACE_CMD} -e '/^man6_MANS/s/$$/ zic2xpm.man/' \
+ -e '/^bin_PROGRAMS/s/$$/ zic2xpm/' \
+ -e '/^$$/s/$$/bin_SCRIPTS = cmail pxboard/' \
+ -e '/^info/s/copyright.texi//' \
+ ${WRKSRC}/Makefile.am
+ @${REINPLACE_CMD} -e 's/fairymax/gnuchessx/' ${WRKSRC}/xboard.h
+
.include <bsd.port.post.mk>
diff --git a/games/xboard/distinfo b/games/xboard/distinfo
index e982660a8010..245d4d2b74ff 100644
--- a/games/xboard/distinfo
+++ b/games/xboard/distinfo
@@ -1,3 +1,3 @@
-MD5 (xboard-4.2.7.tar.gz) = b70ad8ff7569975302c5fb402d5eea32
-SHA256 (xboard-4.2.7.tar.gz) = 5b21f12e3e99be0c69a3fa5f3d4cb79def24b6a2195ed94efc1b6ab415fb8d3b
-SIZE (xboard-4.2.7.tar.gz) = 1318110
+MD5 (xboard-4.4.0.tar.gz) = 0eef62b9f710654cd7de7cda681bd0ea
+SHA256 (xboard-4.4.0.tar.gz) = dda6f699e69005c04c36ab2ac673d386d9bcecffc01b8f982b407a7e22c262bf
+SIZE (xboard-4.4.0.tar.gz) = 1608102