diff options
author | bapt <bapt@FreeBSD.org> | 2012-06-13 13:13:04 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-06-13 13:13:04 +0800 |
commit | 53b00caed933fbf2a25da32a4dd590a5f8033114 (patch) | |
tree | 8e4782a6af8a960d75e2de008a18466af4df4a6d /lang/bigloo | |
parent | 22b763f0b6404cf6570de5a8b8b8bace97388a19 (diff) | |
download | freebsd-ports-gnome-53b00caed933fbf2a25da32a4dd590a5f8033114.tar.gz freebsd-ports-gnome-53b00caed933fbf2a25da32a4dd590a5f8033114.tar.zst freebsd-ports-gnome-53b00caed933fbf2a25da32a4dd590a5f8033114.zip |
Convert to new options framework
Diffstat (limited to 'lang/bigloo')
-rw-r--r-- | lang/bigloo/Makefile | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/lang/bigloo/Makefile b/lang/bigloo/Makefile index 3b6ce5c7c832..f12a8c8c57bc 100644 --- a/lang/bigloo/Makefile +++ b/lang/bigloo/Makefile @@ -21,12 +21,9 @@ LICENSE_COMB= multi LIB_DEPENDS= gc.1:${PORTSDIR}/devel/boehm-gc \ gmp.10:${PORTSDIR}/math/gmp -OPTIONS= ALSA "Enable ALSA support" off \ - FLAC "Enable FLAC support" off \ - GSTREAMER "Enable Gstreamer support" off \ - MPG123 "Enable MPG123 support" off \ - SQLITE "Enable SQLite support" off \ - OPENSSL "Enable OpenSSL support" on +OPTIONS_DEFINE= ALSA FLAC GSTREAMER MPG123 SQLITE OPENSSL DOCS +OPTIONS_DEFAULT= OPENSSL +MPG123_DESC= Enable MPG123 support WANT_GSTREAMER= yes USE_GCC= 4.6+ @@ -51,7 +48,7 @@ INFO= bigloo .include <bsd.port.options.mk> -.if defined(WITH_ALSA) +.if ${PORT_OPTIONS:MALSA} LIB_DEPENDS+= asound.2:${PORTSDIR}/audio/alsa-lib PLIST_SUB+= ALSA="" .else @@ -59,7 +56,7 @@ CONFIGURE_ARGS+=--disable-alsa PLIST_SUB+= ALSA="@comment " .endif -.if defined(WITH_FLAC) +.if ${PORT_OPTIONS:MFLAC} LIB_DEPENDS+= FLAC.10:${PORTSDIR}/audio/flac PLIST_SUB+= FLAC="" .else @@ -67,7 +64,7 @@ CONFIGURE_ARGS+=--disable-flac PLIST_SUB+= FLAC="@comment " .endif -.if defined(WITH_GSTREAMER) +.if ${PORT_OPTIONS:MGSTREAMER} USE_GSTREAMER= yes PLIST_SUB+= GSTREAMER="" .else @@ -75,7 +72,7 @@ CONFIGURE_ARGS+=--disable-gstreamer PLIST_SUB+= GSTREAMER="@comment " .endif -.if defined(WITH_MPG123) +.if ${PORT_OPTIONS:MMPG123} LIB_DEPENDS+= mpg123.0:${PORTSDIR}/audio/mpg123 PLIST_SUB+= MPG123="" .else @@ -83,7 +80,7 @@ CONFIGURE_ARGS+=--disable-mpg123 PLIST_SUB+= MPG123="@comment " .endif -.if defined(WITH_SQLITE) +.if ${PORT_OPTIONS:MSQLITE} USE_SQLITE= yes PLIST_SUB+= SQLITE="" .else @@ -91,7 +88,7 @@ CONFIGURE_ARGS+=--disable-pkglib --disable-sqlite PLIST_SUB+= SQLITE="@comment " .endif -.if defined(WITH_OPENSSL) +.if ${PORT_OPTIONS:MOPENSSL} USE_OPENSSL= yes PLIST_SUB+= OPENSSL="" .else @@ -129,7 +126,7 @@ post-configure: post-install: ${INSTALL_MAN} ${WRKSRC}/manuals/bigloo.man ${MANPREFIX}/man/man1/${MAN1} ${INSTALL_DATA} ${WRKSRC}/manuals/bigloo.info ${PREFIX}/${INFO_PATH} -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/manuals/*.html ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/manuals/*.sui ${DOCSDIR} |