Date: Sat, 12 Oct 2013 18:17:00 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r330166 - in head/audio/libmad: . files Message-ID: <201310121817.r9CIH0Jf074554@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sat Oct 12 18:16:59 2013 New Revision: 330166 URL: http://svnweb.freebsd.org/changeset/ports/330166 Log: - 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 Deleted: head/audio/libmad/files/patch-configure Modified: head/audio/libmad/Makefile head/audio/libmad/files/mad.pc.in (contents, props changed) Modified: head/audio/libmad/Makefile ============================================================================== --- head/audio/libmad/Makefile Sat Oct 12 18:11:47 2013 (r330165) +++ head/audio/libmad/Makefile Sat Oct 12 18:16:59 2013 (r330166) @@ -5,32 +5,32 @@ PORTNAME= libmad PORTVERSION= 0.15.1b PORTREVISION= 2 CATEGORIES= audio -MASTER_SITES= SF/mad/${PORTNAME}/${PORTVERSION} \ - ftp://ftp.mars.org/pub/mpeg/ +MASTER_SITES= SF/mad/${PORTNAME}/${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= sunpoet@FreeBSD.org COMMENT= Libmad library (part of MAD project) OPTIONS_DEFINE= SPEED SPEED_DESC= Optimize for speed over accuracy -USE_AUTOTOOLS= libtool +CONFIGURE_ARGS= --disable-debugging --enable-sso GNU_CONFIGURE= yes +USE_AUTOTOOLS= libtool USE_LDCONFIG= yes -CONFIGURE_ARGS= --disable-debugging \ - --enable-sso + +SUB_LIST= VERSION=${PORTVERSION} +SUB_FILES= mad.pc 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 + @${REINPLACE_CMD} -e 's| -fforce-mem||' ${WRKSRC}/configure + +post-build: + @${STRIP_CMD} ${WRKSRC}/.libs/libmad.so.2 post-install: - @${MKDIR} ${STAGEDIR}${PREFIX}/libdata/pkgconfig - ${INSTALL_DATA} ${WRKDIR}/mad.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig + ${INSTALL_DATA} ${WRKDIR}/mad.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/ .include <bsd.port.mk> Modified: head/audio/libmad/files/mad.pc.in ============================================================================== --- head/audio/libmad/files/mad.pc.in Sat Oct 12 18:11:47 2013 (r330165) +++ head/audio/libmad/files/mad.pc.in Sat Oct 12 18:16:59 2013 (r330166) @@ -1,4 +1,4 @@ -prefix=%PREFIX% +prefix=%%PREFIX%% exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include @@ -6,6 +6,6 @@ includedir=${prefix}/include Name: mad Description: MPEG Audio Decoder Requires: -Version: %VERSION% +Version: %%VERSION%% Libs: -L${libdir} -lmad -lm Cflags: -I${includedir}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310121817.r9CIH0Jf074554>