aboutsummaryrefslogtreecommitdiff
path: root/games/xboard
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2014-01-11 08:49:31 +0000
committerJohan van Selst <johans@FreeBSD.org>2014-01-11 08:49:31 +0000
commita40070a0a56443ef85115a19f4bdbbf1bcf070e8 (patch)
tree27e8175caa9bd847e0f97e359ea54c4d3df95e7d /games/xboard
parente9cb499f162893d9b9cef949da5df2d1eda11f2f (diff)
downloadports-a40070a0a56443ef85115a19f4bdbbf1bcf070e8.tar.gz
ports-a40070a0a56443ef85115a19f4bdbbf1bcf070e8.zip
Notes
Diffstat (limited to 'games/xboard')
-rw-r--r--games/xboard/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/games/xboard/Makefile b/games/xboard/Makefile
index de345090b251..619aec34fd6a 100644
--- a/games/xboard/Makefile
+++ b/games/xboard/Makefile
@@ -41,11 +41,7 @@ DATADIR= ${PREFIX}/share/games/${PORTNAME}
PORTDOCS= AUTHORS ChangeLog NEWS README SHORTLOG TODO
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "sparc64"
-BROKEN= Does not install on sparc64
-.endif
+BROKEN_sparc64= Does not install on sparc64
post-patch:
@${REINPLACE_CMD} -e 's/fairymax/gnuchessx/' ${WRKSRC}/xboard.conf.in
@@ -54,6 +50,8 @@ post-patch:
@${REINPLACE_CMD} -e 's:INSTALL.*sysconfdir):&/$$$$files.dist:' \
${WRKSRC}/Makefile.in
+.include <bsd.port.options.mk>
+
post-install:
@${INSTALL_SCRIPT} ${WRKSRC}/cmail ${STAGEDIR}${PREFIX}/bin/
@${CP} -pn ${STAGEDIR}${PREFIX}/etc/xboard.conf.dist \
@@ -63,4 +61,4 @@ post-install:
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>