openbsd-ports/audio/vamp-plugin-sdk/Makefile
jakemsr 25f62b1a93 the example host needs libsndfile. the example host is used in the
regress target but is not packaged.  only build the sample host in
the regress target and register libsndfile as a REGRESS_DEPENDS.
2009-02-04 06:39:24 +00:00

40 lines
866 B
Makefile

# $OpenBSD: Makefile,v 1.4 2009/02/04 06:39:24 jakemsr Exp $
COMMENT = audio plugin API
DISTNAME = vamp-plugin-sdk-1.3
PKGNAME = ${DISTNAME}p1
SHARED_LIBS += vamp-sdk 0.0
SHARED_LIBS += vamp-hostsdk 0.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
WANTLIB = 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
REGRESS_TARGET = test
REGRESS_DEPENDS = ::audio/libsndfile
.include <bsd.port.mk>