diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-09-08 13:14:49 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-09-08 13:14:49 +0000 |
commit | 9bf0f87f9fe9fbc8b3e1c950546e62f89df178f2 (patch) | |
tree | b7b757919e35cdaf074997378a270dc40b05a41a | |
parent | Updated to 0.02 (diff) |
[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
-rw-r--r-- | games/xboard/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/games/xboard/Makefile b/games/xboard/Makefile index f6a22f58163e..c4f2cd5a82e5 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> |