diff options
Diffstat (limited to 'x11-fm')
-rw-r--r-- | x11-fm/gnome-commander2/Makefile | 10 | ||||
-rw-r--r-- | x11-fm/rodent/Makefile | 14 |
2 files changed, 11 insertions, 13 deletions
diff --git a/x11-fm/gnome-commander2/Makefile b/x11-fm/gnome-commander2/Makefile index 2556775cc420..d7fb663d776b 100644 --- a/x11-fm/gnome-commander2/Makefile +++ b/x11-fm/gnome-commander2/Makefile @@ -37,12 +37,14 @@ MAN1= gnome-commander.1 pre-configure: cd ${WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${AUTORECONF} -W none -.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 .include <bsd.port.mk> diff --git a/x11-fm/rodent/Makefile b/x11-fm/rodent/Makefile index 8b27a81ad371..a0567538453f 100644 --- a/x11-fm/rodent/Makefile +++ b/x11-fm/rodent/Makefile @@ -1,9 +1,5 @@ -# Ports collection Makefile for: rodent -# Date created: 16 March 2012 -# Whom: Jens K. Loewe <bsd@tuxproject.de> -# +# Created by: Jens K. Loewe <bsd@tuxproject.de> # $FreeBSD$ -# PORTNAME= rodent PORTVERSION= 4.8.0 @@ -35,7 +31,9 @@ PORTDOCS= * MAN1= fgr.1 -.if !defined(WITHOUT_NLS) +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" .else @@ -47,10 +45,8 @@ post-patch: ${REINPLACE_CMD} -e 's,^\(docdir = \).*,\1${DOCSDIR},' \ ${WRKSRC}/Build/share/Makefile.in -.include <bsd.port.pre.mk> - .if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64" BROKEN= Does not compile on ia64, powerpc, or sparc64 .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |