diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-05-06 15:18:38 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-05-06 15:18:38 +0000 |
commit | 46023dda782befc55f7fb4143e1d8aefa1f11ea4 (patch) | |
tree | c7e91489b0dba2b35a29ac169022f6d1f2d0ecb0 /games/xblast | |
parent | 6ff7383dfb1ae83944fa8f8499a2cf46911ad11c (diff) | |
download | ports-46023dda782befc55f7fb4143e1d8aefa1f11ea4.tar.gz ports-46023dda782befc55f7fb4143e1d8aefa1f11ea4.zip |
Notes
Diffstat (limited to 'games/xblast')
-rw-r--r-- | games/xblast/Makefile | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/games/xblast/Makefile b/games/xblast/Makefile index 33524ea13b89..8ea1a4ddaa84 100644 --- a/games/xblast/Makefile +++ b/games/xblast/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: xblast -# Date created: Sat Nov 08 09:47:12 CET 1997 -# Whom: se -# +# Created by: se # $FreeBSD$ -# PORTNAME= xblast PORTVERSION= 2.10.4 @@ -63,12 +59,13 @@ MODELS_DATE= 2005-01-06 MUSICS_DATE= 2005-01-06 SOUNDS_DATE= 2004-04-29 -.if defined(WITHOUT_NLS) -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB+= NLS="@comment " -.else +.include <bsd.port.options.mk> +.if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS+= --disable-nls +PLIST_SUB+= NLS="@comment " .endif .if defined(WITHOUT_SDL) @@ -111,7 +108,7 @@ do-install: cd ${WRKSRC} && ${INSTALL_PROGRAM} xbsndsrv ${PREFIX}/bin/xbsndsrv .endif cd ${WRKSRC} && ${INSTALL_MAN} xblast.man ${MAN6PREFIX}/man/man6/xblast.6 -.if !defined(WITHOUT_NLS) +.if ${PORT_OPTIONS:MNLS} .for lang in de fr @${MKDIR} ${PREFIX}/share/locale/${lang}/LC_MESSAGES cd ${WRKSRC}/po && ${INSTALL_DATA} ${lang}.gmo \ |