1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00
freebsd-ports/audio/libmad/Makefile
Sunpoet Po-Chuan Hsieh cd9d8b9c19 - Strip shared library
- Do not mkdir PREFIX/libdata/pkgconfig which is already in BSD.local.dist
- Use SUB_FILES
- Remove unnecessary patch
- Cosmetic change
- Take maintainership
2013-10-12 18:16:59 +00:00

37 lines
805 B
Makefile

# Created by: Sergey Akifyev <asa@gascom.ru>
# $FreeBSD$
PORTNAME= libmad
PORTVERSION= 0.15.1b
PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= SF/mad/${PORTNAME}/${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Libmad library (part of MAD project)
OPTIONS_DEFINE= SPEED
SPEED_DESC= Optimize for speed over accuracy
CONFIGURE_ARGS= --disable-debugging --enable-sso
GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
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-build:
@${STRIP_CMD} ${WRKSRC}/.libs/libmad.so.2
post-install:
${INSTALL_DATA} ${WRKDIR}/mad.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/
.include <bsd.port.mk>