freebsd-ports/audio/soundtouch/Makefile
Alexey Dokuchaev 2c7caeb1d2 - Fix the build with GCC 4.1
- Mute the target so comment does not show up
2006-10-03 22:54:04 +00:00

36 lines
961 B
Makefile

# New ports collection makefile for: SoundTouch
# Date created: 16 May 2005
# Whom: Alexey Dokuchaev <danfe@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= soundtouch
DISTVERSION= 1.3.0
CATEGORIES= audio
MASTER_SITES= http://users.tkk.fi/~oparviai/
DISTNAME= ${PORTNAME}_v${PORTVERSION}
MAINTAINER= danfe@FreeBSD.org
COMMENT= An open-source audio processing library
GNU_CONFIGURE= yes
USE_ZIP= yes
WRKSRC= ${WRKDIR}/SoundTouch-${PORTVERSION}
post-patch: .SILENT
${REINPLACE_CMD} -e 's|-O3|${CFLAGS}|; s|$$(prefix)/doc|$$(datadir)/doc|' \
${WRKSRC}/source/example/bpm/Makefile.in \
${WRKSRC}/source/example/SoundStretch/Makefile.in \
${WRKSRC}/source/SoundTouch/Makefile.in \
${WRKSRC}/include/Makefile.in ${WRKSRC}/Makefile.in
# Fix for GCC 4.x
${REINPLACE_CMD} -e 's|SoundTouch::||' ${WRKSRC}/include/SoundTouch.h
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -e 's/ install-pkgdocDATA$$//' \
${WRKSRC}/Makefile.in
.endif
.include <bsd.port.mk>