2013-03-13 12:54:25 +01:00
|
|
|
# Created by: Edward Tomasz Napierala <trasz@FreeBSD.org>
|
2007-09-08 11:48:43 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= amb-plugins
|
2011-07-02 09:54:56 +02:00
|
|
|
PORTVERSION= 0.8.1
|
2007-09-08 11:48:43 +02:00
|
|
|
CATEGORIES= audio
|
2011-07-02 09:54:56 +02:00
|
|
|
MASTER_SITES= http://kokkinizita.linuxaudio.org/linuxaudio/downloads/
|
2007-09-08 11:48:43 +02:00
|
|
|
DISTNAME= AMB-plugins-${PORTVERSION}
|
2011-07-02 09:54:56 +02:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} fa-plugins.rdf
|
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
DIST_SUBDIR= ${PORTNAME}
|
2007-09-08 11:48:43 +02:00
|
|
|
|
2010-10-25 22:09:06 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-03-13 12:54:25 +01:00
|
|
|
COMMENT= Ambisonics plugins, mainly to be used within Ardour
|
2007-09-08 11:48:43 +02:00
|
|
|
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
|
2011-07-02 09:54:56 +02:00
|
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
|
|
|
|
|
|
LICENSE= GPLv2 GPLv3
|
|
|
|
LICENSE_COMB= dual
|
2007-09-08 11:48:43 +02:00
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
|
2011-07-02 09:54:56 +02:00
|
|
|
PLIST_FILES= lib/ladspa/ambisonic0.so lib/ladspa/ambisonic1.so \
|
|
|
|
lib/ladspa/ambisonic2.so lib/ladspa/ambisonic3.so \
|
|
|
|
share/ladspa/rdf/fa-plugins.rdf
|
|
|
|
PLIST_DIRSTRY= share/ladspa/rdf share/ladspa
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|[[:space:]]-O3||g ; \
|
2013-03-13 12:54:25 +01:00
|
|
|
s|g++[[:space:]]|$$(CXX) |g' ${WRKSRC}/Makefile
|
2007-09-08 11:48:43 +02:00
|
|
|
|
|
|
|
do-install:
|
2011-07-02 09:54:56 +02:00
|
|
|
@${MKDIR} ${PREFIX}/lib/ladspa
|
|
|
|
.for i in 0 1 2 3
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/ambisonic${i}.so ${PREFIX}/lib/ladspa
|
|
|
|
.endfor
|
|
|
|
@${MKDIR} ${PREFIX}/share/ladspa/rdf
|
|
|
|
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/fa-plugins.rdf \
|
|
|
|
${PREFIX}/share/ladspa/rdf
|
2007-09-08 11:48:43 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|