1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

- Update to 1.16

PR:		118590
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
This commit is contained in:
Martin Wilke 2007-12-14 17:05:03 +00:00
parent a61438c2ae
commit fb84dddfef
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=203567
3 changed files with 17 additions and 36 deletions

View File

@ -5,31 +5,34 @@
# $FreeBSD$
PORTNAME= cmt
PORTVERSION= 1.15
PORTREVISION= 1
PORTVERSION= 1.16
CATEGORIES= audio
MASTER_SITES= http://www.ladspa.org/download/
DISTNAME= ${PORTNAME}_src_${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= The Computer Music Toolkit (CMT) is a collection of LADSPA plugins
COMMENT= The Computer Music Toolkit - a collection of LADSPA plugins
BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
RUN_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
WRKSRC= ${WRKDIR}/${PORTNAME}
BUILD_WRKSRC= ${WRKDIR}/${PORTNAME}/src
WRKSRC= ${WRKDIR}/cmt
USE_GMAKE= yes
USE_LDCONFIG= yes
MAKEFILE= makefile
MAKE_ARGS= CXX="${CXX}" \
CXXFLAGS="${CXXFLAGS} -fPIC -I${LOCALBASE}/include"
ALL_TARGET= targets
PLIST_FILES= lib/ladspa/cmt.so
pre-patch:
@${FIND} ${WRKSRC} -name '*.cpp' | ${XARGS} \
post-patch:
@${FIND} ${BUILD_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/
${INSTALL_DATA} ${WRKSRC}/plugins/cmt.so ${PREFIX}/lib/ladspa/
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (cmt_src_1.15.tgz) = aa2f0609aca8b698625d86170c426e2c
SHA256 (cmt_src_1.15.tgz) = 0b814938040c7403dd24367b1dbbf0b0db7ac11df7447129e9c1b7f33890b1e9
SIZE (cmt_src_1.15.tgz) = 61522
MD5 (cmt_src_1.16.tgz) = 15a875e5aaf79c209c223babfb41cb1c
SHA256 (cmt_src_1.16.tgz) = 512a1d7e698b9e0e7c692202c29f4bd70846d52241ec254e1a324abaef405635
SIZE (cmt_src_1.16.tgz) = 63909

View File

@ -1,22 +0,0 @@
--- src/makefile.orig Sat May 18 20:27:15 2002
+++ src/makefile Thu Aug 22 12:07:51 2002
@@ -13,8 +13,8 @@
#
INCLUDES = -I/usr/local/include/
-CFLAGS = $(INCLUDES) -Wall -Werror -O3 -fPIC
-CXXFLAGS = $(CFLAGS)
+CFLAGS += $(INCLUDES) -Wall -Werror -fPIC
+CXXFLAGS += $(CFLAGS)
PLUGIN_LIB = ../plugins/cmt.so
###############################################################################
@@ -61,7 +61,7 @@
targets: $(PLUGIN_LIB)
$(PLUGIN_LIB): $(PLUGIN_OBJECTS)
- $(CXX) -shared \
+ $(CXX) ${CXXFLAGS} -shared \
-o $(PLUGIN_LIB) \
$(PLUGIN_OBJECTS)