Date: Sun, 28 May 2017 23:17:24 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r441957 - head/games/freeciv Message-ID: <201705282317.v4SNHOZr054121@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sun May 28 23:17:24 2017 New Revision: 441957 URL: https://svnweb.freebsd.org/changeset/ports/441957 Log: Fix options helper - Fix OPTIONS_DEFAULT: remove IPV6 and NLS which are added by framework - Convert to options target helper Approved by: portmgr (blanket) Modified: head/games/freeciv/Makefile Modified: head/games/freeciv/Makefile ============================================================================== --- head/games/freeciv/Makefile Sun May 28 23:17:19 2017 (r441956) +++ head/games/freeciv/Makefile Sun May 28 23:17:24 2017 (r441957) @@ -26,7 +26,7 @@ CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} - 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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705282317.v4SNHOZr054121>