aboutsummaryrefslogblamecommitdiff
path: root/audio/poly-lv2/Makefile
blob: 850d02b18a014def1dbc644718b4ca79d8771115 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                    
                         





                                                                                 

                                 



                                                                               
                                            



                           
                       






















                                                                                                              
PORTNAME=	poly
DISTVERSION=	g20210408
CATEGORIES=	audio
PKGNAMESUFFIX=	-lv2

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Collection of LV2 plugins designed for modular/eurorack style use

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/COPYING

BUILD_DEPENDS=	lv2>0:audio/lv2 \
		${LOCALBASE}/include/boost/circular_buffer.hpp:devel/boost-libs

USES=		compiler:c11 gmake pkgconfig

USE_GITHUB=	yes
GH_ACCOUNT=	polyeffects
GH_PROJECT=	PolyLV2
GH_TAGNAME=	a363599

do-build:
	@cd ${WRKSRC} && for d in $$(ls); do \
		if [ -d $${d} ]; then \
			echo "==> Building for sub-directory $${d}" && ( \
				cd $${d} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} \
			) \
		fi \
	done

do-install:
	@cd ${WRKSRC} && for d in $$(ls); do \
		if [ -d $${d} ]; then \
			echo "==> Staging for sub-directory $${d}" && ( \
				cd $${d} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${INSTALL_TARGET} \
			) \
		fi \
	done

post-install:
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lv2/basic_modular.lv2/maths.so

.include <bsd.port.mk>