svn commit: r305416 - head/multimedia/xfce4-media
Eitan Adler
eadler at FreeBSD.org
Sat Oct 6 22:51:32 UTC 2012
Author: eadler
Date: Sat Oct 6 22:51:32 2012
New Revision: 305416
URL: http://svn.freebsd.org/changeset/ports/305416
Log:
Convert to OptionsNG
Modified:
head/multimedia/xfce4-media/Makefile
Modified: head/multimedia/xfce4-media/Makefile
==============================================================================
--- head/multimedia/xfce4-media/Makefile Sat Oct 6 22:51:03 2012 (r305415)
+++ head/multimedia/xfce4-media/Makefile Sat Oct 6 22:51:32 2012 (r305416)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: Xfce4-media
-# Date created: 23 October 2004
-# Whom: Matt Lancereau <ports at FreeBSD.org>
-#
+# Created by: Matt Lancereau <ports at FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= xfce4-media
PORTVERSION= 0.9.2
@@ -27,27 +23,29 @@ USE_GNOME= glib20 gnomehack gtk20 intlto
USE_XFCE= configenv libexo libgui libutil panel
USE_XORG= x11 sm
-OPTIONS= TAGLIB "Enable metadata editing" off \
- DBUS "Enable D-BUS support" on \
- STARTUP "Enable startup notification support" on
+OPTIONS_DEFINE= TAGLIB DBUS STARTUP
+OPTIONS_DEFAULT= DBUS STARTUP
+
+TAGLIB_DESC= metadata editing support
+STARTUP_DESC= startup notification support
.include <bsd.port.pre.mk>
-.if defined(WITH_TAGLIB)
+.if ${PORT_OPTIONS:MTABLIB}
LIB_DEPENDS+= tag.1:${PORTSDIR}/audio/taglib
CONFIGURE_ARGS+=--with-taglib
.else
CONFIGURE_ARGS+=--without-taglib
.endif
-.if !defined(WITHOUT_DBUS)
+.if ${PORT_OPTIONS:MDBUS}
LIB_DEPENDS+= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
CONFIGURE_ARGS+=--enable-dbus
.else
CONFIGURE_ARGS+=--disable-dbus
.endif
-.if !defined(WITHOUT_STARTUP)
+.if ${PORT_OPTIONS:MSTARTUP}
LIB_DEPENDS+= startup-notification-1.0:${PORTSDIR}/x11/startup-notification
CONFIGURE_ARGS+=--enable-startup-notification
.else
More information about the svn-ports-head
mailing list