diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-04-26 16:39:14 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-04-26 16:39:14 +0000 |
commit | bc62127a69294fd3340ea793685953d98ff835dc (patch) | |
tree | d124c4d6f965d5152806ebfbf40e1b5a25860ddb /graphics/sane-backends | |
parent | e8dd5f52410bdf2a989023706699373d47296008 (diff) | |
download | ports-bc62127a69294fd3340ea793685953d98ff835dc.tar.gz ports-bc62127a69294fd3340ea793685953d98ff835dc.zip |
Convert from USE_GETTEXT to USES= gettext
While here:
- Trim some headers
- Convert to new options framework
Notes
Notes:
svn path=/head/; revision=316624
Diffstat (limited to 'graphics/sane-backends')
-rw-r--r-- | graphics/sane-backends/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/graphics/sane-backends/Makefile b/graphics/sane-backends/Makefile index c912fc3789ec..45e65ba464c7 100644 --- a/graphics/sane-backends/Makefile +++ b/graphics/sane-backends/Makefile @@ -50,14 +50,14 @@ CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib .include "Makefile.man" -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if empty(PORT_OPTIONS:MUSB) +.if ! ${PORT_OPTIONS:MUSB} CONFIGURE_ARGS+= --disable-libusb .endif .if ${PORT_OPTIONS:MNLS} -USE_GETTEXT= yes +USES+= gettext PLIST_SUB+= NLS="" .else CONFIGURE_ARGS+= --disable-translations @@ -125,4 +125,4 @@ post-install: .endif @${CAT} ${PKGMESSAGE} -.include <bsd.port.post.mk> +.include <bsd.port.mk> |