From d7ffc58746c91b1d93ea1550aed0ab2eb935519a Mon Sep 17 00:00:00 2001 From: petef Date: Fri, 16 May 2003 03:11:23 +0000 Subject: Update to 0.0.15. PR: 52044 Submitted by: Ports Fury --- audio/libsamplerate/Makefile | 34 ++++++++++++---------------------- audio/libsamplerate/distinfo | 2 +- audio/libsamplerate/pkg-plist | 15 +++++++-------- 3 files changed, 20 insertions(+), 31 deletions(-) diff --git a/audio/libsamplerate/Makefile b/audio/libsamplerate/Makefile index 5ab3899..d5dfc0f 100644 --- a/audio/libsamplerate/Makefile +++ b/audio/libsamplerate/Makefile @@ -6,42 +6,32 @@ # PORTNAME= libsamplerate -PORTVERSION= 0.0.14 +PORTVERSION= 0.0.15 CATEGORIES= audio MASTER_SITES= http://www.mega-nerd.com/SRC/ MAINTAINER= ports@FreeBSD.org -COMMENT= Secret Rabbit Code is a Sample Rate Converter for audio +COMMENT= Secret Rabbit Code: a Sample Rate Converter for audio BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig -LIB_DEPENDS= sndfile.1:${PORTSDIR}/audio/libsndfile +LIB_DEPENDS= sndfile.1:${PORTSDIR}/audio/libsndfile \ + fftw.2:${PORTSDIR}/math/fftw RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig -INSTALLS_SHLIB= yes -USE_REINPLACE= yes +USE_GNOME= gnomehack USE_LIBTOOL= yes -CONFIGURE_ARGS= --disable-gcc-pipe CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} - -.if defined(WITH_DEBUG) -CONFIGURE_ARGS+= --enable-debug -.endif - -PORTDOCS= SRC.png SRC.css index.html license.html history.html \ - download.html lists.html quality.html win32.html \ - api.html api_simple.html api_full.html api_misc.html - -post-patch: - @${REINPLACE_CMD} -e \ - 's|libdir[)]/pkgconfig|prefix)/libdata/pkgconfig|g' \ - ${WRKSRC}/Makefile.in +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS= --disable-gcc-pipe +INSTALLS_SHLIB= yes post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} -.for file in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR} -.endfor + ${INSTALL_DATA} ${WRKSRC}/doc/*.css ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/*.png ${DOCSDIR} .endif .include diff --git a/audio/libsamplerate/distinfo b/audio/libsamplerate/distinfo index 431bb3f..28955c8 100644 --- a/audio/libsamplerate/distinfo +++ b/audio/libsamplerate/distinfo @@ -1 +1 @@ -MD5 (libsamplerate-0.0.14.tar.gz) = 485a6e19d6ee0c5edf65e7be9ae02422 +MD5 (libsamplerate-0.0.15.tar.gz) = 6b15cc39d1275f1118de4d57f89544eb diff --git a/audio/libsamplerate/pkg-plist b/audio/libsamplerate/pkg-plist index 2003cc9..3fe98f5 100644 --- a/audio/libsamplerate/pkg-plist +++ b/audio/libsamplerate/pkg-plist @@ -4,17 +4,16 @@ lib/libsamplerate.a lib/libsamplerate.so lib/libsamplerate.so.0 libdata/pkgconfig/samplerate.pc -%%PORTDOCS%%share/doc/libsamplerate/SRC.png %%PORTDOCS%%share/doc/libsamplerate/SRC.css +%%PORTDOCS%%share/doc/libsamplerate/SRC.png +%%PORTDOCS%%share/doc/libsamplerate/api.html +%%PORTDOCS%%share/doc/libsamplerate/api_full.html +%%PORTDOCS%%share/doc/libsamplerate/api_misc.html +%%PORTDOCS%%share/doc/libsamplerate/api_simple.html +%%PORTDOCS%%share/doc/libsamplerate/download.html +%%PORTDOCS%%share/doc/libsamplerate/history.html %%PORTDOCS%%share/doc/libsamplerate/index.html %%PORTDOCS%%share/doc/libsamplerate/license.html -%%PORTDOCS%%share/doc/libsamplerate/history.html -%%PORTDOCS%%share/doc/libsamplerate/download.html %%PORTDOCS%%share/doc/libsamplerate/lists.html %%PORTDOCS%%share/doc/libsamplerate/quality.html %%PORTDOCS%%share/doc/libsamplerate/win32.html -%%PORTDOCS%%share/doc/libsamplerate/api.html -%%PORTDOCS%%share/doc/libsamplerate/api_simple.html -%%PORTDOCS%%share/doc/libsamplerate/api_full.html -%%PORTDOCS%%share/doc/libsamplerate/api_misc.html -@dirrm %%PORTDOCS%%share/doc/libsamplerate -- cgit v1.1