diff options
author | bapt <bapt@FreeBSD.org> | 2013-04-26 23:10:57 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-04-26 23:10:57 +0800 |
commit | cc4b94048a126ec78a099b5d48c981211ebb05b4 (patch) | |
tree | a82894e443e00d2d1e62c361da23f99b943f1351 /comms/fldigi | |
parent | 1e52c8a94d29dd477a2bee1a90337267ab29c66b (diff) | |
download | freebsd-ports-gnome-cc4b94048a126ec78a099b5d48c981211ebb05b4.tar.gz freebsd-ports-gnome-cc4b94048a126ec78a099b5d48c981211ebb05b4.tar.zst freebsd-ports-gnome-cc4b94048a126ec78a099b5d48c981211ebb05b4.zip |
Convert USE_GETTEXT -> USES=gettext
While here:
- Trim headers
- Remove some useless pre.mk/post.mk
- Convert to optionsng
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 |