Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Sep 2002 12:46:32 -0700 (PDT)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/42968: Update port: audio/libsndfile to 1.0.1
Message-ID:  <200209191946.g8JJkWdV013363@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         42968
>Category:       ports
>Synopsis:       Update port: audio/libsndfile to 1.0.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 19 12:50:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.6.2-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 1.0.1

New file:
files/patch-configure

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/audio/libsndfile/Makefile audio/libsndfile/Makefile
--- /usr/ports/audio/libsndfile/Makefile	Tue Sep 10 20:05:35 2002
+++ audio/libsndfile/Makefile	Wed Sep 18 04:29:58 2002
@@ -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 -urN /usr/ports/audio/libsndfile/distinfo audio/libsndfile/distinfo
--- /usr/ports/audio/libsndfile/distinfo	Fri May  3 06:23:37 2002
+++ audio/libsndfile/distinfo	Wed Sep 18 04:15:59 2002
@@ -1 +1 @@
-MD5 (libsndfile-0.0.28.tar.gz) = 611bde6c4d774a70d377d7d9da40f8ae
+MD5 (libsndfile-1.0.1.tar.gz) = bb328567ad639b72d22f7bf3b31550c7
diff -urN /usr/ports/audio/libsndfile/files/patch-configure audio/libsndfile/files/patch-configure
--- /usr/ports/audio/libsndfile/files/patch-configure	Thu Jan  1 09:00:00 1970
+++ audio/libsndfile/files/patch-configure	Wed Sep 18 04:21:39 2002
@@ -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 -urN /usr/ports/audio/libsndfile/pkg-plist audio/libsndfile/pkg-plist
--- /usr/ports/audio/libsndfile/pkg-plist	Sat Nov 24 02:32:50 2001
+++ audio/libsndfile/pkg-plist	Wed Sep 18 04:29:22 2002
@@ -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 @@
 %%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

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209191946.g8JJkWdV013363>