freebsd-ports/audio/libsamplerate/Makefile
2009-05-18 15:08:58 +00:00

35 lines
889 B
Makefile

# New ports collection makefile for: libsamplerate
# Date created: 2 February 2003
# Whom: <dmagda+libsamplerate@ee.ryerson.ca>
#
# $FreeBSD$
#
PORTNAME= libsamplerate
PORTVERSION= 0.1.7
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://www.mega-nerd.com/SRC/
MAINTAINER= multimedia@FreeBSD.org
COMMENT= Secret Rabbit Code: a Sample Rate Converter for audio
LIB_DEPENDS= sndfile.1:${PORTSDIR}/audio/libsndfile \
fftw3.5:${PORTSDIR}/math/fftw3
USE_GNOME= gnomehack pkgconfig
USE_AUTOTOOLS= libtool:15
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --disable-gcc-pipe
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
.include <bsd.port.mk>