diff options
author | johans <johans@FreeBSD.org> | 2009-09-25 05:29:59 +0800 |
---|---|---|
committer | johans <johans@FreeBSD.org> | 2009-09-25 05:29:59 +0800 |
commit | 58171e09ad1c280636bcb1925ce1d22bc0ddeb6a (patch) | |
tree | b572818a78a6b1e38cefa1209762444cda7f4322 /games/xboard | |
parent | 5a5f123cc580c1fddd1b8ede531d729555b26200 (diff) | |
download | freebsd-ports-gnome-58171e09ad1c280636bcb1925ce1d22bc0ddeb6a.tar.gz freebsd-ports-gnome-58171e09ad1c280636bcb1925ce1d22bc0ddeb6a.tar.zst freebsd-ports-gnome-58171e09ad1c280636bcb1925ce1d22bc0ddeb6a.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
Diffstat (limited to 'games/xboard')
-rw-r--r-- | games/xboard/Makefile | 30 | ||||
-rw-r--r-- | games/xboard/distinfo | 6 |
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 |