diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-05-06 10:22:41 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-05-06 10:22:41 +0000 |
commit | 062ed8d36fcff34f0d3051dd7687377d27558a32 (patch) | |
tree | 35173dab2afafdac2c12b688bfc1f1397a7b8cfb /multimedia/sabbu | |
parent | - Upgrade to r12583. (diff) |
Convert from WITHOUT_NLS to PORT_OPTIONS:MNLS
While here do some conversion to new options framework
Notes
Notes:
svn path=/head/; revision=317503
Diffstat (limited to 'multimedia/sabbu')
-rw-r--r-- | multimedia/sabbu/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/multimedia/sabbu/Makefile b/multimedia/sabbu/Makefile index 58f388db472e..e2b8b7d84769 100644 --- a/multimedia/sabbu/Makefile +++ b/multimedia/sabbu/Makefile @@ -21,16 +21,18 @@ USE_GNOME= gtk20 CFLAGS+= ${PTHREAD_CFLAGS} -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lswscale -.if defined(WITHOUT_NLS) -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB+= WITH_NLS="@comment " -.else +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= WITH_NLS="" +.else +CONFIGURE_ARGS+= --disable-nls +PLIST_SUB+= WITH_NLS="@comment " .endif ASPELL_PORT?= textproc/aspell -.if !defined(WITHOUT_GTKSPELL) +.if ${PORT_OPTIONS:MGTKSPELL} LIB_DEPENDS+= gtkspell:${PORTSDIR}/textproc/gtkspell PLIST_SUB+= WITH_ASPELL="" .else |