openbsd-ports/audio/cmt/Makefile

39 lines
917 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.2 2006/08/04 23:54:31 espie 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>