1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/audio/autotalent/Makefile
Tijl Coosemans f191d6b887 Quote ${CC} and similar variables in MAKE_ARGS.
Reported by:	Dominic Fandrey <kamikaze@bsdforen.de>
2014-05-20 19:32:39 +00:00

34 lines
924 B
Makefile

# Created by: Rich Neese <r.neese@gmail.com>
# $FreeBSD$
PORTNAME= autotalent
PORTVERSION= 0.2
CATEGORIES= audio
MASTER_SITES= http://web.mit.edu/tbaran/www/
MAINTAINER= ports@FreeBSD.org
COMMENT= Real-time pitch correction plugin for LADSPA
BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= gmake
MAKE_ARGS= CXX="${CXX}" CC="${CC}" CPP="${CPP}" \
CXXFLAGS="${CXXFLAGS} -fPIC -I${LOCALBASE}/include"
ALL_TARGET= targets
PLIST_FILES= lib/ladspa/autotalent.so
post-patch:
@${FIND} ${BUILD_WRKSRC} -name '*.cpp' | ${XARGS} \
${REINPLACE_CMD} -e "s|<malloc.h>|<stdlib.h>|g"
${REINPLACE_CMD} -e "s,-O3 -Wall -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math,${CFLAGS}," ${WRKSRC}/Makefile
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/ladspa
${INSTALL_LIB} ${WRKSRC}/autotalent.so ${STAGEDIR}${PREFIX}/lib/ladspa
.include <bsd.port.mk>