aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2012-12-30 04:57:20 +0800
committermezz <mezz@FreeBSD.org>2012-12-30 04:57:20 +0800
commitf15528185da5e7ff6e3be236de244e253be3bed4 (patch)
tree521bdedee59b81c84011dab06f1534afe9e1280e /audio
parentcff327ab0c8d9ae4e36a290b5c0fe4c3f7b585f5 (diff)
downloadfreebsd-ports-gnome-f15528185da5e7ff6e3be236de244e253be3bed4.tar.gz
freebsd-ports-gnome-f15528185da5e7ff6e3be236de244e253be3bed4.tar.zst
freebsd-ports-gnome-f15528185da5e7ff6e3be236de244e253be3bed4.zip
-Update to new header
-OPTIONSng -Remove the shared library version -portlint PR: ports/173788 ports/173809 ports/173802 Submitted by: Chris Petrik <c.petrik.sosa@gmail.com>
Diffstat (limited to 'audio')
-rw-r--r--audio/goobox/Makefile29
-rw-r--r--audio/libcanberra/Makefile27
2 files changed, 25 insertions, 31 deletions
diff --git a/audio/goobox/Makefile b/audio/goobox/Makefile
index 152535c5a531..374b53a42ba9 100644
--- a/audio/goobox/Makefile
+++ b/audio/goobox/Makefile
@@ -1,10 +1,6 @@
-# New ports collection makefile for: guikachu
-# Date created: 11 Nov 2004
-# Whom: Alexander Nedotsukov <bland@FreeBSD.org>
-#
+# Created by: Alexander Nedotsukov <bland@FreeBSD.org>
# $FreeBSD$
# $MCom: ports/audio/goobox/Makefile,v 1.25 2007/08/15 03:03:09 mezz Exp $
-#
PORTNAME= goobox
PORTVERSION= 2.2.0
@@ -17,10 +13,10 @@ MAINTAINER= gnome@FreeBSD.org
COMMENT= CD player and ripper for GNOME Desktop environment
BUILD_DEPENDS= ${LOCALBASE}/share/icons/gnome/index.theme:${PORTSDIR}/misc/gnome-icon-theme
-LIB_DEPENDS= discid.0:${PORTSDIR}/audio/libdiscid \
- musicbrainz3.6:${PORTSDIR}/audio/libmusicbrainz3 \
- brasero-media.3:${PORTSDIR}/sysutils/brasero \
- unique-1.0.2:${PORTSDIR}/x11-toolkits/unique
+LIB_DEPENDS= discid:${PORTSDIR}/audio/libdiscid \
+ musicbrainz3:${PORTSDIR}/audio/libmusicbrainz3 \
+ brasero-media:${PORTSDIR}/sysutils/brasero \
+ unique-1.0:${PORTSDIR}/x11-toolkits/unique
RUN_DEPENDS= ${LOCALBASE}/share/icons/gnome/index.theme:${PORTSDIR}/misc/gnome-icon-theme
USE_XORG= x11
@@ -37,18 +33,19 @@ LDFLAGS+= -L${LOCALBASE}/lib
GCONF_SCHEMAS= goobox.schemas
-OPTIONS= NOTIFY "Enable libnotify support" on
+OPTIONS_DEFINE= NOTIFY
+OPTIONS_DEFAULT=NOTIFY
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if !defined(WITHOUT_NOTIFY)
-LIB_DEPENDS+= notify.4:${PORTSDIR}/devel/libnotify
-CONFIGURE_ARGS+= --enable-notification
+.if ${PORT_OPTIONS:MNOTIFY}
+LIB_DEPENDS+= notify:${PORTSDIR}/devel/libnotify
+CONFIGURE_ARGS+=--enable-notification
.else
-CONFIGURE_ARGS+= --disable-notification
+CONFIGURE_ARGS+=--disable-notification
.endif
post-install:
@-update-desktop-database
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/audio/libcanberra/Makefile b/audio/libcanberra/Makefile
index 39818f026dce..f37ed1c4f4e1 100644
--- a/audio/libcanberra/Makefile
+++ b/audio/libcanberra/Makefile
@@ -1,7 +1,4 @@
-# New ports collection makefile for: libcanberra
-# Date created: 05 August 2008
-# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
-#
+# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
# $MCom: ports/audio/libcanberra/Makefile,v 1.28 2011/06/11 18:55:56 mezz Exp $
@@ -14,10 +11,11 @@ MASTER_SITES= http://0pointer.de/lennart/projects/libcanberra/
MAINTAINER= gnome@FreeBSD.org
COMMENT= Implementation of the Freedesktop sound theme spec
-LIB_DEPENDS= vorbisfile.6:${PORTSDIR}/audio/libvorbis
-
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/LGPL
+
+LIB_DEPENDS= vorbisfile:${PORTSDIR}/audio/libvorbis
+
USE_GMAKE= yes
USE_GNOME= gnomeprefix gnomehack gtk20 ltverhack gconf2
USE_LDCONFIG= yes
@@ -28,31 +26,30 @@ LDFLAGS+= -L${LOCALBASE}/lib
.if !defined(SLAVEPORT)
GCONF_SCHEMAS= libcanberra.schemas
-
-OPTIONS= PULSE "Enable Pulse Audio support" off \
- GSTREAMER "Enable GStreamer audio support" off
+.else
+OPTIONS_DEFINE= PULSEAUDIO GSTREAMER
.endif
PLIST_SUB= VERSION=${PORTVERSION}
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
.if defined(SLAVEPORT)
USE_GNOME+= gtk30
-LIB_DEPENDS+= canberra.0:${PORTSDIR}/audio/libcanberra
+LIB_DEPENDS+= canberra:${PORTSDIR}/audio/libcanberra
CONFIGURE_ARGS+=--enable-gtk3
.else
CONFIGURE_ARGS+=--disable-gtk3
-.if !defined(WITHOUT_PULSE)
-LIB_DEPENDS+= pulse.0:${PORTSDIR}/audio/pulseaudio
+.if ${PORT_OPTIONS:MPULSEAUDIO}
+LIB_DEPENDS+= pulse:${PORTSDIR}/audio/pulseaudio
PLIST_SUB+= PULSE=""
.else
CONFIGURE_ARGS+=--disable-pulse
PLIST_SUB+= PULSE="@comment "
.endif
-.if !defined(WITHOUT_GSTREAMER)
+.if ${PORT_OPTIONS:MGSTREAMER}
USE_GSTREAMER= yes
PLIST_SUB+= GSTREAMER=""
.else
@@ -66,4 +63,4 @@ post-patch:
@${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||g' \
${WRKSRC}/configure
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>