freebsd-ports/audio/libmad/Makefile

37 lines
898 B
Makefile
Raw Normal View History

# Created by: Sergey Akifyev <asa@gascom.ru>
# $FreeBSD$
PORTNAME= libmad
PORTVERSION= 0.15.1b
PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= SF/mad/${PORTNAME}/${PORTVERSION} \
ftp://ftp.mars.org/pub/mpeg/
MAINTAINER= ports@FreeBSD.org
COMMENT= Libmad library (part of MAD project)
OPTIONS_DEFINE= SPEED
SPEED_DESC= Optimize for speed over accuracy
2010-12-04 08:34:27 +01:00
USE_AUTOTOOLS= libtool
GNU_CONFIGURE= yes
2006-12-19 08:23:42 +01:00
USE_LDCONFIG= yes
CONFIGURE_ARGS= --disable-debugging \
--enable-sso
SPEED_CONFIGURE_ON= --enable-speed
SPEED_CONFIGURE_OFF= --enable-accuracy
post-patch:
@${SED} -e 's|%PREFIX%|${PREFIX}|g ; s|%VERSION%|${PORTVERSION}|g' \
${FILESDIR}/mad.pc.in > ${WRKDIR}/mad.pc
@${REINPLACE_CMD} -e 's| -fforce-mem||' \
${WRKSRC}/configure
post-install:
2013-09-30 00:01:20 +02:00
@${MKDIR} ${STAGEDIR}${PREFIX}/libdata/pkgconfig
${INSTALL_DATA} ${WRKDIR}/mad.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig
.include <bsd.port.mk>