diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-04-26 15:10:57 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-04-26 15:10:57 +0000 |
commit | 9dbc02d2c5d8b2c2c499e0e86015bc9505c69318 (patch) | |
tree | a82894e443e00d2d1e62c361da23f99b943f1351 /comms/fldigi | |
parent | Upgrade to version 4.00. (diff) |
Convert USE_GETTEXT -> USES=gettext
While here:
- Trim headers
- Remove some useless pre.mk/post.mk
- Convert to optionsng
Notes
Notes:
svn path=/head/; revision=316620
Diffstat (limited to 'comms/fldigi')
-rw-r--r-- | comms/fldigi/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/comms/fldigi/Makefile b/comms/fldigi/Makefile index c7ed7a0dda92..5b57f024247c 100644 --- a/comms/fldigi/Makefile +++ b/comms/fldigi/Makefile @@ -24,7 +24,7 @@ USE_GMAKE= yes CONFIGURE_ENV= FLTK_CONFIG="${LOCALBASE}/bin/fltk-config" MAN1= fldigi.1 -OPTIONS_DEFINE= NATIVE_OPT FLARQ XMLRPC OSS SNDFILE PORTAUDIO PULSEAUDIO HAMLIB +OPTIONS_DEFINE= NATIVE_OPT FLARQ XMLRPC OSS SNDFILE PORTAUDIO PULSEAUDIO HAMLIB NLS NATIVE_OPT_DESC= Enable Native Optimizations FLARQ_DESC= Compile flarq @@ -94,13 +94,13 @@ LIB_DEPENDS+= hamlib:${PORTSDIR}/comms/hamlib .else CONFIGURE_ARGS+=--without-hamlib .endif -.if defined(WITHOUT_NLS) -CONFIGURE_ARGS+=--disable-nls -PLIST_SUB+= NLS="@comment " -.else +.if ${PORT_OPTIONS:MNLS} +USES+= gettext CONFIGURE_ARGS+=--enable-nls PLIST_SUB+= NLS="" -USE_GETTEXT= yes +.else +CONFIGURE_ARGS+=--disable-nls +PLIST_SUB+= NLS="@comment " .endif # Always need asciidoc for man pages CONFIGURE_ARGS+=--with-asciidoc |