1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/audio/ladspa/Makefile
Dmitry Marakasov d0c1771f17 - Unsilence installation commands
- Fix library installation and stripping

PR:		205141
Submitted by:	amdmi3
Approved by:	arved (maintainer)
2015-12-17 10:21:10 +00:00

43 lines
1.1 KiB
Makefile

# Created by: Tilman Linneweh <arved@FreeBSD.org>
# $FreeBSD$
PORTNAME= ladspa
PORTVERSION= 1.13
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://www.ladspa.org/download/
DISTNAME= ladspa_sdk_${PORTVERSION}
MAINTAINER= arved@FreeBSD.org
COMMENT= Linux Audio Developer's Simple Plugin API
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/doc/COPYING
WRKSRC= ${WRKDIR}/ladspa_sdk
USES= gmake tar:tgz
USE_LDCONFIG= yes
PROGRAM_FILES= analyseplugin applyplugin listplugins
PLUGIN_FILES= amp.so delay.so filter.so noise.so sine.so
PLUGIN_DIR?= ${STAGEDIR}${PREFIX}/lib/ladspa/
MAKEFILE= makefile
ALL_TARGET= targets
BUILD_WRKSRC= ${WRKSRC}/src
post-patch:
${REINPLACE_CMD} -e 's,-ldl,,; s,-O3,${CFLAGS},; s,-Werror ,,; \
s,^CC,#CC,;s,^CPP,#CPP,;s,CPP,CXX,; s,^CXXFLAGS.*=,CXXFLAGS+=,' \
${WRKSRC}/src/makefile
do-install:
${INSTALL_DATA} ${WRKSRC}/src/ladspa.h ${STAGEDIR}${PREFIX}/include
.for file in ${PROGRAM_FILES}
${INSTALL_PROGRAM} ${WRKSRC}/bin/${file} ${STAGEDIR}${PREFIX}/bin
.endfor
@${MKDIR} ${PLUGIN_DIR}
.for file in ${PLUGIN_FILES}
${INSTALL_LIB} ${WRKSRC}/plugins/${file} ${PLUGIN_DIR}
.endfor
.include <bsd.port.mk>