Date: Fri, 7 Mar 2014 10:47:09 +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: r347357 - head/audio/hawkvoice Message-ID: <201403071047.s27Al9Gf083893@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Fri Mar 7 10:47:09 2014 New Revision: 347357 URL: http://svnweb.freebsd.org/changeset/ports/347357 QAT: https://qat.redports.org/buildarchive/r347357/ Log: Support stage General modernization Modified: head/audio/hawkvoice/Makefile Modified: head/audio/hawkvoice/Makefile ============================================================================== --- head/audio/hawkvoice/Makefile Fri Mar 7 10:41:13 2014 (r347356) +++ head/audio/hawkvoice/Makefile Fri Mar 7 10:47:09 2014 (r347357) @@ -6,14 +6,14 @@ PORTVERSION= 0.91 CATEGORIES= audio devel MASTER_SITES= http://www.hawksoft.com/download/files/ DISTNAME= HawkVoiceDI091src +EXTRACT_SUFX= .zip MAINTAINER= acm@FreeBSD.org COMMENT= Portable sound and speech compression library -USE_ZIP= yes -NO_STAGE= yes -USE_DOS2UNIX= yes -USES= gmake +OPTIONS_DEFINE= DOCS + +USES= gmake dos2unix MAKEFILE= makefile.linux USE_CSTD= gnu89 USE_LDCONFIG= yes @@ -21,30 +21,24 @@ USE_LDCONFIG= yes LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} CPPFLAGS+= -I${LOCALBASE}/include MAKE_ENV= MAKE="${GMAKE}" +MAKE_ARGS= LIBDIR=${STAGEDIR}${PREFIX}/lib INCDIR=${STAGEDIR}${PREFIX}/include WRKSRC= ${WRKDIR}/HawkVoiceDI/src OPTIONS_DEFINE= OPTIMIZED_CFLAGS -.include <bsd.port.options.mk> +CFLAGS_amd64= -fPIC -DPIC +CFLAGS_ia64= -fPIC -DPIC -.if ${ARCH} == "amd64" || ${ARCH} == "ia64" -CFLAGS+= -fPIC -DPIC -.endif - -.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} -CFLAGS+= -funroll-all-loops -ffast-math -fomit-frame-pointer -D_GNU_SOURCE -D_REENTRANT -.endif +OPTIMIZED_CFLAGS_CFLAGS= -funroll-all-loops -ffast-math -fomit-frame-pointer -D_GNU_SOURCE -D_REENTRANT post-patch: @${FIND} ${WRKSRC} -type f -exec ${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|g' "{}" \; post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for FILE in api.txt HVDIchanges.txt readme.txt cryptapi.txt - ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403071047.s27Al9Gf083893>