54a0b86543
in bsd.autotools.mk essentially makes this a no-op given that all the old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in exactly the same way as USE_AUTOTOOLS itself. Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME team -- all GNOME 2.12.x ports use it. Preliminary documentation can be found at: http://people.FreeBSD.org/~ade/autotools.txt which is in the process of being SGMLized before introduction into the Porters Handbook. Light blue touch-paper. Run.
34 lines
881 B
Makefile
34 lines
881 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.2
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://www.mega-nerd.com/SRC/
|
|
|
|
MAINTAINER= ahze@FreeBSD.org
|
|
COMMENT= Secret Rabbit Code: a Sample Rate Converter for audio
|
|
|
|
LIB_DEPENDS= sndfile.1:${PORTSDIR}/audio/libsndfile \
|
|
fftw3.3:${PORTSDIR}/math/fftw3
|
|
|
|
USE_GNOME= gnomehack gnometarget pkgconfig
|
|
USE_AUTOTOOLS= libtool:15
|
|
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}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.css ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.png ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|