2012-12-07 23:26:41 +01:00
|
|
|
# Created by: Rich Neese <r.neese@gmail.com>
|
2011-04-09 16:06:28 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= autotalent
|
|
|
|
PORTVERSION= 0.2
|
|
|
|
CATEGORIES= audio
|
|
|
|
MASTER_SITES= http://web.mit.edu/tbaran/www/
|
|
|
|
|
2012-12-07 23:26:41 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-03-13 12:54:25 +01:00
|
|
|
COMMENT= Real-time pitch correction plugin for LADSPA
|
2011-04-09 16:06:28 +02:00
|
|
|
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
|
2013-03-13 12:54:25 +01:00
|
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
2011-04-09 16:06:28 +02:00
|
|
|
|
2013-09-20 16:36:35 +02:00
|
|
|
NO_STAGE= yes
|
2013-08-31 01:01:05 +02:00
|
|
|
USES= gmake
|
2011-04-09 16:06:28 +02:00
|
|
|
|
2013-08-01 08:37:46 +02:00
|
|
|
MAKE_ARGS= CXX="${CXX}" CC=${CC} CPP=${CPP} \
|
2011-04-09 16:06:28 +02:00
|
|
|
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:
|
2013-03-13 12:54:25 +01:00
|
|
|
@${MKDIR} ${PREFIX}/lib/ladspa
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/autotalent.so ${PREFIX}/lib/ladspa
|
2011-04-09 16:06:28 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|