openbsd-ports/audio/cmt/Makefile

39 lines
915 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.3 2007/09/15 21:26:00 simon Exp $
COMMENT= computer music toolkit
HOMEPAGE= http://www.ladspa.org/
CATEGORIES= audio devel
SHARED_ONLY= Yes
DISTNAME= cmt_src_1.15
WRKDIST= ${WRKDIR}/cmt
PKGNAME= cmt-1.15p0
EXTRACT_SUFX= .tgz
MASTER_SITES= ${HOMEPAGE:=download/}
# GPL
PERMIT_PACKAGE_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
BUILD_DEPENDS= ::audio/ladspa
WRKBUILD= ${WRKDIST}/src
MAKE_FILE= makefile
ALL_TARGET= targets
MAKE_FLAGS= CFLAGS='-I${LOCALBASE}/include -fPIC ${CFLAGS}'
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/ladspa
${INSTALL_DATA} ${WRKDIST}/plugins/cmt.so ${PREFIX}/lib/ladspa
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/cmt
${INSTALL_DATA} ${WRKDIST}/doc/*.html ${PREFIX}/share/doc/cmt
# interactive regression test, that requires you to listen to stuff.
# -> mostly useless
NO_REGRESS= Yes
.include <bsd.port.mk>