Date: Wed, 1 Jul 2015 17:23:53 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r391081 - in head/audio/wavegain: . files Message-ID: <201507011723.t61HNrPm046508@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Wed Jul 1 17:23:52 2015 New Revision: 391081 URL: https://svnweb.freebsd.org/changeset/ports/391081 Log: - Mark ONLY_FOR_ARCHS, uses x86 assembly - Simplify Makefile PR: 200924 Submitted by: amdmi3 Approved by: maintainer timeout (darcsis@gmail.com, 2 weeks) Deleted: head/audio/wavegain/files/patch-Makefile.linux Modified: head/audio/wavegain/Makefile Modified: head/audio/wavegain/Makefile ============================================================================== --- head/audio/wavegain/Makefile Wed Jul 1 16:58:06 2015 (r391080) +++ head/audio/wavegain/Makefile Wed Jul 1 17:23:52 2015 (r391081) @@ -12,26 +12,21 @@ COMMENT= Program that applies ReplayGain LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile +ONLY_FOR_ARCHS= i386 amd64 +ONLY_FOR_ARCHS_REASON= uses x86 assembly + USES= gmake dos2unix zip DOS2UNIX_FILES= audio.c wavegain.c PLIST_FILES= bin/wavegain -WRKSRC= ${WRKDIR}/WaveGain-${PORTVERSION} - -.include <bsd.port.pre.mk> - -.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64" -BROKEN= Does not compile on ia64, powerpc, or sparc64 -.endif - -post-patch: - @${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|" ${WRKSRC}/Makefile.linux +WRKSRC= ${WRKDIR}/WaveGain-${PORTVERSION} -do-configure: - @cd ${WRKSRC} && ${CP} Makefile.linux Makefile +do-build: + @cd ${WRKSRC} && ${CC} ${CFLAGS} *.c -o ${PORTNAME} \ + -DHAVE_CONFIG_H -lm -lsndfile -L${LOCALBASE}/lib do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin -.include <bsd.port.post.mk> +.include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507011723.t61HNrPm046508>