openbsd-ports/audio/vamp-plugin-sdk/Makefile

42 lines
968 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.7 2010/11/15 00:22:49 espie Exp $
COMMENT = audio plugin API
2009-03-13 23:48:07 -04:00
DISTNAME = vamp-plugin-sdk-2.0
2009-03-13 23:48:07 -04:00
SHARED_LIBS += vamp-sdk 1.0
SHARED_LIBS += vamp-hostsdk 1.0
CATEGORIES = audio
HOMEPAGE = http://www.vamp-plugins.org/
MAINTAINER = Jacob Meuser <jakemsr@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
2009-03-13 23:48:07 -04:00
WANTLIB = c m stdc++
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=vamp/}
MAKE_ENV += CXX=${CXX} \
CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
LIBvamp-sdk_VERSION="${LIBvamp-sdk_VERSION}" \
LIBvamp-hostsdk_VERSION="${LIBvamp-hostsdk_VERSION}"
FAKE_FLAGS = PREFIX="${TRUEPREFIX}"
USE_GMAKE = Yes
2009-03-13 23:48:07 -04:00
CONFIGURE_STYLE = gnu
CONFIGURE_ENV = SNDFILE_CFLAGS="-I${LOCALBASE}/include" \
SNDFILE_LIBS="-L${LOCALBASE}/lib -lsndfile"
REGRESS_TARGET = test
REGRESS_DEPENDS = audio/libsndfile
.include <bsd.port.mk>