diff options
author | tron <tron@pkgsrc.org> | 1999-03-06 21:11:01 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 1999-03-06 21:11:01 +0000 |
commit | ec7a6689bdb1bbd14861bb66cd2fe336ff573e61 (patch) | |
tree | 216cd2a5a09f22d132d499bb66238911badb22ed /audio/libaudiofile | |
parent | 80463369101eb6fed6e4d5a18c416c6df1cc25a1 (diff) | |
download | pkgsrc-ec7a6689bdb1bbd14861bb66cd2fe336ff573e61.tar.gz |
Initial import of FreeBSD's "libaudiofile" port:
a sound library for SGI audio file.
Diffstat (limited to 'audio/libaudiofile')
-rw-r--r-- | audio/libaudiofile/Makefile | 21 | ||||
-rw-r--r-- | audio/libaudiofile/files/md5 | 1 | ||||
-rw-r--r-- | audio/libaudiofile/patches/patch-aa | 19 | ||||
-rw-r--r-- | audio/libaudiofile/patches/patch-ab | 34 | ||||
-rw-r--r-- | audio/libaudiofile/pkg/COMMENT | 1 | ||||
-rw-r--r-- | audio/libaudiofile/pkg/DESCR | 16 | ||||
-rw-r--r-- | audio/libaudiofile/pkg/PLIST | 12 |
7 files changed, 104 insertions, 0 deletions
diff --git a/audio/libaudiofile/Makefile b/audio/libaudiofile/Makefile new file mode 100644 index 00000000000..1483abe06e3 --- /dev/null +++ b/audio/libaudiofile/Makefile @@ -0,0 +1,21 @@ +# New ports collection makefile for: libaudiofile +# Version required: 0.1.5 +# Date created: 22 Dec 1998 +# Whom: Vanilla I. Shu <vanilla@FreeBSD.ORG> +# +# Id: Makefile,v 1.2 1999/01/27 08:31:48 fenner Exp +# + +DISTNAME= libaudiofile-0.1.5 +CATEGORIES= audio +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= libaudiofile + +MAINTAINER= vanilla@FreeBSD.ORG + +GNU_CONFIGURE= yes + +post-install: + @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib + +.include <bsd.port.mk> diff --git a/audio/libaudiofile/files/md5 b/audio/libaudiofile/files/md5 new file mode 100644 index 00000000000..85b11de7d87 --- /dev/null +++ b/audio/libaudiofile/files/md5 @@ -0,0 +1 @@ +MD5 (libaudiofile-0.1.5.tar.gz) = 9eaf6631b47750c2c9cdedaa8da5546c diff --git a/audio/libaudiofile/patches/patch-aa b/audio/libaudiofile/patches/patch-aa new file mode 100644 index 00000000000..67d60c5e8db --- /dev/null +++ b/audio/libaudiofile/patches/patch-aa @@ -0,0 +1,19 @@ +--- ltmain.sh.orig Thu Dec 31 13:06:58 1998 ++++ ltmain.sh Thu Dec 31 13:07:53 1998 +@@ -923,6 +923,16 @@ + versuffix="$current.$revision" + ;; + ++ freebsd) ++ version_vars="$version_vars major versuffix" ++ major="$current" ++ if [ $PORTOBJFORMAT = elf ]; then ++ versuffix="$current" ++ else ++ versuffix="$current.$revision" ++ fi ++ ;; ++ + *) + $echo "$modename: unknown library version type \`$version_type'" 1>&2 + echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 diff --git a/audio/libaudiofile/patches/patch-ab b/audio/libaudiofile/patches/patch-ab new file mode 100644 index 00000000000..2961bcfd174 --- /dev/null +++ b/audio/libaudiofile/patches/patch-ab @@ -0,0 +1,34 @@ +--- ltconfig.orig Tue Dec 15 01:13:45 1998 ++++ ltconfig Tue Feb 2 02:30:10 1999 +@@ -767,7 +767,7 @@ + ;; + + # FreeBSD 3, at last, uses gcc -shared to do shared libraries. +- freebsd3*) ++ freebsd*) + archive_cmds='$CC -shared -o $lib$libobjs' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes +@@ -1105,10 +1105,21 @@ + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "$lib" | sed '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' + ;; + +-freebsd2* | freebsd3*) ++freebsd2*) + version_type=sunos + library_names_spec='$libname.so.$versuffix $libname.so' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' ++ shlibpath_var=LD_LIBRARY_PATH ++ ;; ++ ++freebsd*) ++ version_type=freebsd ++ library_names_spec='$libname.so.$versuffix $libname.so' ++ if [ $PORTOBJFORMAT = elf ]; then ++ finish_cmds='PATH="\$PATH:/sbin" OBJFORMAT="$PORTOBJFORMAT" ldconfig -m $libdir' ++ else ++ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' ++ fi + shlibpath_var=LD_LIBRARY_PATH + ;; + diff --git a/audio/libaudiofile/pkg/COMMENT b/audio/libaudiofile/pkg/COMMENT new file mode 100644 index 00000000000..340c9fb12ea --- /dev/null +++ b/audio/libaudiofile/pkg/COMMENT @@ -0,0 +1 @@ +a sound library for SGI audio file. diff --git a/audio/libaudiofile/pkg/DESCR b/audio/libaudiofile/pkg/DESCR new file mode 100644 index 00000000000..ed1a18ec5bc --- /dev/null +++ b/audio/libaudiofile/pkg/DESCR @@ -0,0 +1,16 @@ +This Audio File Library is an implementation of the SGI Audio File +library. Since the latter is specified ambiguously in places, I've +taken some liberties in interpreting certain such ambiguities. At the +present, not all features of the SGI Audio File library are +implemented. I feel, though, that this implementation of the Audio +File Library offers enough functionality to be useful for general +tasks. + +This library allows the processing of audio data to and from audio +files of many common formats (currently AIFF, AIFC, WAVE, and +NeXT/Sun). + +http://www.68k.org./~michael/audiofile/ + +-Vanilla +vanilla@FreeBSD.ORG diff --git a/audio/libaudiofile/pkg/PLIST b/audio/libaudiofile/pkg/PLIST new file mode 100644 index 00000000000..6c86b79e6f8 --- /dev/null +++ b/audio/libaudiofile/pkg/PLIST @@ -0,0 +1,12 @@ +bin/audiofile-config +bin/sfconvert +bin/sfinfo +include/audiofile.h +include/aupvlist.h +lib/libaudiofile.a +lib/libaudiofile.la +lib/libaudiofile.so +lib/libaudiofile.so.0 +@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R +@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B +share/aclocal/audiofile.m4 |