diff options
author | FUJISHIMA Satsuki <sf@FreeBSD.org> | 2001-03-02 22:07:37 +0000 |
---|---|---|
committer | FUJISHIMA Satsuki <sf@FreeBSD.org> | 2001-03-02 22:07:37 +0000 |
commit | c22c3b06b986e5b4ffb9a527fb5738f6af719663 (patch) | |
tree | 96e85daf3531b8190f7dc31785628b67c9872a8f /audio/libao | |
parent | use IPv6 patch supplied from KAME. (diff) |
o respect CFLAGS (libao, libogg, libvorbis)
o add ESOUND and KDE2 knob. (libao)
o add WWW. (libogg)
o get rid of xmms dependency. (vorbis)
Approved by: maintainer
Diffstat (limited to 'audio/libao')
-rw-r--r-- | audio/libao/Makefile | 20 | ||||
-rw-r--r-- | audio/libao/files/patch-ac | 11 | ||||
-rw-r--r-- | audio/libao/pkg-plist | 2 |
3 files changed, 32 insertions, 1 deletions
diff --git a/audio/libao/Makefile b/audio/libao/Makefile index c76f03da7871..38df08d04785 100644 --- a/audio/libao/Makefile +++ b/audio/libao/Makefile @@ -13,6 +13,8 @@ MASTER_SITES= http://home.student.utwente.nl/t.vanklaveren/distfiles/ \ MAINTAINER= t.vanklaveren@student.utwente.nl +WANT_ESOUND= yes + GNU_CONFIGURE= yes USE_GMAKE= yes USE_LIBTOOL= yes @@ -20,4 +22,20 @@ USE_AUTOMAKE= yes INSTALLS_SHLIB= yes -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if defined(HAVE_ESOUND) +USE_ESOUND= yes +PLIST_SUB= ESOUND="" +.else +PLIST_SUB= ESOUND="@comment " +.endif + +.if exists(${LOCALBASE}/bin/artsc-config) +LIB_DEPENDS= artsc.0:${PORTSDIR}/x11/kdelibs2 +PLIST_SUB+= ARTS="" +.else +PLIST_SUB+= ARTS="@comment " +.endif + +.include <bsd.port.post.mk> diff --git a/audio/libao/files/patch-ac b/audio/libao/files/patch-ac new file mode 100644 index 000000000000..cdac7830f87a --- /dev/null +++ b/audio/libao/files/patch-ac @@ -0,0 +1,11 @@ +--- configure.in.orig Sat Feb 24 10:31:45 2001 ++++ configure.in Fri Mar 2 13:03:53 2001 +@@ -60,7 +60,7 @@ + PROFILE="-pg -g -O20 -D__NO_MATH_INLINES -fsigned-char -mv8" ;; + *) + DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char" +- CFLAGS="-O20 -D__NO_MATH_INLINES -fsigned-char" ++ CFLAGS="-D__NO_MATH_INLINES -fsigned-char $CFLAGS" + PROFILE="-O20 -g -pg -D__NO_MATH_INLINES -fsigned-char" ;; + esac + fi diff --git a/audio/libao/pkg-plist b/audio/libao/pkg-plist index 3eb113a93009..1a119665b127 100644 --- a/audio/libao/pkg-plist +++ b/audio/libao/pkg-plist @@ -2,7 +2,9 @@ include/ao/ao.h include/ao/os_types.h lib/libao.so lib/libao.so.1 +%%ARTS%%lib/ao/libarts.so lib/ao/liboss.so +%%ESOUND%%lib/ao/libesd.so share/doc/libao-0.6.0/API share/doc/libao-0.6.0/DRIVERS share/doc/libao-0.6.0/USAGE |