[41327] trunk/dports/science
andrea.damore at macports.org
andrea.damore at macports.org
Thu Oct 30 14:09:55 PDT 2008
Revision: 41327
http://trac.macports.org/changeset/41327
Author: andrea.damore at macports.org
Date: 2008-10-30 14:09:55 -0700 (Thu, 30 Oct 2008)
Log Message:
-----------
New portfile for DRC-FIR
Added Paths:
-----------
trunk/dports/science/drc-fir/
trunk/dports/science/drc-fir/Files/
trunk/dports/science/drc-fir/Files/patch-drc.diff
trunk/dports/science/drc-fir/Portfile
Added: trunk/dports/science/drc-fir/Files/patch-drc.diff
===================================================================
--- trunk/dports/science/drc-fir/Files/patch-drc.diff (rev 0)
+++ trunk/dports/science/drc-fir/Files/patch-drc.diff 2008-10-30 21:09:55 UTC (rev 41327)
@@ -0,0 +1,23 @@
+diff -ru drc-3.0.0.orig/source/makefile drc-3.0.0/source/makefile
+--- drc-3.0.0.orig/source/makefile 2008-06-16 10:14:57.000000000 +0200
++++ drc-3.0.0/source/makefile 2008-10-30 20:37:11.000000000 +0100
+@@ -20,7 +20,8 @@
+
+ # Pentium 3 or greater optimizaztions settings with SSE support
+ # Be careful: -mfpmath=sse sometimes causes accuracy problems
+-CFLAGS=-march=pentium3 -O -ffast-math -mfancy-math-387 -msse -mfpmath=sse -mtune=pentium3 -I. -I./getopt
++#CFLAGS=-march=pentium3 -O -ffast-math -mfancy-math-387 -msse -mfpmath=sse -mtune=pentium3 -I. -I./getopt
++ CFLAGS=-ffast-math -I.
+
+ # Profiling settings
+ # CFLAGS=-march=pentium3 -O -pg -g -ffast-math -mfancy-math-387 -msse -mfpmath=sse -mtune=pentium3 -I. -I./getopt
+@@ -33,7 +34,8 @@
+ GLSCFLAGS=-O -I.
+
+ # DRC sources
+-DRCSRC=baselib.cpp drc.cpp fft.cpp hd.cpp slprefilt.cpp bwprefilt.cpp convol.cpp dspwind.cpp spline.cpp fir.cpp level.cpp toeplitz.cpp kirkebyfd.cpp drccfg.cpp psychoacoustic.cpp cmdline.c parsecfg.c fftsg.c getopt/getopt.c getopt/getopt1.c gsl/gsl_fft.c gsl/error.c gsl/stream.c
++#DRCSRC=baselib.cpp drc.cpp fft.cpp hd.cpp slprefilt.cpp bwprefilt.cpp convol.cpp dspwind.cpp spline.cpp fir.cpp level.cpp toeplitz.cpp kirkebyfd.cpp drccfg.cpp psychoacoustic.cpp cmdline.c parsecfg.c fftsg.c getopt/getopt.c getopt/getopt1.c gsl/gsl_fft.c gsl/error.c gsl/stream.c
++DRCSRC=baselib.cpp drc.cpp fft.cpp hd.cpp slprefilt.cpp bwprefilt.cpp convol.cpp dspwind.cpp spline.cpp fir.cpp level.cpp toeplitz.cpp kirkebyfd.cpp drccfg.cpp psychoacoustic.cpp cmdline.c parsecfg.c fftsg.c gsl/gsl_fft.c gsl/error.c gsl/stream.c
+
+ # GLSweep sources
+ GLSWEEPSRC=glsweep.c
Added: trunk/dports/science/drc-fir/Portfile
===================================================================
--- trunk/dports/science/drc-fir/Portfile (rev 0)
+++ trunk/dports/science/drc-fir/Portfile 2008-10-30 21:09:55 UTC (rev 41327)
@@ -0,0 +1,29 @@
+# $Id$
+
+PortSystem 1.0
+
+name drc-fir
+version 3.0.0
+categories science multimedia math
+platforms darwin
+maintainers andrea.damore
+description DRC is a program used to generate correction filters for acoustic compensation
+long_description "DRC is a program used to generate correction filters for acoustic compensation of HiFi and audio systems in general, including listening room compensation. DRC generates just the FIR correction filters, which can be used with a real time or offline convolver to provide real time or offline correction. DRC doesn't provide convolution features, and provides only some simplified, although really accurate, measuring tools."
+
+homepage http://drc-fir.sourceforge.net/
+master_sites sourceforge
+
+distname drc-${version}
+worksrcdir ${distname}/source
+
+checksums md5 b2b48bdcc4fb236d9388ef0d70b91373 \
+ sha1 173f74de26d596f2052e26147e9552d3aa31f6f6 \
+ rmd160 ae9bcfd1ad12edf74b06a17ed43e74f4640629d9
+
+patchfiles patch-drc.diff
+
+patch.pre_args -p2
+
+use_configure no
+
+build.target ALL
Property changes on: trunk/dports/science/drc-fir/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081030/bdc32ee9/attachment.html>
More information about the macports-changes
mailing list