aboutsummaryrefslogtreecommitdiff
path: root/games/nuclearchess
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-08-26 14:06:08 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-08-26 14:06:08 +0000
commit216b5a285fdcc1456a307fcc60f3507c20d613eb (patch)
treed0c8617b772b8f0a175d436d938b8d844590b41f /games/nuclearchess
parentb829518a7d432b7cc2546fde7f032238d1db13dc (diff)
downloadports-216b5a285fdcc1456a307fcc60f3507c20d613eb.tar.gz
ports-216b5a285fdcc1456a307fcc60f3507c20d613eb.zip
Notes
Diffstat (limited to 'games/nuclearchess')
-rw-r--r--games/nuclearchess/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/games/nuclearchess/Makefile b/games/nuclearchess/Makefile
index 7f33e45b5726..6f687972851f 100644
--- a/games/nuclearchess/Makefile
+++ b/games/nuclearchess/Makefile
@@ -28,6 +28,10 @@ OPTIONS_DEFINE= DOCS
DESKTOP_ENTRIES="NuclearChess" "" "${PORTNAME}" \
"${PORTNAME}" "Game;BoardGame;" ""
+post-patch:
+ @${REINPLACE_CMD} '/^nuclearchess_LDADD =/s/$$/ -lm/' \
+ ${WRKSRC}/src/Makefile.in
+
post-install:
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/