aboutsummaryrefslogtreecommitdiffstats
path: root/audio/libsndfile
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-09-20 15:36:43 +0800
committerknu <knu@FreeBSD.org>2002-09-20 15:36:43 +0800
commit320330cf5c948228d3cb255dd86814d3f4cfbe07 (patch)
tree818c672e3b9b3f06dbe8e590d2324cb2cdf867a0 /audio/libsndfile
parentebc8c9370581fbce9c72918db3b522f30c516dda (diff)
downloadfreebsd-ports-gnome-320330cf5c948228d3cb255dd86814d3f4cfbe07.tar.gz
freebsd-ports-gnome-320330cf5c948228d3cb255dd86814d3f4cfbe07.tar.zst
freebsd-ports-gnome-320330cf5c948228d3cb255dd86814d3f4cfbe07.zip
Update libsndfile to version 1.0.1 with a shlib major bump.
PR: ports/42968 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'audio/libsndfile')
-rw-r--r--audio/libsndfile/Makefile10
-rw-r--r--audio/libsndfile/distinfo2
-rw-r--r--audio/libsndfile/files/patch-configure10
-rw-r--r--audio/libsndfile/pkg-plist9
4 files changed, 28 insertions, 3 deletions
diff --git a/audio/libsndfile/Makefile b/audio/libsndfile/Makefile
index c426a7d5e075..79be9903c550 100644
--- a/audio/libsndfile/Makefile
+++ b/audio/libsndfile/Makefile
@@ -7,22 +7,30 @@
#
PORTNAME= libsndfile
-PORTVERSION= 0.0.28
+PORTVERSION= 1.0.1
CATEGORIES= audio
MASTER_SITES= http://www.zip.com.au/~erikd/libsndfile/
MAINTAINER= ports@FreeBSD.org
+BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
+RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
+
USE_REINPLACE= yes
USE_LIBTOOL= yes
CONFIGURE_ARGS= --enable-justsrc --disable-gcc-pipe
INSTALLS_SHLIB= yes
+MAN1= sndfile-info.1 sndfile-play.1
+
PORTDOCS= ChangeLog NEWS api.html bugs.html index.html libsndfile.jpg \
new_file_type.HOWTO sndfile_info.html
pre-patch:
@${REINPLACE_CMD} -e 's|-g -O2 ||g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e \
+ 's|libdir[)]/pkgconfig|prefix)/libdata/pkgconfig|g' \
+ ${WRKSRC}/Makefile.in
post-install:
.if !defined(NOPORTDOCS)
diff --git a/audio/libsndfile/distinfo b/audio/libsndfile/distinfo
index 0c9e031e19fa..e45b3fc271f7 100644
--- a/audio/libsndfile/distinfo
+++ b/audio/libsndfile/distinfo
@@ -1 +1 @@
-MD5 (libsndfile-0.0.28.tar.gz) = 611bde6c4d774a70d377d7d9da40f8ae
+MD5 (libsndfile-1.0.1.tar.gz) = bb328567ad639b72d22f7bf3b31550c7
diff --git a/audio/libsndfile/files/patch-configure b/audio/libsndfile/files/patch-configure
new file mode 100644
index 000000000000..66bb1b3ea544
--- /dev/null
+++ b/audio/libsndfile/files/patch-configure
@@ -0,0 +1,10 @@
+--- configure.orig Fri Sep 13 18:56:06 2002
++++ configure Wed Sep 18 04:21:29 2002
+@@ -5432,6 +5432,7 @@
+
+ # This can be used to rebuild libtool when needed
+ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++$ac_aux_dir/ltconfig $LIBTOOL_DEPS
+
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
diff --git a/audio/libsndfile/pkg-plist b/audio/libsndfile/pkg-plist
index dc452e6a0858..ac53e7ef13fc 100644
--- a/audio/libsndfile/pkg-plist
+++ b/audio/libsndfile/pkg-plist
@@ -1,7 +1,8 @@
include/sndfile.h
lib/libsndfile.a
lib/libsndfile.so
-lib/libsndfile.so.0
+lib/libsndfile.so.1
+libdata/pkgconfig/sndfile.pc
%%PORTDOCS%%share/doc/libsndfile/ChangeLog
%%PORTDOCS%%share/doc/libsndfile/NEWS
%%PORTDOCS%%share/doc/libsndfile/api.html
@@ -10,4 +11,10 @@ lib/libsndfile.so.0
%%PORTDOCS%%share/doc/libsndfile/libsndfile.jpg
%%PORTDOCS%%share/doc/libsndfile/new_file_type.HOWTO
%%PORTDOCS%%share/doc/libsndfile/sndfile_info.html
+share/octave/site/m/sndfile_load.m
+share/octave/site/m/sndfile_play.m
+share/octave/site/m/sndfile_save.m
+@unexec rmdir %D/share/octave/site/m 2>/dev/null || true
+@unexec rmdir %D/share/octave/site 2>/dev/null || true
+@unexec rmdir %D/share/octave 2>/dev/null || true
%%PORTDOCS%%@dirrm share/doc/libsndfile