Move to OPTIONSng

This commit is contained in:
Renato Botelho 2012-07-02 21:53:50 +00:00
parent 0f5d56e556
commit af2be6e83a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=300400

View file

@ -25,13 +25,15 @@ INSTALL_TARGET= install install-man
MAN1= gshar.1 gunshar.1 MAN1= gshar.1 gunshar.1
INFO= sharutils INFO= sharutils
.if defined(WITHOUT_NLS) .include <bsd.port.pre.mk>
PLIST_SUB+= NLS="@comment "
CONFIGURE_ARGS+=--disable-nls .if ${PORT_OPTIONS:MNLS}
.else
PLIST_SUB+= NLS="" PLIST_SUB+= NLS=""
USE_GETTEXT= yes USE_GETTEXT= yes
CONFIGURE_ARGS+=--with-libintl-prefix="${LOCALBASE}" CONFIGURE_ARGS+=--with-libintl-prefix="${LOCALBASE}"
.else
PLIST_SUB+= NLS="@comment "
CONFIGURE_ARGS+=--disable-nls
.endif .endif
post-patch: post-patch:
@ -54,4 +56,4 @@ post-patch:
${WRKSRC}/doc/${man} ${WRKSRC}/doc/${man}
.endfor .endfor
.include <bsd.port.mk> .include <bsd.port.post.mk>