diff options
author | sf <sf@FreeBSD.org> | 2001-03-02 22:07:37 +0000 |
---|---|---|
committer | sf <sf@FreeBSD.org> | 2001-03-02 22:07:37 +0000 |
commit | 849d1dac70dcae3331ed39b6ca0b34d25d0a162e (patch) | |
tree | 10270f27c2852807518f3a7c300fa0a6b8220618 /audio/libao | |
parent | 222224560b7e8e854beb480e5b33b9c963270530 (diff) | |
download | FreeBSD-ports-849d1dac70dcae3331ed39b6ca0b34d25d0a162e.zip FreeBSD-ports-849d1dac70dcae3331ed39b6ca0b34d25d0a162e.tar.gz |
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 c76f03d..38df08d 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 0000000..cdac783 --- /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 3eb113a..1a11966 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 |