summaryrefslogblamecommitdiff
path: root/audio/cmt/Makefile
blob: 7a890255f1406738613644fe49a5357be74e4442 (plain) (tree)
1
2
3
4
5
6
7
8
9






                                                                             
                    
                     
                                            




                                                                      
                   
                   
                   
                   
 


                                                               
 


                                                      
           
                                                                          

                      
# New ports collection Makefile for:   cmt
# Date created:                        11 May 2002
# Whom:                                Tilman Linneweh <freebsdports@arved.de
#
# $FreeBSD$

PORTNAME=	cmt
PORTVERSION=	1.14
CATEGORIES=	audio
MASTER_SITES=	http://www.arved.de/bsd/src/

MAINTAINER=	freebsdports@arved.de

BUILD_DEPENDS=	${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa

USE_BZIP2=	yes
USE_GMAKE=	yes
USE_REINPLACE=	yes
INSTALLS_SHLIB=	yes

pre-patch:
	@${FIND} ${WRKSRC} -name '*.cpp' | ${XARGS} \
		${REINPLACE_CMD} -e "s|<malloc.h>|<stdlib.h>|g"

do-build:
	cd ${WRKSRC}/src; ${GMAKE} -f makefile targets

do-install:
	@${INSTALL_DATA} ${WRKSRC}/plugins/cmt.so ${LOCALBASE}/lib/ladspa/

.include <bsd.port.mk>