diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-01-05 21:37:38 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-01-05 21:37:38 +0000 |
commit | 723d455888b3bc12f96e07cc661f894fc76bd75b (patch) | |
tree | 5251923bb34855a67a3bd45200befc807d89c5cf /audio/soundtouch/Makefile | |
parent | Upgrade drupal to 4.7.5 fixing a couple security issues. (diff) |
- Update to 1.3.1
PR: ports/106500
Submitted by: trasz <trasz@pin.if.uz.zgora.pl>
Approved by: maintainer timeout
Diffstat (limited to 'audio/soundtouch/Makefile')
-rw-r--r-- | audio/soundtouch/Makefile | 25 |
1 files changed, 19 insertions, 6 deletions
diff --git a/audio/soundtouch/Makefile b/audio/soundtouch/Makefile index 59fb8ffb1e53..0744f6ded9db 100644 --- a/audio/soundtouch/Makefile +++ b/audio/soundtouch/Makefile @@ -6,18 +6,24 @@ # PORTNAME= soundtouch -DISTVERSION= 1.3.0 +DISTVERSION= 1.3.1 CATEGORIES= audio -MASTER_SITES= http://users.tkk.fi/~oparviai/ -DISTNAME= ${PORTNAME}_v${PORTVERSION} +MASTER_SITES= http://www.surina.net/soundtouch/ MAINTAINER= danfe@FreeBSD.org COMMENT= An open-source audio processing library GNU_CONFIGURE= yes -USE_ZIP= yes +USE_GMAKE= yes -WRKSRC= ${WRKDIR}/SoundTouch-${PORTVERSION} +# For some reason this library contains config/ directory with +# lots of broken symlinks. Remove them here and add new one using +# files/patch-config. Files were taken from... Audacity, which is +# distributed with it's own version of SoundTouch ;-) +pre-patch: + ${RM} -rf ${WRKSRC}/config/* + ${FIND} ${WRKSRC} -name "Makefile.in*" -type f | ${XARGS} ${REINPLACE_CMD} -e \ + 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' post-patch: .SILENT ${REINPLACE_CMD} -e 's|-O3|${CFLAGS}|; s|$$(prefix)/doc|$$(datadir)/doc|' \ @@ -27,9 +33,16 @@ post-patch: .SILENT ${WRKSRC}/include/Makefile.in ${WRKSRC}/Makefile.in # Fix for GCC 4.x ${REINPLACE_CMD} -e 's|SoundTouch::||' ${WRKSRC}/include/SoundTouch.h + ${CHMOD} +rx ${WRKSRC}/config/install-sh .if defined(NOPORTDOCS) @${REINPLACE_CMD} -e 's/ install-pkgdocDATA$$//' \ ${WRKSRC}/Makefile.in .endif -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500000 +BROKEN= Does not compile on 4.x +.endif + +.include <bsd.port.post.mk> |