aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2003-05-16 11:11:23 +0800
committerpetef <petef@FreeBSD.org>2003-05-16 11:11:23 +0800
commitd7ffc58746c91b1d93ea1550aed0ab2eb935519a (patch)
treef5e546b7022d387ffe6384203a2c7d89bd743375 /audio
parent85c7b941e578b3d58db59f733b7261c8ed79117e (diff)
downloadfreebsd-ports-gnome-d7ffc58746c91b1d93ea1550aed0ab2eb935519a.tar.gz
freebsd-ports-gnome-d7ffc58746c91b1d93ea1550aed0ab2eb935519a.tar.zst
freebsd-ports-gnome-d7ffc58746c91b1d93ea1550aed0ab2eb935519a.zip
Update to 0.0.15.
PR: 52044 Submitted by: Ports Fury
Diffstat (limited to 'audio')
-rw-r--r--audio/libsamplerate/Makefile34
-rw-r--r--audio/libsamplerate/distinfo2
-rw-r--r--audio/libsamplerate/pkg-plist15
3 files changed, 20 insertions, 31 deletions
diff --git a/audio/libsamplerate/Makefile b/audio/libsamplerate/Makefile
index 5ab38991e531..d5dfc0fad66c 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 <bsd.port.mk>
diff --git a/audio/libsamplerate/distinfo b/audio/libsamplerate/distinfo
index 431bb3f4118b..28955c801194 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 2003cc9a3fdf..3fe98f53de4d 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