aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2013-09-25 02:43:17 +0800
committernaddy <naddy@FreeBSD.org>2013-09-25 02:43:17 +0800
commit0795ab68b6e418cc7eb79efbeee7c8a7ca07aabb (patch)
treed917211d08fe98820a33f054913d805da6681767 /audio
parent52af9344785eff58ceee49fca7fb6820f7a6c85e (diff)
downloadfreebsd-ports-gnome-0795ab68b6e418cc7eb79efbeee7c8a7ca07aabb.tar.gz
freebsd-ports-gnome-0795ab68b6e418cc7eb79efbeee7c8a7ca07aabb.tar.zst
freebsd-ports-gnome-0795ab68b6e418cc7eb79efbeee7c8a7ca07aabb.zip
Convert to stage and overhaul.
Diffstat (limited to 'audio')
-rw-r--r--audio/libao/Makefile41
-rw-r--r--audio/libao/files/patch-Makefile.in14
-rw-r--r--audio/libao/pkg-plist1
3 files changed, 10 insertions, 46 deletions
diff --git a/audio/libao/Makefile b/audio/libao/Makefile
index b51767693a9c..00dc531c31df 100644
--- a/audio/libao/Makefile
+++ b/audio/libao/Makefile
@@ -10,48 +10,25 @@ MASTER_SITES= http://downloads.xiph.org/releases/ao/
MAINTAINER= naddy@FreeBSD.org
COMMENT= Portable audio output library
-USE_AUTOTOOLS= libtool
-NO_STAGE= yes
-WANT_GNOME= yes
USES= pathfix pkgconfig
-GNU_CONFIGURE= yes
+USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
+GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-arts
-MAN5= libao.conf.5
-
OPTIONS_DEFINE= DOCS ESOUND NAS PULSEAUDIO
+OPTIONS_SUB= yes
-.include <bsd.port.options.mk>
+NAS_LIB_DEPENDS=libaudio.so:${PORTSDIR}/audio/nas
+NAS_CONFIGURE_ENABLE= nas
-.if ${PORT_OPTIONS:MDOCS}
-MAKE_ENV= DOC=doc
-.else
-MAKE_ENV= DOC=""
-.endif
+PULSEAUDIO_LIB_DEPENDS= libpulse-simple.so:${PORTSDIR}/audio/pulseaudio
+PULSEAUDIO_CONFIGURE_ENABLE= pulse
+ESOUND_CONFIGURE_ENABLE=esd
+.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MESOUND}
USE_GNOME+= esound
-PLIST_SUB+= ESOUND=""
-.else
-CONFIGURE_ARGS+=--disable-esd
-PLIST_SUB+= ESOUND="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MNAS}
-LIB_DEPENDS+= audio.2:${PORTSDIR}/audio/nas
-PLIST_SUB+= NAS=""
-.else
-CONFIGURE_ARGS+=--disable-nas
-PLIST_SUB+= NAS="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MPULSEAUDIO}
-LIB_DEPENDS+= pulse-simple.0:${PORTSDIR}/audio/pulseaudio
-PLIST_SUB+= PULSEAUDIO=""
-.else
-CONFIGURE_ARGS+=--disable-pulse
-PLIST_SUB+= PULSEAUDIO="@comment "
.endif
post-patch:
diff --git a/audio/libao/files/patch-Makefile.in b/audio/libao/files/patch-Makefile.in
deleted file mode 100644
index 493ebf83cc0c..000000000000
--- a/audio/libao/files/patch-Makefile.in
+++ /dev/null
@@ -1,14 +0,0 @@
-
-$FreeBSD$
-
---- Makefile.in.orig 2007-07-14 18:06:32.000000000 -0400
-+++ Makefile.in 2007-07-14 18:06:52.000000000 -0400
-@@ -225,7 +225,7 @@ target_alias = @target_alias@
- top_builddir = @top_builddir@
- top_srcdir = @top_srcdir@
- AUTOMAKE_OPTIONS = foreign 1.6 dist-zip
--SUBDIRS = src include doc
-+SUBDIRS = src include $(DOC)
- m4datadir = $(datadir)/aclocal
- m4data_DATA = ao.m4
- pkgconfigdir = $(prefix)/libdata/pkgconfig
diff --git a/audio/libao/pkg-plist b/audio/libao/pkg-plist
index 19a6e415cdc1..fed280d2eb59 100644
--- a/audio/libao/pkg-plist
+++ b/audio/libao/pkg-plist
@@ -15,6 +15,7 @@ lib/ao/plugins-4/liboss.so
%%PULSEAUDIO%%lib/ao/plugins-4/libpulse.la
%%PULSEAUDIO%%lib/ao/plugins-4/libpulse.so
libdata/pkgconfig/ao.pc
+man/man5/libao.conf.5.gz
share/aclocal/ao.m4
%%PORTDOCS%%%%DOCSDIR%%/ao_append_option.html
%%PORTDOCS%%%%DOCSDIR%%/ao_close.html