aboutsummaryrefslogtreecommitdiffstats
path: root/games/freeciv
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2017-05-29 07:17:24 +0800
committersunpoet <sunpoet@FreeBSD.org>2017-05-29 07:17:24 +0800
commit16313306ae3f533aa1a0733b9fddf9da1f4aad87 (patch)
treeba17ff7b828434fab4b67c4bd41bf6247e0f4870 /games/freeciv
parent538c03f361781e983c63efff7e637cd3e5a2585e (diff)
downloadfreebsd-ports-gnome-16313306ae3f533aa1a0733b9fddf9da1f4aad87.tar.gz
freebsd-ports-gnome-16313306ae3f533aa1a0733b9fddf9da1f4aad87.tar.zst
freebsd-ports-gnome-16313306ae3f533aa1a0733b9fddf9da1f4aad87.zip
Fix options helper
- Fix OPTIONS_DEFAULT: remove IPV6 and NLS which are added by framework - Convert to options target helper Approved by: portmgr (blanket)
Diffstat (limited to 'games/freeciv')
-rw-r--r--games/freeciv/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/games/freeciv/Makefile b/games/freeciv/Makefile
index 5b46a3c0ccdb..1847a0dd4819 100644
--- a/games/freeciv/Makefile
+++ b/games/freeciv/Makefile
@@ -26,7 +26,7 @@ CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} --program-transform-name= \
PORTDATA= *
OPTIONS_DEFINE?= NLS X11 SDL MYSQL IPV6 DOCS
-OPTIONS_DEFAULT?= NLS X11 IPV6
+OPTIONS_DEFAULT?= X11
OPTIONS_SUB= yes
SDL_CONFIGURE_ON= --enable-client=gtk,sdl
SDL_USE= SDL=sdl,image,ttf,gfx
@@ -72,11 +72,11 @@ post-patch:
${WRKSRC}/client/Makefile.in
post-install:
-.if ${PORT_OPTIONS:MX11}
- ${INSTALL_DATA} ${WRKSRC}/data/civclient.dsc ${STAGEDIR}${DATADIR}/
- cd ${STAGEDIR}/${PREFIX}/bin && ${LN} -s freeciv-gtk2 freeciv-client
-.endif
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libfreeciv*.so
${RM} ${STAGEDIR}${PREFIX}/etc/ggz.modules
+post-install-X11-on:
+ ${INSTALL_DATA} ${WRKSRC}/data/civclient.dsc ${STAGEDIR}${DATADIR}/
+ cd ${STAGEDIR}/${PREFIX}/bin && ${LN} -s freeciv-gtk2 freeciv-client
+
.include <bsd.port.mk>