freebsd-ports/audio/libmad/Makefile
Sunpoet Po-Chuan Hsieh b5608db896 - Add LICENSE
2014-12-13 03:59:18 +00:00

36 lines
787 B
Makefile

# Created by: Sergey Akifyev <asa@gascom.ru>
# $FreeBSD$
PORTNAME= libmad
PORTVERSION= 0.15.1b
PORTREVISION= 6
CATEGORIES= audio
MASTER_SITES= SF/mad/${PORTNAME}/${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Libmad library (part of MAD project)
LICENSE= GPLv2
OPTIONS_DEFINE= SPEED
SPEED_DESC= Optimize for speed over accuracy
CONFIGURE_ARGS= --disable-debugging --enable-sso
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
USES= libtool
SUB_LIST= VERSION=${PORTVERSION}
SUB_FILES= mad.pc
SPEED_CONFIGURE_ON= --enable-speed
SPEED_CONFIGURE_OFF= --enable-accuracy
post-patch:
@${REINPLACE_CMD} -e 's| -fforce-mem||' ${WRKSRC}/configure
post-install:
${INSTALL_DATA} ${WRKDIR}/mad.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/
.include <bsd.port.mk>