summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-09-08 13:14:49 +0000
committeredwin <edwin@FreeBSD.org>2003-09-08 13:14:49 +0000
commit922398bf7fad6870fbf305936e1bef258e34e8a1 (patch)
treeec6d78cf0f57a055014a638f1ea5484d0fd28ac9 /games
parentc44aa2c298d631d8007f5a9e64105f312816d08e (diff)
downloadFreeBSD-ports-922398bf7fad6870fbf305936e1bef258e34e8a1.zip
FreeBSD-ports-922398bf7fad6870fbf305936e1bef258e34e8a1.tar.gz
[PATCH] add xaw3d build option to games/xboard
this patch adds an option to build with Xaw3D PR: ports/44854 Submitted by: Kyle Martin <mkm@ieee.org> Approved by: xaa+ports@timewasters.nl
Diffstat (limited to 'games')
-rw-r--r--games/xboard/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/games/xboard/Makefile b/games/xboard/Makefile
index f6a22f5..c4f2cd5 100644
--- a/games/xboard/Makefile
+++ b/games/xboard/Makefile
@@ -17,11 +17,17 @@ COMMENT= X frontend for Crafty, GNUChess, Internet Chess Servers, or e-mail ches
USE_XLIB= yes
GNU_CONFIGURE= yes
+USE_REINPLACE= yes
STRIP=
MAN6= xboard.6 cmail.6 zic2xpm.6
+.if defined(WITH_XAW3D)
+ONFIGURE_ARGS+= "--with-Xaw3d"
+LIB_DEPENDS+= Xaw3d.${XAWVER}:${PORTSDIR}/x11-toolkits/Xaw3d
+.endif
+
pre-patch:
- @${PERL} -pi.orig -e 's|\$$\(prefix\)/share/info|\@infodir\@|' \
+ @${REINPLACE_CMD} -e 's,$$(prefix)/share/info,@infodir@,' \
${WRKSRC}/Makefile.in
.include <bsd.port.mk>
OpenPOWER on IntegriCloud