[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
This commit is contained in:
Edwin Groothuis 2003-09-08 13:14:49 +00:00
parent ea8c44db65
commit 9bf0f87f9f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=88806

View file

@ -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>