aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorjohans <johans@FreeBSD.org>2014-01-11 16:49:31 +0800
committerjohans <johans@FreeBSD.org>2014-01-11 16:49:31 +0800
commitc0a3b7bc623d9850d8956e5016d7a966de96aa92 (patch)
tree27e8175caa9bd847e0f97e359ea54c4d3df95e7d /games
parente92d72440b40f13f4c8d9b300487b2eda01bce17 (diff)
downloadfreebsd-ports-gnome-c0a3b7bc623d9850d8956e5016d7a966de96aa92.tar.gz
freebsd-ports-gnome-c0a3b7bc623d9850d8956e5016d7a966de96aa92.tar.zst
freebsd-ports-gnome-c0a3b7bc623d9850d8956e5016d7a966de96aa92.zip
- Use BROKEN_sparc64 and avoid <bsd.port.pre.mk>
PR: ports/185654 Submitted by: jgh
Diffstat (limited to 'games')
-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>