View | Details | Raw Unified | Return to bug 41890
Collapse All | Expand All

(-)Makefile (-9 / +8 lines)
Lines 5-32 Link Here
5
# $FreeBSD: ports/audio/cmt/Makefile,v 1.3 2002/06/19 08:18:05 sobomax Exp $
5
# $FreeBSD: ports/audio/cmt/Makefile,v 1.3 2002/06/19 08:18:05 sobomax Exp $
6
6
7
PORTNAME=	cmt
7
PORTNAME=	cmt
8
PORTVERSION=	1.12
8
PORTVERSION=	1.14
9
PORTREVISION=	1
10
CATEGORIES=	audio
9
CATEGORIES=	audio
11
MASTER_SITES=	http://www.ladspa.org/download/
10
MASTER_SITES=	http://www.arved.de/bsd/src/
12
DISTNAME=	${PORTNAME}_src
13
EXTRACT_SUFX=	.tgz
14
11
15
MAINTAINER=	freebsdports@arved.de
12
MAINTAINER=	freebsdports@arved.de
16
13
17
BUILD_DEPENDS=	${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
14
BUILD_DEPENDS=	${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
18
15
16
USE_BZIP2=	yes
19
USE_GMAKE=	yes
17
USE_GMAKE=	yes
20
USE_REINPLACE=	yes
18
USE_REINPLACE=	yes
21
WRKSRC=		${WRKDIR}/${PORTNAME}/src
19
INSTALLS_SHLIB=	yes
22
MAKEFILE=	makefile
23
ALL_TARGET=	targets
24
20
25
pre-patch:
21
pre-patch:
26
	@${FIND} ${WRKSRC} -name '*.cpp' | ${XARGS} \
22
	@${FIND} ${WRKSRC} -name '*.cpp' | ${XARGS} \
27
		${REINPLACE_CMD} -e "s|<malloc.h>|<stdlib.h>|g"
23
		${REINPLACE_CMD} -e "s|<malloc.h>|<stdlib.h>|g"
28
24
25
do-build:
26
	cd ${WRKSRC}/src; ${GMAKE} -f makefile targets
27
29
do-install:
28
do-install:
30
	@${INSTALL_DATA} ${WRKSRC}/../plugins/cmt.so ${LOCALBASE}/lib/ladspa/
29
	@${INSTALL_DATA} ${WRKSRC}/plugins/cmt.so ${LOCALBASE}/lib/ladspa/
31
30
32
.include <bsd.port.mk>
31
.include <bsd.port.mk>
(-)distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (cmt_src.tgz) = 21c6cbf2a755f9c8a6470b395e9a2792
1
MD5 (cmt-1.14.tar.bz2) = 1da6357066394116264339cbabff8358
(-)files/patch-makefile (-6 / +4 lines)
Lines 1-13 Link Here
1
--- makefile.orig	Sat Jul 13 20:54:06 2002
1
--- src/makefile.orig	Sat May 18 20:27:15 2002
2
+++ makefile	Sat Jul 13 20:56:15 2002
2
+++ src/makefile	Thu Aug 22 12:07:51 2002
3
@@ -12,9 +12,9 @@
3
@@ -13,8 +13,8 @@
4
 # GENERAL
5
 #
4
 #
6
 
5
 
7
-INCLUDES	=	-I/usr/local/include/
6
 INCLUDES	=	-I/usr/local/include/
8
-CFLAGS		=	$(INCLUDES) -Wall -Werror -O3 -fPIC
7
-CFLAGS		=	$(INCLUDES) -Wall -Werror -O3 -fPIC
9
-CXXFLAGS	=	$(CFLAGS)
8
-CXXFLAGS	=	$(CFLAGS)
10
+INCLUDES	=	-I${LOCALBASE}/include/
11
+CFLAGS		+=	$(INCLUDES) -Wall -Werror -fPIC
9
+CFLAGS		+=	$(INCLUDES) -Wall -Werror -fPIC
12
+CXXFLAGS	+=	$(CFLAGS)
10
+CXXFLAGS	+=	$(CFLAGS)
13
 PLUGIN_LIB	=	../plugins/cmt.so
11
 PLUGIN_LIB	=	../plugins/cmt.so

Return to bug 41890