freebsd-ports/audio/autotalent/Makefile
Alexey Dokuchaev e86b55727a For unmaintained ports in `audio' category, drop leading article from COMMENT
and perform other minor cleanups along the way, whenever noticed.
2013-03-13 11:54:25 +00:00

35 lines
918 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/
DISTNAME= ${PORTNAME}-${PORTVERSION}
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}
USE_GMAKE= yes
MAKE_ARGS= CXX="${CXX}" \
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} ${PREFIX}/lib/ladspa
${INSTALL_DATA} ${WRKSRC}/autotalent.so ${PREFIX}/lib/ladspa
.include <bsd.port.mk>