Date: Fri, 15 Mar 2013 01:18:06 +0000 (UTC) From: Jason Helfman <jgh@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r314209 - head/audio/hawkvoice Message-ID: <201303150118.r2F1I6EG098322@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jgh Date: Fri Mar 15 01:18:05 2013 New Revision: 314209 URL: http://svnweb.freebsd.org/changeset/ports/314209 Log: - adopt optionsNG PR: 173798 Submitted by: c.petrik.sosa@gmail.com Approved by: portmgr (miwi) Modified: head/audio/hawkvoice/Makefile Modified: head/audio/hawkvoice/Makefile ============================================================================== --- head/audio/hawkvoice/Makefile Fri Mar 15 00:58:09 2013 (r314208) +++ head/audio/hawkvoice/Makefile Fri Mar 15 01:18:05 2013 (r314209) @@ -1,9 +1,5 @@ -# New ports collection makefile for: hawkvoice -# Date created: 2006-03-05 -# Whom: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe> -# +# Created by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe> # $FreeBSD$ -# PORTNAME= hawkvoice PORTVERSION= 0.91 @@ -27,27 +23,27 @@ MAKE_ENV= MAKE="${GMAKE}" WRKSRC= ${WRKDIR}/HawkVoiceDI/src -OPTIONS= OPTIMIZATION "Enable optimization" off +OPTIONS_DEFINE= OPTIMIZED_CFLAGS -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> .if ${ARCH} == "amd64" || ${ARCH} == "ia64" CFLAGS+= -fPIC -DPIC .endif -.if defined(WITH_OPTIMIZATION) +.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} CFLAGS+= -funroll-all-loops -ffast-math -fomit-frame-pointer -D_GNU_SOURCE -D_REENTRANT .endif post-patch: - ${FIND} ${WRKSRC} -type f -exec ${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|g' "{}" \; + @${FIND} ${WRKSRC} -type f -exec ${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|g' "{}" \; post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} .for FILE in api.txt HVDIchanges.txt readme.txt cryptapi.txt ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} .endfor .endif -.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?201303150118.r2F1I6EG098322>