diff options
author | bapt <bapt@FreeBSD.org> | 2013-05-06 15:01:48 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-05-06 15:01:48 +0800 |
commit | 55d0741661fb8c8862b383d81d0eb498f1c51ae6 (patch) | |
tree | 9bb92c7ef944cb6f89581b84d95897330d992111 /emulators | |
parent | d710175d83c8aa4d07a683513f7a149d53bb716e (diff) | |
download | freebsd-ports-gnome-55d0741661fb8c8862b383d81d0eb498f1c51ae6.tar.gz freebsd-ports-gnome-55d0741661fb8c8862b383d81d0eb498f1c51ae6.tar.zst freebsd-ports-gnome-55d0741661fb8c8862b383d81d0eb498f1c51ae6.zip |
Finish converting e* from WITHOUT_NLS to PORT_OPTIONS:MNLS
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/gxmame/Makefile | 10 | ||||
-rw-r--r-- | emulators/tiemu3/Makefile | 4 |
2 files changed, 9 insertions, 5 deletions
diff --git a/emulators/gxmame/Makefile b/emulators/gxmame/Makefile index 88a147a69e62..33643773b53f 100644 --- a/emulators/gxmame/Makefile +++ b/emulators/gxmame/Makefile @@ -15,7 +15,7 @@ COMMENT= GXmame is a GTK frontend for xmame LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2 RUN_DEPENDS= xmame:${PORTSDIR}/emulators/xmame -USES= pathfix +USES= pathfix USE_GNOME= gtk20 intlhack gnomeprefix USE_GMAKE= yes GNU_CONFIGURE= yes @@ -23,11 +23,13 @@ GNU_CONFIGURE= yes LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --with-xmame-dir=${LOCALBASE}/share/xmame -.if defined(WITHOUT_NLS) +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MNLS} +PLIST_SUB+= NLS="" +.else CONFIGURE_ARGS+=--disable-nls PLIST_SUB+= NLS="@comment " -.else -PLIST_SUB+= NLS="" .endif MAN6= gxmame.6 diff --git a/emulators/tiemu3/Makefile b/emulators/tiemu3/Makefile index 2439f729d47a..27962c66a989 100644 --- a/emulators/tiemu3/Makefile +++ b/emulators/tiemu3/Makefile @@ -27,7 +27,9 @@ CONFIGURE_ARGS= --disable-gdb MAN1= tiemu.1 -.if !defined(WITHOUT_NLS) +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB= NLS="" .else |