Date: Mon, 23 Sep 2013 13:10:41 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r327996 - head/audio/alac Message-ID: <201309231310.r8NDAfBB007877@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Mon Sep 23 13:10:40 2013 New Revision: 327996 URL: http://svnweb.freebsd.org/changeset/ports/327996 Log: Convert to stage While here remove useless patching if favour of passing CC and CFLAGS to MAKE_ARGS Modified: head/audio/alac/Makefile Modified: head/audio/alac/Makefile ============================================================================== --- head/audio/alac/Makefile Mon Sep 23 13:04:03 2013 (r327995) +++ head/audio/alac/Makefile Mon Sep 23 13:10:40 2013 (r327996) @@ -12,29 +12,21 @@ MAINTAINER= multimedia@FreeBSD.org COMMENT= Basic decoder for Apple Lossless Audio Codec files (ALAC) WRKSRC= ${WRKDIR}/${PORTNAME}_decoder +MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" ALL_TARGET= alac -NO_STAGE= yes -OPTIONS_DEFINE= DOCS DEBUG +OPTIONS_DEFINE= DOCS PLIST_FILES= bin/alac PORTDOCS= README .include <bsd.port.options.mk> -post-patch: -.if ! ${PORT_OPTIONS:MDEBUG} - @${REINPLACE_CMD} -e 's|-ggdb||' \ - ${WRKSRC}/${MAKEFILE} -.endif - @${REINPLACE_CMD} -e 's|gcc|${CC}|; s|-O3|${CFLAGS}|' \ - ${WRKSRC}/${MAKEFILE} - do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/alac ${PREFIX}/bin/ + ${INSTALL_PROGRAM} ${WRKSRC}/alac ${STAGEDIR}${PREFIX}/bin/ .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .endif .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309231310.r8NDAfBB007877>