diff options
author | rene <rene@FreeBSD.org> | 2013-12-05 20:14:33 +0800 |
---|---|---|
committer | rene <rene@FreeBSD.org> | 2013-12-05 20:14:33 +0800 |
commit | 2ab98c3b81f207396485922c2e3d7425cb79b88d (patch) | |
tree | d5d0d945ac5d255fd827593a50023e46312c97c8 /science | |
parent | 935c5507bf1485e599251be6b303b49427fa7e0c (diff) | |
download | freebsd-ports-gnome-2ab98c3b81f207396485922c2e3d7425cb79b88d.tar.gz freebsd-ports-gnome-2ab98c3b81f207396485922c2e3d7425cb79b88d.tar.zst freebsd-ports-gnome-2ab98c3b81f207396485922c2e3d7425cb79b88d.zip |
Remove expired ports:
2013-12-04 x11-themes/lila-xfwm4: Upstream development dead
2013-12-05 science/omnetpp: depends on expired textproc/libxml
Diffstat (limited to 'science')
-rw-r--r-- | science/Makefile | 1 | ||||
-rw-r--r-- | science/omnetpp/Makefile | 139 | ||||
-rw-r--r-- | science/omnetpp/distinfo | 2 | ||||
-rw-r--r-- | science/omnetpp/files/patch-configure | 18 | ||||
-rw-r--r-- | science/omnetpp/files/patch-src-sim-cstat.cc | 66 | ||||
-rw-r--r-- | science/omnetpp/files/patch-src-utils-opp_makemake.in | 11 | ||||
-rw-r--r-- | science/omnetpp/pkg-descr | 19 | ||||
-rw-r--r-- | science/omnetpp/pkg-message | 10 | ||||
-rw-r--r-- | science/omnetpp/pkg-plist | 21 |
9 files changed, 0 insertions, 287 deletions
diff --git a/science/Makefile b/science/Makefile index 7c5b83aef953..694a19a35806 100644 --- a/science/Makefile +++ b/science/Makefile @@ -109,7 +109,6 @@ SUBDIR += netcdf3-ftn SUBDIR += netcdf4 SUBDIR += nifticlib - SUBDIR += omnetpp SUBDIR += openbabel SUBDIR += p5-Algorithm-SVMLight SUBDIR += p5-Chemistry-3DBuilder diff --git a/science/omnetpp/Makefile b/science/omnetpp/Makefile deleted file mode 100644 index e6f18900f945..000000000000 --- a/science/omnetpp/Makefile +++ /dev/null @@ -1,139 +0,0 @@ -# Created by: bkoenig -# $FreeBSD$ - -PORTNAME= omnetpp -PORTVERSION= 3.3 -PORTREVISION= 7 -CATEGORIES= science -MASTER_SITES= http://www.omnetpp.org/download/release/ -DISTNAME= ${PORTNAME}-${PORTVERSION}-src -EXTRACT_SUFX= .tgz - -MAINTAINER= bkoenig@alpha-tierchen.de -COMMENT= A discrete event simulation environment - -DEPRECATED= depends on expired textproc/libxml -EXPIRATION_DATE=2013-12-05 - -LIB_DEPENDS= libBLT25.so:${PORTSDIR}/x11-toolkits/blt - -GNU_CONFIGURE= yes -USES= gmake pkgconfig perl5 tk -USE_GNOME= libxml libxslt - -USE_LDCONFIG= yes - -TCL_VER_NODOT= ${TCL_VER:S/.//} -TK_VER_NODOT= ${TK_VER:S/.//} - -LIB_FILES= cmdenv envir nedxml sim_std tkenv - -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -CONFIGUREUSER= ${WRKSRC}/configure.user -PKG_CONFIG?= ${LOCALBASE}/bin/pkg-config -PLIST= ${WRKDIR}/pkg-plist - -INCLDIR= ${PREFIX}/include/${PORTNAME} -INCLDIR_REL= ${INCLDIR:S,^${PREFIX}/,,} - -OPTIONS_DEFINE= MAGICK GRAPHVIZ DOXYGEN DOCS -OPTIONS_DEFAULT= MAGICK GRAPHVIZ DOXYGEN -MAGICK_DESC= Install ImageMagick for EPS-JPG conversion -GRAPHVIZ_DESC= Install Graphviz for generating diagrams -DOXYGEN_DESC= Install Doxygen to create the API reference - -NO_STAGE= yes -.include <bsd.port.pre.mk> - -.if ${PORT_OPTIONS:MMAGICK} -depend+= convert:${PORTSDIR}/graphics/ImageMagick -.endif - -.if ${PORT_OPTIONS:MGRAPHVIZ} -depend+= dot:${PORTSDIR}/graphics/graphviz -.endif - -.if ${PORT_OPTIONS:MDOXYGEN} -depend+= doxygen:${PORTSDIR}/devel/doxygen -.endif - -BUILD_DEPENDS+= ${depend} -RUN_DEPENDS+= ${depend} - -pre-configure: - @${REINPLACE_CMD} \ - -e 's,-O2 -DNDEBUG=1,${CFLAGS} -fPIC,' \ - -e 's,^#MSGC,MSGC,' \ - ${WRKSRC}/configure.user - @${ECHO} "CC=${CC}" >> ${CONFIGUREUSER} - @${ECHO} "CXX=${CXX}" >> ${CONFIGUREUSER} - - @${ECHO} "OMNETPP_BITMAP_PATH=${DATADIR}/bitmaps" >> ${CONFIGUREUSER} - @${ECHO} "TK_CFLAGS=\"-I${LOCALBASE}/include -I${LOCALBASE}/include/tcl${TCL_VER} -I${LOCALBASE}/include/tk${TK_VER}\"" >> ${CONFIGUREUSER} - @${ECHO} "TK_LIBS=\"-L${LOCALBASE}/lib -L${LOCALBASE}/lib -lX11 -ltcl${TCL_VER_NODOT} -ltk${TK_VER_NODOT}\"" >> ${CONFIGUREUSER} - @${ECHO} "LIBXML_CFLAGS=\"`${PKG_CONFIG} --cflags libxml-2.0`\"" >> ${CONFIGUREUSER} - @${ECHO} "LIBXML_LIBS=\"`${PKG_CONFIG} --libs libxml-2.0`\"" >> ${CONFIGUREUSER} - @${ECHO} "WISH=wish${TK_VER}" >> ${CONFIGUREUSER} - -pre-install: - @${CP} pkg-plist ${PLIST} - @(cd ${WRKSRC}; \ - ${FIND} -s include -type f | ${SED} "s,^include,${INCLDIR_REL}," >> ${PLIST}; \ - ${FIND} -s -d include -type d | ${SED} "s,^include,@dirrm ${INCLDIR_REL}," >> ${PLIST}; \ - ) - @(cd ${WRKSRC}; \ - ${FIND} -s bitmaps -type f | ${SED} "s,^,%%DATADIR%%/," >> ${PLIST}; \ - ${FIND} -s -d bitmaps -type d | ${SED} "s,^,@dirrm %%DATADIR%%/," >> ${PLIST} \ - ) -.if ${PORT_OPTIONS:MDOCS} - @(cd ${WRKSRC}; \ - ${FIND} -s doc/ -type f | ${SED} "s,^doc/,%%DOCSDIR%%/," >> ${PLIST}; \ - ${FIND} -s -d doc/ -type d | ${SED} "s,^doc/,@dirrm %%DOCSDIR%%/," >> ${PLIST} \ - ) -.endif - @${ECHO} "%%DATADIR%%/neddoc.xsl" >> ${PLIST} - @${ECHO} "%%DATADIR%%/neddocproc.pl" >> ${PLIST} - @${ECHO} "@dirrm %%DATADIR%%" >> ${PLIST} - -do-install: - @${MKDIR} ${DATADIR} - @${INSTALL_PROGRAM} ${WRKSRC}/bin/gned ${PREFIX}/bin - @${INSTALL_PROGRAM} ${WRKSRC}/bin/nedtool ${PREFIX}/bin - @${INSTALL_PROGRAM} ${WRKSRC}/bin/plove ${PREFIX}/bin - @${INSTALL_PROGRAM} ${WRKSRC}/bin/seedtool ${PREFIX}/bin - @${INSTALL_PROGRAM} ${WRKSRC}/bin/scalars ${PREFIX}/bin - @${INSTALL_SCRIPT} ${WRKSRC}/bin/opp_* ${PREFIX}/bin - @${INSTALL_SCRIPT} ${WRKSRC}/bin/splitvec ${PREFIX}/bin - @${INSTALL_DATA} ${WRKSRC}/bin/neddoc.xsl ${DATADIR} - @${INSTALL_DATA} ${WRKSRC}/bin/neddocproc.pl ${DATADIR} - @${REINPLACE_CMD} -i '' \ - -e 's,${WRKSRC}/bin,${PREFIX}/bin,' \ - -e 's,${WRKSRC}/include,${INCLDIR},' \ - -e 's,${WRKSRC}/lib,${PREFIX}/lib,' \ - ${PREFIX}/bin/opp_makemake - @${REINPLACE_CMD} -i '' \ - -e 's,^\(.NEDDOC.* = "\).*/\(.*";\),\1${DATADIR}/\2,' \ - ${PREFIX}/bin/opp_neddoc -.for file in ${LIB_FILES} - @${INSTALL_DATA} ${WRKSRC}/lib/*.${PORTVERSION} ${PREFIX}/lib - @${LN} -s lib${file}.so.${PORTVERSION} ${PREFIX}/lib/lib${file}.so -.endfor - @(cd ${WRKSRC}/include;\ - ${FIND} . -type d -exec ${MKDIR} ${INCLDIR}/{} \; ;\ - ${FIND} . -type f | ${XARGS} -I% ${INSTALL_DATA} % ${INCLDIR}/% \ - ) - @(cd ${WRKSRC}/bitmaps;\ - ${FIND} . -type d -exec ${MKDIR} ${DATADIR}/bitmaps/{} \; ;\ - ${FIND} . -type f | ${XARGS} -I% ${INSTALL_DATA} % ${DATADIR}/bitmaps/% \ - ) -.if ${PORT_OPTIONS:MDOCS} - @(cd ${WRKSRC}/doc;\ - ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \; ;\ - ${FIND} . -type f | ${XARGS} -I% ${INSTALL_DATA} % ${DOCSDIR}/% \ - ) -.endif - -post-install: - @${CAT} ${PKGMESSAGE} - -.include <bsd.port.post.mk> diff --git a/science/omnetpp/distinfo b/science/omnetpp/distinfo deleted file mode 100644 index 7fd2e7ca35f4..000000000000 --- a/science/omnetpp/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (omnetpp-3.3-src.tgz) = f30fef40428a4177cc0ee3fb8a50d64101e6ddd5eaa464ec69f83a634b8c22f3 -SIZE (omnetpp-3.3-src.tgz) = 6942933 diff --git a/science/omnetpp/files/patch-configure b/science/omnetpp/files/patch-configure deleted file mode 100644 index b91204ae708c..000000000000 --- a/science/omnetpp/files/patch-configure +++ /dev/null @@ -1,18 +0,0 @@ ---- configure.orig 2006-10-21 17:47:44.000000000 +0200 -+++ configure 2008-04-06 15:04:21.000000000 +0200 -@@ -5152,6 +5152,7 @@ - echo "$as_me: error: Cannot find wish, part of Tcl/Tk -- maybe it is not in the PATH or has some exotic name (tested names were: wish wish85 wish8.5 wish84 wish8.4 cygwish cygwish85 cygwish84)" >&2;} - { (exit 1); exit 1; }; } - fi -+if false; then - if echo 'puts OK; exit' | $WISH | grep OK >/dev/null; then :; else - { { echo "$as_me:$LINENO: error: Cannot run wish (wish command \"puts OK; exit\" failed): maybe you're not running X or DISPLAY environment variable not set?" >&5 - echo "$as_me: error: Cannot run wish (wish command \"puts OK; exit\" failed): maybe you're not running X or DISPLAY environment variable not set?" >&2;} -@@ -5162,6 +5163,7 @@ - echo "$as_me: error: wish command \"package require Tk 8.4\" failed: probably old Tcl/Tk version, version 8.4.0+ required" >&2;} - { (exit 1); exit 1; }; } - fi -+fi - - # note: square brackets necessary otherwise M4 messes up the Tcl command - tcl_library=`echo 'puts [info library]; exit' | $WISH` diff --git a/science/omnetpp/files/patch-src-sim-cstat.cc b/science/omnetpp/files/patch-src-sim-cstat.cc deleted file mode 100644 index 633994783299..000000000000 --- a/science/omnetpp/files/patch-src-sim-cstat.cc +++ /dev/null @@ -1,66 +0,0 @@ ---- src/sim/cstat.cc.orig 2006-10-21 16:44:55.000000000 +0200 -+++ src/sim/cstat.cc 2008-04-06 14:42:30.000000000 +0200 -@@ -370,8 +370,31 @@ - - void cWeightedStdDev::collect2(double val, double weight) - { -- cStdDev::collect(weight*val); -+ // Lars Westerhoff: collect weight*val*val for sqrsum_samples for variance -+ -+ if (++num_samples <= 0) -+ { -+ // FIXME: num_samples overflow: issue warning and must stop collecting! -+ ev.printf("\a\nWARNING: (%s)%s: observation count overflow!\n\n",className(),fullPath()); -+ } -+ sum_samples+=weight*val; -+ sqrsum_samples+=weight*val*val; - sum_weights += weight; -+ -+ if (num_samples>1) -+ { -+ if (val<min_samples) -+ min_samples=val; -+ else if (val>max_samples) -+ max_samples=val; -+ } -+ else -+ { -+ min_samples=max_samples=val; -+ } -+ -+ if (transientDetectionObject()) td->collect(val); //NL -+ if (accuracyDetectionObject()) ra->collect(val); //NL - } - - void cWeightedStdDev::clearResult() -@@ -382,18 +405,18 @@ - - double cWeightedStdDev::variance() const - { -- throw new cRuntimeError(this, "variance()/stddev() not implemented"); -+ // Lars Westerhoff -- -- // if (sum_weights==0) -- // return 0.0; -- // else -- // { -- // double devsqr = (sqrsum_samples - sum_samples*sum_samples/sum_weights)/(sum_weights-1); -- // if (devsqr<=0) -- // return 0.0; -- // else -- // return devsqr; -- //} -+ -+ if (sum_weights==0) -+ return 0.0; -+ else -+ { -+ double devsqr = (sqrsum_samples - sum_samples*sum_samples/sum_weights)/(sum_weights); // sum_weights-1 ??? -+ if (devsqr<=0) -+ return 0.0; -+ else -+ return devsqr; -+ } - } - - void cWeightedStdDev::saveToFile(FILE *f) const diff --git a/science/omnetpp/files/patch-src-utils-opp_makemake.in b/science/omnetpp/files/patch-src-utils-opp_makemake.in deleted file mode 100644 index 020f96ca22ea..000000000000 --- a/science/omnetpp/files/patch-src-utils-opp_makemake.in +++ /dev/null @@ -1,11 +0,0 @@ ---- src/utils/opp_makemake.in.orig 2006-10-21 16:43:59.000000000 +0200 -+++ src/utils/opp_makemake.in 2008-04-06 14:33:13.000000000 +0200 -@@ -254,7 +254,7 @@ - - -u | --userinterface) - shift -- userif=`echo $1 | tr '[a-z]' '[A-Z]'` -+ userif=`echo $1 | tr '[[:lower:]]' '[[:upper:]]'` - case "$userif" in - CMDENV | TKENV) - ;; diff --git a/science/omnetpp/pkg-descr b/science/omnetpp/pkg-descr deleted file mode 100644 index 234b650ea547..000000000000 --- a/science/omnetpp/pkg-descr +++ /dev/null @@ -1,19 +0,0 @@ -OMNeT++ is a public-source, component-based, modular and -open-architecture simulation environment with strong GUI -support and an embeddable simulation kernel. Its primary -application area is the simulation of communication -networks and because of its generic and flexible -architecture, it has been successfully used in other -areas like the simulation of IT systems, queueing -networks, hardware architectures and business processes -as well. OMNeT++ is rapidly becoming a popular -simulation platform in the scientific community as well -as in industrial settings. Several open source -simulation models have been published, in the field of -internet simulations (IP, IPv6, MPLS, etc), mobility and -ad-hoc simulations and other areas. - -OMNeT++ is free for academic and non-profit use; -commercial users must obtain a license from Omnest Global Inc. - -WWW: http://www.omnetpp.org/ diff --git a/science/omnetpp/pkg-message b/science/omnetpp/pkg-message deleted file mode 100644 index fef455df2695..000000000000 --- a/science/omnetpp/pkg-message +++ /dev/null @@ -1,10 +0,0 @@ - - #################################################################### - ## ## - ## -- Legal note -- ## - ## ## - ## OMNeT++ is free for academic and non-profit use; commercial ## - ## users must obtain a license from Omnest Global Inc. ## - ## ## - #################################################################### - diff --git a/science/omnetpp/pkg-plist b/science/omnetpp/pkg-plist deleted file mode 100644 index 4cb4021be9bd..000000000000 --- a/science/omnetpp/pkg-plist +++ /dev/null @@ -1,21 +0,0 @@ -bin/gned -bin/nedtool -bin/opp_makedep -bin/opp_makemake -bin/opp_msgc -bin/opp_neddoc -bin/opp_test -bin/plove -bin/scalars -bin/seedtool -bin/splitvec -lib/libcmdenv.so.3.3 -lib/libcmdenv.so -lib/libenvir.so.3.3 -lib/libenvir.so -lib/libnedxml.so.3.3 -lib/libnedxml.so -lib/libsim_std.so.3.3 -lib/libsim_std.so -lib/libtkenv.so.3.3 -lib/libtkenv.so |