# $OpenBSD: Makefile,v 1.5 2016/03/16 16:46:32 naddy Exp $

COMMENT =		TAP LADSPA plugins

DISTNAME =		tap-plugins-0.7.3
CATEGORIES =		audio

HOMEPAGE =		http://tap-plugins.sourceforge.net/

# GPLv2
PERMIT_PACKAGE_CDROM =	Yes

WANTLIB =		m

MASTER_SITES =		${MASTER_SITE_SOURCEFORGE:=tap-plugins/}

USE_GMAKE =		Yes

MAKE_FLAGS =		CC="${CC}" \
			CFLAGS="-I. ${CFLAGS} -c -fPIC -DPIC" \
			LDFLAGS="-nostartfiles -shared -fPIC -DPIC -lm"

FAKE_FLAGS =		INSTALL_PLUGINS_DIR="${DESTDIR}${PREFIX}/lib/ladspa/" \
			INSTALL_LRDF_DIR="${DESTDIR}${PREFIX}/share/ladspa/rdf/"

NO_TEST =		Yes

.include <bsd.port.mk>
