aboutsummaryrefslogtreecommitdiff
path: root/games/lgeneral
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2019-06-08 09:55:01 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2019-06-08 09:55:01 +0000
commit2c9ab8d7ad261db6af28eb0f6424443c9808ad4f (patch)
tree8ae9c71081b6562e634ae82f6255715b0017ae69 /games/lgeneral
parentc50bfa8d99c96acfdbf19f505fe4b81c7e71cc19 (diff)
downloadports-2c9ab8d7ad261db6af28eb0f6424443c9808ad4f.tar.gz
ports-2c9ab8d7ad261db6af28eb0f6424443c9808ad4f.zip
devel/gettext*:
- Update to 0.20.1. - Add options to install documentation and examples. devel/libtextstyle: - Take maintainership because it is now released as part of gettext. ftp/weex: - Remove bundled gettext (intl/): no longer supported. - Patch configure.in, Makefile.am and src/Makefile.am to remove references to bundled gettext. - Patch configure.in to add AC_CONFIG_MACRO_DIR([m4]) so aclocal.m4 will include gettext .m4 files from m4/ (matching the version set with AM_GNU_GETTEXT_VERSION) instead of /usr/local/share/aclocal. - Port to modern gettext: add po/Makevars and fix a problem in the French translation. - Patch configure.in to fix detection of OpenSSL 1.1. - In port Makefile: add EXAMPLES and NLS options, add ports OpenSSL support, set default path for root certificates. games/lgeneral: - Patch Makefile.in instead of Makefile.am so USES=autoreconf isn't needed. www/sarg: - Patch configure.ac to add AC_CONFIG_MACRO_DIR([m4]) so aclocal.m4 will include gettext .m4 files from m4/ (matching the version set with AM_GNU_GETTEXT_VERSION) instead of /usr/local/share/aclocal. - Port Makefile: remove obsolete post-patch, patching configure also has no effect with USES=autoreconf. PR: 238277 Exp-run by: antoine Approved by: portmgr (antoine)
Notes
Notes: svn path=/head/; revision=503716
Diffstat (limited to 'games/lgeneral')
-rw-r--r--games/lgeneral/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/games/lgeneral/Makefile b/games/lgeneral/Makefile
index 5cd9c2cb0b01..0f73a8aa55db 100644
--- a/games/lgeneral/Makefile
+++ b/games/lgeneral/Makefile
@@ -18,24 +18,25 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_powerpc= does not install
BROKEN_sparc64= does not install
-USES= autoreconf gettext-tools gmake localbase
+USES= gmake localbase
USE_CSTD= gnu89
USE_SDL= sdl
+
GNU_CONFIGURE= yes
OPTIONS_DEFINE= DOCS NLS SOUND
OPTIONS_DEFAULT= SOUND
OPTIONS_SUB= yes
-NLS_USES= gettext-runtime
+NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
-NLS_CONFIGURE_ENV_OFF= am_cv_func_iconv=no
SOUND_USE= sdl=mixer
SOUND_CONFIGURE_OFF= --disable-sound
post-patch:
.for i in flags terrain units
- @${REINPLACE_CMD} -e 's|$$(${i}dir)|$$(DESTDIR)/&|' ${WRKSRC}/src/gfx/${i}/Makefile.am
+ @${REINPLACE_CMD} -e '/mkinstalldirs/s/$$(${i}dir)/$$(DESTDIR)&/' \
+ ${WRKSRC}/src/gfx/${i}/Makefile.in
.endfor
post-install: