diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2012-12-31 02:15:16 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2012-12-31 02:15:16 +0800 |
commit | 24db4d7c62855addab344acacb475cc519745a98 (patch) | |
tree | 4efb76e3cab47ba0e4a2223fb2efe4542bcbb1a2 /audio/libcanberra | |
parent | 0536fe390597f2d682e14373777c2274581d9a21 (diff) | |
download | marcuscom-ports-24db4d7c62855addab344acacb475cc519745a98.tar marcuscom-ports-24db4d7c62855addab344acacb475cc519745a98.tar.gz marcuscom-ports-24db4d7c62855addab344acacb475cc519745a98.tar.bz2 marcuscom-ports-24db4d7c62855addab344acacb475cc519745a98.tar.lz marcuscom-ports-24db4d7c62855addab344acacb475cc519745a98.tar.xz marcuscom-ports-24db4d7c62855addab344acacb475cc519745a98.tar.zst marcuscom-ports-24db4d7c62855addab344acacb475cc519745a98.zip |
Sync w/ FreeBSD ports tree that I have committed since a few days.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@17183 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'audio/libcanberra')
-rw-r--r-- | audio/libcanberra/Makefile | 31 |
1 files changed, 14 insertions, 17 deletions
diff --git a/audio/libcanberra/Makefile b/audio/libcanberra/Makefile index 8ab7b4297..9b7ae302b 100644 --- a/audio/libcanberra/Makefile +++ b/audio/libcanberra/Makefile @@ -1,9 +1,6 @@ -# New ports collection makefile for: libcanberra -# Date created: 05 August 2008 -# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> -# -# $FreeBSD$ -# $MCom: ports/audio/libcanberra/Makefile,v 1.29 2012/04/27 13:28:44 kwm Exp $ +# Created by: Joe Marcus Clarke <marcus@FreeBSD.org> +# $FreeBSD: head/audio/libcanberra/Makefile 309632 2012-12-29 20:57:20Z mezz $ +# $MCom: ports/audio/libcanberra/Makefile,v 1.28 2011/06/11 18:55:56 mezz Exp $ PORTNAME= libcanberra PORTVERSION= 0.28 @@ -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 gnomehier 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> |