diff --git a/.portsignore b/.portsignore index 77ed6cc858d5..1b76840d35dc 100644 --- a/.portsignore +++ b/.portsignore @@ -3807,6 +3807,7 @@ mail/vqadmin mail/xfce4-mailwatch-plugin math/acalc math/analitza +math/ann math/apc math/asymptote math/atlas diff --git a/math/Makefile b/math/Makefile index b94af60305d1..3535615203be 100644 --- a/math/Makefile +++ b/math/Makefile @@ -168,7 +168,6 @@ SUBDIR += amath SUBDIR += ambit SUBDIR += amgcl - SUBDIR += ann SUBDIR += annoy SUBDIR += antic SUBDIR += apache-commons-math diff --git a/math/ann/Makefile b/math/ann/Makefile deleted file mode 100644 index dd49b5850272..000000000000 --- a/math/ann/Makefile +++ /dev/null @@ -1,25 +0,0 @@ -PORTNAME= ann -PORTVERSION= 1.1.2 -PORTREVISION= 1 -CATEGORIES= math science -MASTER_SITES= http://www.cs.umd.edu/~mount/ANN/Files/1.1.2/ -DISTNAME= ann_1.1.2 - -MAINTAINER= tzhuan@csie.org -COMMENT= Library for Approximate Nearest Neighbor Searching -WWW= https://www.cs.umd.edu/~mount/ANN/ - -USES= gmake -USE_CXXSTD= c++14 -USE_LDCONFIG= yes - -post-install: - ${INSTALL_LIB} ${WRKSRC}/lib/libann.so.0 ${STAGEDIR}${PREFIX}/lib - ${INSTALL_DATA} ${WRKSRC}/lib/libann.a ${STAGEDIR}${PREFIX}/lib - ${LN} -fs libann.so.0 ${STAGEDIR}${PREFIX}/lib/libann.so - ${MKDIR} ${STAGEDIR}${PREFIX}/include/ANN - ${INSTALL_DATA} ${WRKSRC}/include/ANN/* ${STAGEDIR}${PREFIX}/include/ANN - ${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/ANNmanual.pdf ${STAGEDIR}${DOCSDIR} - -.include diff --git a/math/ann/distinfo b/math/ann/distinfo deleted file mode 100644 index 57c554783132..000000000000 --- a/math/ann/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (ann_1.1.2.tar.gz) = eea03f2e224b66813226d775053316675375dcec45bd263674c052d9324a49a5 -SIZE (ann_1.1.2.tar.gz) = 590517 diff --git a/math/ann/files/patch-Makefile b/math/ann/files/patch-Makefile deleted file mode 100644 index d9309c87d7d5..000000000000 --- a/math/ann/files/patch-Makefile +++ /dev/null @@ -1,149 +0,0 @@ ---- Makefile.orig 2010-01-28 12:40:01.000000000 +0800 -+++ Makefile 2010-04-23 20:57:18.091096908 +0800 -@@ -1,115 +1,32 @@ --#----------------------------------------------------------------------------- --# Top-level Makefile for ANN. --# --# ANN: Approximate Nearest Neighbors --# Version: 1.1 05/03/05 --#----------------------------------------------------------------------------- --# Copyright (c) 1997-2005 University of Maryland and Sunil Arya and --# David Mount. All Rights Reserved. --# --# This software and related documentation is part of the Approximate --# Nearest Neighbor Library (ANN). This software is provided under --# the provisions of the Lesser GNU Public License (LGPL). See the --# file ../ReadMe.txt for further information. --# --# The University of Maryland (U.M.) and the authors make no --# representations about the suitability or fitness of this software for --# any purpose. It is provided "as is" without express or implied --# warranty. --#----------------------------------------------------------------------------- --# Revision 0.1 09/06/97 --# alpha release --# Revision 0.2 06/26/98 --# Minor changes to fix compilation errors on SGI systems. --# Revision 1.0 04/01/05 --# Initial release (finally!) --# Added linux-g++ target --# Revision 1.1 05/03/05 --# Added macosx-g++ target --#----------------------------------------------------------------------------- -- --#----------------------------------------------------------------------------- --# default: list the options --# The following legacy targets are also available. --# make sunos4 for Sun with SunOS 4.x --# make sunos4-g++ for Sun with SunOS 4.x and g++ --# make alpha-g++ for DEC Alpha and g++ --# The following targets are used for internal development only --# make authors-debug author's debugging --# make authors-perf author's performance evaluations --# make distribution author's generation of distribution file --#----------------------------------------------------------------------------- --default: -- @echo "Enter one of the following:" -- @echo " make linux-g++ for Linux and g++" -- @echo " make macosx-g++ for Mac OS X and g++" -- @echo " make sunos5 for Sun with SunOS 5.x" -- @echo " make sunos5-sl for Sun with SunOS 5.x, make shared libs" -- @echo " make sunos5-g++ for Sun with SunOS 5.x and g++" -- @echo " make sunos5-g++-sl for Sun with SunOS 5.x, g++, make shared libs" -- @echo " make clean remove .o files" -- @echo " make realclean remove .o, library and executable files" -- @echo " " -- @echo "See file Makefile for other compilation options, such as disabling" -- @echo "performance measurement code." -- --#----------------------------------------------------------------------------- --# main make entry point --#----------------------------------------------------------------------------- --alpha-g++ macosx-g++ linux-g++ sgi sunos4 sunos4-g++ sunos5 sunos5-g++ sunos5-g++-sl authors-debug authors-perf: -- cd src ; $(MAKE) $@ -- cd test ; $(MAKE) $@ -- cd sample ; $(MAKE) $@ -- cd ann2fig ; $(MAKE) $@ -- --#----------------------------------------------------------------------------- --# Remove .o files and core files --#----------------------------------------------------------------------------- -+CXXFLAGS+=-Iinclude -Isrc -fPIC -+LDFLAGS+= -+VPATH=src -+SRCS=ANN.cpp \ -+ bd_fix_rad_search.cpp bd_pr_search.cpp bd_search.cpp bd_tree.cpp \ -+ brute.cpp perf.cpp kd_tree.cpp kd_util.cpp \ -+ kd_dump.cpp kd_fix_rad_search.cpp kd_pr_search.cpp kd_search.cpp kd_split.cpp -+OBJS=$(SRCS:.cpp=.o) -+LIBDIR=lib -+ -+ANN_SO=libann.so -+ANN_A=libann.a -+ANN_SONAME=$(ANN_SO).0 -+LIBANN_SO=$(LIBDIR)/$(ANN_SONAME) -+LIBANN_A=$(LIBDIR)/$(ANN_A) -+TARGETS=$(LIBANN_SO) $(LIBANN_A) -+ -+all: $(TARGETS) -+ -+install: all -+ -+%.o: %.cpp -+ $(CXX) $(CXXFLAGS) -c $< -o $@ -+ -+$(LIBANN_SO): $(OBJS) -+ $(CXX) $^ -o $@ -shared -Wl,-soname,$(ANN_SONAME) $(LDFLAGS) -+ -+$(LIBANN_A): $(OBJS) -+ $(AR) rcs $@ $^ -+ - clean: -- cd src ; $(MAKE) clean -- cd test ; $(MAKE) clean -- cd sample ; $(MAKE) clean -- cd ann2fig ; $(MAKE) clean -- cd doc ; $(MAKE) clean -- cd MS_Win32; $(MAKE) clean -- cd validate ; $(MAKE) clean -- --#----------------------------------------------------------------------------- --# Remove everthing that can be remade --#----------------------------------------------------------------------------- --realclean: -- -rm -f lib/* -- -rm -f bin/* -- cd src ; $(MAKE) realclean -- cd test ; $(MAKE) realclean -- cd sample ; $(MAKE) realclean -- cd ann2fig ; $(MAKE) realclean -- cd doc ; $(MAKE) realclean -- cd MS_Win32; $(MAKE) realclean -- cd validate ; $(MAKE) realclean -- --#----------------------------------------------------------------------------- --# Make distribution package (for use by authors only) --#----------------------------------------------------------------------------- --DISTR = ann_1.1.2 -- --distribution: realclean -- cd .. ; mv -f $(DISTR) $(DISTR)-old; mkdir $(DISTR) -- cp Copyright.txt ../$(DISTR) -- cp License.txt ../$(DISTR) -- cp Make-config ../$(DISTR) -- cp Makefile ../$(DISTR) -- cp ReadMe.txt ../$(DISTR) -- cp -r MS_Win32 ../$(DISTR) --# cd ..; mv -f $(DISTR)_MS_Win32_bin $(DISTR)_MS_Win32_bin-old -- cp -r MS_Win32_bin ../$(DISTR)_MS_Win32_bin -- cp -r bin ../$(DISTR) -- cp -r include ../$(DISTR) -- cp -r lib ../$(DISTR) -- cp -r src ../$(DISTR) -- cp -r test ../$(DISTR) -- cp -r sample ../$(DISTR) -- cp -r ann2fig ../$(DISTR) -- cd ../$(DISTR); mkdir doc -- cp doc/*.pdf ../$(DISTR)/doc --# cd .. ; tar -cfv $(DISTR).tar $(DISTR) ; gzip $(DISTR).tar -+ rm -f $(TARGETS) $(OBJS) diff --git a/math/ann/pkg-descr b/math/ann/pkg-descr deleted file mode 100644 index 060d50605314..000000000000 --- a/math/ann/pkg-descr +++ /dev/null @@ -1,3 +0,0 @@ -ANN is a library written in C++, which supports data structures -and algorithms for both exact and approximate nearest neighbor -neighbor searching in arbitrarily high dimensions. diff --git a/math/ann/pkg-plist b/math/ann/pkg-plist deleted file mode 100644 index fb270eafc68c..000000000000 --- a/math/ann/pkg-plist +++ /dev/null @@ -1,7 +0,0 @@ -include/ANN/ANN.h -include/ANN/ANNx.h -include/ANN/ANNperf.h -lib/libann.so.0 -lib/libann.so -lib/libann.a -%%DOCSDIR%%/ANNmanual.pdf