aboutsummaryrefslogtreecommitdiff
path: root/audio/libsamplerate
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2003-05-16 03:11:23 +0000
committerPete Fritchman <petef@FreeBSD.org>2003-05-16 03:11:23 +0000
commitbb3729b0e8d7d3e968370a5137fe0ac025039561 (patch)
tree1b9e49155dcb0fa90d98d53d01cdd3023b0788f0 /audio/libsamplerate
parent5e6ec0335b88a3dfcf8396d9bf3248109141ec3d (diff)
downloadports-bb3729b0e8d7d3e968370a5137fe0ac025039561.tar.gz
ports-bb3729b0e8d7d3e968370a5137fe0ac025039561.zip
Notes
Diffstat (limited to 'audio/libsamplerate')
-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