aboutsummaryrefslogtreecommitdiff
path: root/audio/libsamplerate
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2011-08-31 10:39:50 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2011-08-31 10:39:50 +0000
commit0d3d7668728d5ee94cd22fc7ae77c94ce47d988c (patch)
treef979f09c139e34808e4a53183cb1a9fc281cff0d /audio/libsamplerate
parentd2b93068f021ded1f0eeb13e201c63c8eb2e6ea4 (diff)
downloadports-0d3d7668728d5ee94cd22fc7ae77c94ce47d988c.tar.gz
ports-0d3d7668728d5ee94cd22fc7ae77c94ce47d988c.zip
Notes
Diffstat (limited to 'audio/libsamplerate')
-rw-r--r--audio/libsamplerate/Makefile10
-rw-r--r--audio/libsamplerate/files/patch-configure40
-rw-r--r--audio/libsamplerate/files/patch-configure.ac33
3 files changed, 2 insertions, 81 deletions
diff --git a/audio/libsamplerate/Makefile b/audio/libsamplerate/Makefile
index 1b0a12d59fca..66a516f20ad4 100644
--- a/audio/libsamplerate/Makefile
+++ b/audio/libsamplerate/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libsamplerate
PORTVERSION= 0.1.8
+PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://www.mega-nerd.com/SRC/
@@ -22,13 +23,6 @@ LIB_DEPENDS+= sndfile.1:${PORTSDIR}/audio/libsndfile \
USE_GNOME= gnomehack pkgconfig
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
-
-post-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/*.css ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/*.png ${DOCSDIR}
-.endif
+MAKE_ARGS= htmldocdir=${PREFIX}/share/doc/libsamplerate
.include <bsd.port.mk>
diff --git a/audio/libsamplerate/files/patch-configure b/audio/libsamplerate/files/patch-configure
deleted file mode 100644
index 5c8071e93bcc..000000000000
--- a/audio/libsamplerate/files/patch-configure
+++ /dev/null
@@ -1,40 +0,0 @@
---- configure.orig 2011-08-24 08:46:26.000000000 -0300
-+++ configure 2011-08-24 08:47:26.000000000 -0300
-@@ -17137,12 +17137,12 @@
- ;;
- esac
-
--htmldocdir=$prefix/share/doc/libsamplerate0-dev/html
-+htmldocdir=$prefix/share/doc/libsamplerate
-
- if test $prefix = "NONE" ; then
-- htmldocdir=/usr/local/share/doc/libsamplerate0-dev/html
-+ htmldocdir=/usr/local/share/doc/libsamplerate
- else
-- htmldocdir=$prefix/share/doc/libsamplerate0-dev/html
-+ htmldocdir=$prefix/share/doc/libsamplerate
- fi
-
- #====================================================================================
-@@ -20124,18 +20124,18 @@
-
- Library directory : ........... ${prefix}/lib
- Program directory : ........... ${prefix}/bin
-- Pkgconfig directory : ......... ${prefix}/lib/pkgconfig
-+ Pkgconfig directory : ......... ${prefix}/libdata/pkgconfig
- " >&5
- $as_echo " Installation directories :
-
- Library directory : ........... ${prefix}/lib
- Program directory : ........... ${prefix}/bin
-- Pkgconfig directory : ......... ${prefix}/lib/pkgconfig
-+ Pkgconfig directory : ......... ${prefix}/libdata/pkgconfig
- " >&6; }
-
- if test x$prefix != "x/usr" ; then
- echo "Compiling some other packages against ${PACKAGE} may require "
-- echo -e "the addition of \"${prefix}/lib/pkgconfig\" to the "
-+ echo -e "the addition of \"${prefix}/libdata/pkgconfig\" to the "
- echo -e "PKG_CONFIG_PATH environment variable.\n"
- fi
-
diff --git a/audio/libsamplerate/files/patch-configure.ac b/audio/libsamplerate/files/patch-configure.ac
deleted file mode 100644
index 15c381f2a015..000000000000
--- a/audio/libsamplerate/files/patch-configure.ac
+++ /dev/null
@@ -1,33 +0,0 @@
---- configure.ac.orig 2011-08-24 08:46:32.000000000 -0300
-+++ configure.ac 2011-08-24 08:48:08.000000000 -0300
-@@ -262,12 +262,12 @@
- ;;
- esac
-
--htmldocdir=$prefix/share/doc/libsamplerate0-dev/html
-+htmldocdir=$prefix/share/doc/libsamplerate/html
-
- if test $prefix = "NONE" ; then
-- htmldocdir=/usr/local/share/doc/libsamplerate0-dev/html
-+ htmldocdir=/usr/local/share/doc/libsamplerate
- else
-- htmldocdir=$prefix/share/doc/libsamplerate0-dev/html
-+ htmldocdir=$prefix/share/doc/libsamplerate
- fi
-
- #====================================================================================
-@@ -331,12 +331,12 @@
-
- Library directory : ........... ${prefix}/lib
- Program directory : ........... ${prefix}/bin
-- Pkgconfig directory : ......... ${prefix}/lib/pkgconfig
-+ Pkgconfig directory : ......... ${prefix}/libdata/pkgconfig
- ])
-
- if test x$prefix != "x/usr" ; then
- echo "Compiling some other packages against ${PACKAGE} may require "
-- echo -e "the addition of \"${prefix}/lib/pkgconfig\" to the "
-+ echo -e "the addition of \"${prefix}/libdata/pkgconfig\" to the "
- echo -e "PKG_CONFIG_PATH environment variable.\n"
- fi
-