Convert to OptionsNG

This commit is contained in:
Eitan Adler 2012-10-06 22:51:32 +00:00
parent 458ec22f7f
commit 44280b079f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=305416

View file

@ -1,9 +1,5 @@
# New ports collection makefile for: Xfce4-media # Created by: Matt Lancereau <ports@FreeBSD.org>
# Date created: 23 October 2004
# Whom: Matt Lancereau <ports@FreeBSD.org>
#
# $FreeBSD$ # $FreeBSD$
#
PORTNAME= xfce4-media PORTNAME= xfce4-media
PORTVERSION= 0.9.2 PORTVERSION= 0.9.2
@ -27,27 +23,29 @@ USE_GNOME= glib20 gnomehack gtk20 intltool intlhack pkgconfig
USE_XFCE= configenv libexo libgui libutil panel USE_XFCE= configenv libexo libgui libutil panel
USE_XORG= x11 sm USE_XORG= x11 sm
OPTIONS= TAGLIB "Enable metadata editing" off \ OPTIONS_DEFINE= TAGLIB DBUS STARTUP
DBUS "Enable D-BUS support" on \ OPTIONS_DEFAULT= DBUS STARTUP
STARTUP "Enable startup notification support" on
TAGLIB_DESC= metadata editing support
STARTUP_DESC= startup notification support
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.if defined(WITH_TAGLIB) .if ${PORT_OPTIONS:MTABLIB}
LIB_DEPENDS+= tag.1:${PORTSDIR}/audio/taglib LIB_DEPENDS+= tag.1:${PORTSDIR}/audio/taglib
CONFIGURE_ARGS+=--with-taglib CONFIGURE_ARGS+=--with-taglib
.else .else
CONFIGURE_ARGS+=--without-taglib CONFIGURE_ARGS+=--without-taglib
.endif .endif
.if !defined(WITHOUT_DBUS) .if ${PORT_OPTIONS:MDBUS}
LIB_DEPENDS+= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib LIB_DEPENDS+= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
CONFIGURE_ARGS+=--enable-dbus CONFIGURE_ARGS+=--enable-dbus
.else .else
CONFIGURE_ARGS+=--disable-dbus CONFIGURE_ARGS+=--disable-dbus
.endif .endif
.if !defined(WITHOUT_STARTUP) .if ${PORT_OPTIONS:MSTARTUP}
LIB_DEPENDS+= startup-notification-1.0:${PORTSDIR}/x11/startup-notification LIB_DEPENDS+= startup-notification-1.0:${PORTSDIR}/x11/startup-notification
CONFIGURE_ARGS+=--enable-startup-notification CONFIGURE_ARGS+=--enable-startup-notification
.else .else