e86b55727a
and perform other minor cleanups along the way, whenever noticed.
43 lines
1.2 KiB
Makefile
43 lines
1.2 KiB
Makefile
# Created by: Edward Tomasz Napierala <trasz@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= amb-plugins
|
|
PORTVERSION= 0.8.1
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://kokkinizita.linuxaudio.org/linuxaudio/downloads/
|
|
DISTNAME= AMB-plugins-${PORTVERSION}
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} fa-plugins.rdf
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
DIST_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Ambisonics plugins, mainly to be used within Ardour
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
|
|
LICENSE= GPLv2 GPLv3
|
|
LICENSE_COMB= dual
|
|
|
|
USE_BZIP2= yes
|
|
USE_GMAKE= yes
|
|
|
|
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 ; \
|
|
s|g++[[:space:]]|$$(CXX) |g' ${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
@${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
|
|
|
|
.include <bsd.port.mk>
|