diff options
author | bapt <bapt@FreeBSD.org> | 2012-06-01 17:38:09 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-06-01 17:38:09 +0800 |
commit | 6eb3adc7280e328312ae2583378f4a12b4339477 (patch) | |
tree | bbc7a0b1d0eb0b2a2665f9014bf686cbf040f79e /audio/linuxsampler | |
parent | 5705c7427ed0aa5ee02e35df1212e28cbfb74663 (diff) | |
download | freebsd-ports-gnome-6eb3adc7280e328312ae2583378f4a12b4339477.tar.gz freebsd-ports-gnome-6eb3adc7280e328312ae2583378f4a12b4339477.tar.zst freebsd-ports-gnome-6eb3adc7280e328312ae2583378f4a12b4339477.zip |
Convert to new options framework
Diffstat (limited to 'audio/linuxsampler')
-rw-r--r-- | audio/linuxsampler/Makefile | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/audio/linuxsampler/Makefile b/audio/linuxsampler/Makefile index 13002ea3994f..2b3ce2e61f3c 100644 --- a/audio/linuxsampler/Makefile +++ b/audio/linuxsampler/Makefile @@ -21,11 +21,10 @@ RESTRICTED= no commercial use ONLY_FOR_ARCHS= i386 amd64 ONLY_FOR_ARCHS_REASON= "not yet ported" -OPTIONS= JACK "Enable JACK support" on \ - ALSA "Enable ALSA support" off \ - ARTS "Enable aRts support" off \ - DSSI "Enable DSSI support" off \ - LV2CORE "Enable LV2 support" off +OPTIONS_DEFINE= JACK ALSA ARTS DSSI LV2CORE +OPTIONS_DEFAULT= JACK +DSSI_DESC= Enable DSSI support +LV2CORE_DESC= Enable LV2 support USE_BZIP2= yes USE_GNOME= gnomehack @@ -43,25 +42,25 @@ LDFLAGS+= -L${LOCALBASE}/lib .include <bsd.port.pre.mk> -.if defined(WITHOUT_JACK) -CONFIGURE_ARGS+=--disable-jack-driver -.else +.if ${PORT_OPTIONS:MJACK} LIB_DEPENDS+= jack.0:${PORTSDIR}/audio/jack +.else +CONFIGURE_ARGS+=--disable-jack-driver .endif -.if defined(WITH_ALSA) +.if ${PORT_OPTIONS:MALSA} LIB_DEPENDS+= asound.2:${PORTSDIR}/audio/alsa-lib .else CONFIGURE_ARGS+=--disable-alsa-driver .endif -.if defined(WITH_ARTS) +.if ${PORT_OPTIONS:MARTS} LIB_DEPENDS+= artsc.0:${PORTSDIR}/audio/arts .else CONFIGURE_ARGS+=--disable-arts-driver .endif -.if defined(WITH_DSSI) +.if ${PORT_OPTIONS:MDSSI} BUILD_DEPENDS+= dssi>=0:${PORTSDIR}/audio/dssi RUN_DEPENDS+= dssi>=0:${PORTSDIR}/audio/dssi PLIST_SUB+= DSSI="" @@ -70,7 +69,7 @@ CONFIGURE_ENV+= ac_cv_header_dssi_h=no PLIST_SUB+= DSSI="@comment " .endif -.if defined(WITH_LV2CORE) +.if ${PORT_OPTIONS:MLV2CORE} BUILD_DEPENDS+= lv2core>=0:${PORTSDIR}/audio/lv2core RUN_DEPENDS+= lv2core>=0:${PORTSDIR}/audio/lv2core PLIST_SUB+= LV2CORE="" |