From 36b233c0d0732a553e27c338f7880051680955f2 Mon Sep 17 00:00:00 2001 From: Felippe de Meirelles Motta Date: Tue, 2 Sep 2008 21:52:16 +0000 Subject: [PATCH] - Update to 3.0.3. - Makefile style. PR: ports/125557 Submitted by: bf Approved by: maintainer timeout (> 2 weeks) --- devel/open-beagle/Makefile | 18 +++++++++++------ devel/open-beagle/distinfo | 6 +++--- .../files/patch-PACC-Util-SignalHandler.cpp | 20 ------------------- devel/open-beagle/pkg-plist | 16 +++++++++------ 4 files changed, 25 insertions(+), 35 deletions(-) delete mode 100644 devel/open-beagle/files/patch-PACC-Util-SignalHandler.cpp diff --git a/devel/open-beagle/Makefile b/devel/open-beagle/Makefile index 06f89f66d050..cab84f22a923 100644 --- a/devel/open-beagle/Makefile +++ b/devel/open-beagle/Makefile @@ -7,10 +7,9 @@ # PORTNAME= open-beagle -PORTVERSION= 3.0.1 +PORTVERSION= 3.0.3 CATEGORIES= devel -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= beagle +MASTER_SITES= SF/beagle DISTNAME= beagle-${PORTVERSION} MAINTAINER= sf@slappy.org @@ -18,11 +17,18 @@ COMMENT= An Evolutionary Computation Framework CONFLICTS= beagle-[0-9]* USE_AUTOTOOLS= libtool:15 -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --enable-optimization +CONFIGURE_ARGS= --enable-optimization --with-zlib=/usr USE_LDCONFIG= yes USE_GMAKE= yes +PACCVERSION= 1.3.1b -PLIST_SUB= PORTVERSION=${PORTVERSION} +PLIST_SUB= PORTVERSION=${PORTVERSION} PACCVERSION=${PACCVERSION} +BUILD_DEPENDS+= gsed:${PORTSDIR}/textproc/gsed + +#unfortunately, some important sed statements rely on GNU sed behavior, and can't be +#easily changed to call GNU sed by means of the configure script +post-configure: + ${FIND} -X ${WRKSRC} -name 'Makefile' | ${XARGS} ${REINPLACE_CMD} \ + 's/sed /gsed /g' .include diff --git a/devel/open-beagle/distinfo b/devel/open-beagle/distinfo index 98c5204d6c29..21db47ff932c 100644 --- a/devel/open-beagle/distinfo +++ b/devel/open-beagle/distinfo @@ -1,3 +1,3 @@ -MD5 (beagle-3.0.1.tar.gz) = 22d1cce24e8a699b457ed196c2a30b51 -SHA256 (beagle-3.0.1.tar.gz) = a0f5dd1f1041cbf44858e89795790ef1d2634564a93a410885fb566d341e5814 -SIZE (beagle-3.0.1.tar.gz) = 4838478 +MD5 (beagle-3.0.3.tar.gz) = de928be9857e522e9180f5f6a190377e +SHA256 (beagle-3.0.3.tar.gz) = 2e481dc180bc1f665ade82f0568db4d67f4b8b3f32bc155f1358fd48630e2935 +SIZE (beagle-3.0.3.tar.gz) = 5002994 diff --git a/devel/open-beagle/files/patch-PACC-Util-SignalHandler.cpp b/devel/open-beagle/files/patch-PACC-Util-SignalHandler.cpp deleted file mode 100644 index 22f6c60c072e..000000000000 --- a/devel/open-beagle/files/patch-PACC-Util-SignalHandler.cpp +++ /dev/null @@ -1,20 +0,0 @@ ---- PACC/Util/SignalHandler.cpp.orig Wed Oct 5 06:38:27 2005 -+++ PACC/Util/SignalHandler.cpp Mon Sep 11 16:09:17 2006 -@@ -89,7 +89,7 @@ - //the signal is not defined under Windows, do nothing - if(inSignalNumber < 1) return; - if(smOldSigIgn[inSignalNumber] != NULL) return; -- smOldSigIgn[inSignalNumber] = (void*)signal(inSignalNumber, SIG_IGN); -+ smOldSigIgn[inSignalNumber] = (void*)signal(inSignalNumber, (void (*)(int))SIG_IGN); - } - - /*! -@@ -126,7 +126,7 @@ - signal(inSignalNumber, (__sighandler_t)smOldSigIgn[inSignalNumber]); - #endif - } -- else signal(inSignalNumber, SIG_DFL); -+ else signal(inSignalNumber, (void (*)(int))SIG_DFL); - smOldSigIgn[inSignalNumber] = NULL; - } - diff --git a/devel/open-beagle/pkg-plist b/devel/open-beagle/pkg-plist index 01c636d8b7e7..5037e74a813d 100644 --- a/devel/open-beagle/pkg-plist +++ b/devel/open-beagle/pkg-plist @@ -1,5 +1,6 @@ include/Math.hpp include/Math/Matrix.hpp +include/Math/QRandSequencer.hpp include/Math/Vector.hpp include/SVG.hpp include/SVG/Canvas.hpp @@ -87,6 +88,7 @@ include/beagle/FitnessSimpleMin.hpp include/beagle/Float.hpp include/beagle/GA.hpp include/beagle/GA/BitString.hpp +include/beagle/GA/CMAHolder.hpp include/beagle/GA/CrossoverBlendESVecOp.hpp include/beagle/GA/CrossoverBlendFltVecOp.hpp include/beagle/GA/CrossoverIndicesIntVecOp.hpp @@ -113,6 +115,7 @@ include/beagle/GA/EvolverFloatVector.hpp include/beagle/GA/EvolverIntegerVector.hpp include/beagle/GA/FloatVector.hpp include/beagle/GA/InitBitStrOp.hpp +include/beagle/GA/InitCMAFltVecOp.hpp include/beagle/GA/InitESVecOp.hpp include/beagle/GA/InitFltVecOp.hpp include/beagle/GA/InitIndicesIntVecOp.hpp @@ -125,6 +128,7 @@ include/beagle/GA/MutationFlipBitStrOp.hpp include/beagle/GA/MutationGaussianFltVecOp.hpp include/beagle/GA/MutationShuffleIntVecOp.hpp include/beagle/GA/MutationUniformIntVecOp.hpp +include/beagle/GA/TermCMAOp.hpp include/beagle/GP.hpp include/beagle/GP/ADF.hpp include/beagle/GP/AbsT.hpp @@ -296,27 +300,27 @@ lib/libbeagle-GP.so lib/libbeagle.a lib/libbeagle.la lib/libbeagle.so -lib/libpacc-math-1.2.1.so +lib/libpacc-math-%%PACCVERSION%%.so lib/libpacc-math.a lib/libpacc-math.la lib/libpacc-math.so -lib/libpacc-socket-1.2.1.so +lib/libpacc-socket-%%PACCVERSION%%.so lib/libpacc-socket.a lib/libpacc-socket.la lib/libpacc-socket.so -lib/libpacc-svg-1.2.1.so +lib/libpacc-svg-%%PACCVERSION%%.so lib/libpacc-svg.a lib/libpacc-svg.la lib/libpacc-svg.so -lib/libpacc-threading-1.2.1.so +lib/libpacc-threading-%%PACCVERSION%%.so lib/libpacc-threading.a lib/libpacc-threading.la lib/libpacc-threading.so -lib/libpacc-util-1.2.1.so +lib/libpacc-util-%%PACCVERSION%%.so lib/libpacc-util.a lib/libpacc-util.la lib/libpacc-util.so -lib/libpacc-xml-1.2.1.so +lib/libpacc-xml-%%PACCVERSION%%.so lib/libpacc-xml.a lib/libpacc-xml.la lib/libpacc-xml.so