aboutsummaryrefslogtreecommitdiff
path: root/games/xmoto
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-04-26 16:39:14 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-04-26 16:39:14 +0000
commitbc62127a69294fd3340ea793685953d98ff835dc (patch)
treed124c4d6f965d5152806ebfbf40e1b5a25860ddb /games/xmoto
parente8dd5f52410bdf2a989023706699373d47296008 (diff)
downloadports-bc62127a69294fd3340ea793685953d98ff835dc.tar.gz
ports-bc62127a69294fd3340ea793685953d98ff835dc.zip
Convert from USE_GETTEXT to USES= gettext
While here: - Trim some headers - Convert to new options framework
Notes
Notes: svn path=/head/; revision=316624
Diffstat (limited to 'games/xmoto')
-rw-r--r--games/xmoto/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/games/xmoto/Makefile b/games/xmoto/Makefile
index 047830bbe580..22cecf766b83 100644
--- a/games/xmoto/Makefile
+++ b/games/xmoto/Makefile
@@ -47,11 +47,7 @@ DESKTOP_ENTRIES="XMoto" \
"Game;SportsGame;ArcadeGame;" \
false
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 800067
-BROKEN= does not compile due to missing getline()
-.endif
+.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MASIAN_TTF}
RUN_DEPENDS+= ${LOCALBASE}/lib/X11/fonts/TrueType/bkai00mp.ttf:${PORTSDIR}/chinese/arphicttf
@@ -61,7 +57,7 @@ CONFIGURE_ARGS+=--without-asian-ttf-file
.endif
.if ${PORT_OPTIONS:MNLS}
-USE_GETTEXT= yes
+USES+= gettext
PLIST_SUB+= NLS=""
CONFIGURE_ENV+= LIBS="-lintl"
.else
@@ -77,4 +73,4 @@ post-install:
.endfor
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>