1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00

Convert to stage and overhaul.

This commit is contained in:
Christian Weisgerber 2013-09-24 18:43:17 +00:00
parent 6cbf8ed327
commit 079bf04b48
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=328189
3 changed files with 11 additions and 47 deletions

View File

@ -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
NAS_LIB_DEPENDS=libaudio.so:${PORTSDIR}/audio/nas
NAS_CONFIGURE_ENABLE= nas
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:MDOCS}
MAKE_ENV= DOC=doc
.else
MAKE_ENV= DOC=""
.endif
.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:

View File

@ -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

View File

@ -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