diff options
author | Johan van Selst <johans@FreeBSD.org> | 2009-09-24 21:29:59 +0000 |
---|---|---|
committer | Johan van Selst <johans@FreeBSD.org> | 2009-09-24 21:29:59 +0000 |
commit | d5a103fe0490e4e63bd86fc3b491900d764442e3 (patch) | |
tree | 1cb54114a61df667dfa83a9b9aa56ce974f2a327 /games/xboard/Makefile | |
parent | 5227679b7bce9eeaf61036ab442262929e52f277 (diff) | |
download | ports-d5a103fe0490e4e63bd86fc3b491900d764442e3.tar.gz ports-d5a103fe0490e4e63bd86fc3b491900d764442e3.zip |
Notes
Diffstat (limited to 'games/xboard/Makefile')
-rw-r--r-- | games/xboard/Makefile | 30 |
1 files changed, 19 insertions, 11 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> |