summaryrefslogtreecommitdiff
path: root/math/fityk
diff options
context:
space:
mode:
Diffstat (limited to 'math/fityk')
-rw-r--r--math/fityk/Makefile92
-rw-r--r--math/fityk/distinfo5
-rw-r--r--math/fityk/files/patch-fityk__eparser.cpp29
-rw-r--r--math/fityk/files/patch-wxgui__ceria.cpp10
-rw-r--r--math/fityk/pkg-descr20
-rw-r--r--math/fityk/pkg-plist35
6 files changed, 0 insertions, 191 deletions
diff --git a/math/fityk/Makefile b/math/fityk/Makefile
deleted file mode 100644
index e886fb806172..000000000000
--- a/math/fityk/Makefile
+++ /dev/null
@@ -1,92 +0,0 @@
-# Created by: ijliao
-# $FreeBSD$
-
-PORTNAME= fityk
-PORTVERSION= 1.3.1
-DISTVERSIONPREFIX= v
-PORTREVISION= 9
-CATEGORIES= math
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Free peak fitting software
-
-LICENSE= GPLv2 # (or later)
-LICENSE_FILE= ${WRKSRC}/COPYING
-
-BROKEN= fails to build
-DEPRECATED= Broken for more than 6 months
-EXPIRATION_DATE= 2019-09-04
-
-BUILD_DEPENDS= boost-libs>=1.35:devel/boost-libs \
- swig3.0:devel/swig30 \
- gnuplot:math/gnuplot
-RUN_DEPENDS= gnuplot:math/gnuplot
-
-USE_GITHUB= yes
-GH_ACCOUNT= wojdyr
-GH_PROJECT= xylib:xylib
-GH_TAGNAME= v1.4:xylib
-
-USES= autoreconf compiler:c++11-lib desktop-file-utils gmake \
- libtool lua readline shared-mime-info
-USE_CXXSTD= c++11
-USE_GNOME= gtk20
-USE_WX= 3.0
-WX_CONF_ARGS= absolute
-GNU_CONFIGURE= yes
-INSTALL_TARGET= install-strip
-USE_LDCONFIG= yes
-BINARY_ALIAS= swig=swig3.0
-
-CFLAGS+= -D_GNU_SOURCE
-CPPFLAGS+= -I${WRKDIR}/xylib-1.4 \
- -I${LOCALBASE}/include
-LDFLAGS+= -L${WRKDIR}/xylib-1.4/xylib/.libs \
- -lpthread -lbz2 -lz -L${LOCALBASE}/lib
-
-PORTDOCS= *
-
-OPTIONS_DEFINE= DOCS PYTHON
-OPTIONS_DEFAULT= PYTHON
-OPTIONS_SUB= yes
-
-DOCS_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx
-PYTHON_USES= python:2.7
-PYTHON_CONFIGURE_ENABLE= python
-
-post-patch:
- @${REINPLACE_CMD} -e '/)\/html/s|^|#|' \
- ${WRKSRC}/Makefile.am
- @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \
- ${WRKSRC}/doc/fityk.1
- @${REINPLACE_CMD} -e '/XYLIB_USE_TR1_MEMORY/s| 1| 0|' \
- ${WRKDIR}/xylib-1.4/xylib/cache.h
-
-pre-configure:
- @cd ${WRKDIR}/xylib-1.4 \
- && ${AUTORECONF} -f -i \
- && ${SH} ./configure --disable-shared --without-gui \
- CC="${CC}" CFLAGS="${CFLAGS} -fPIC" \
- CXX="${CXX}" CXXFLAGS="${CXXFLAGS} -fPIC" \
- CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib"
-
-pre-build:
- @cd ${WRKDIR}/xylib-1.4 && ${DO_MAKE_BUILD} ${ALL_TARGET}
-
-post-build-DOCS-on:
- @cd ${WRKSRC}/doc && ${DO_MAKE_BUILD} html
-
-post-install:
- (cd ${WRKDIR}/xylib-1.4 && ${INSTALL_PROGRAM} xyconv \
- ${STAGEDIR}${PREFIX}/bin)
- (cd ${WRKDIR}/xylib-1.4 && ${INSTALL_MAN} xyconv.1 \
- ${STAGEDIR}${MANPREFIX}/man/man1)
-
-post-install-DOCS-on:
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} html \
- ${STAGEDIR}${DOCSDIR})
- @${LN} -sf ${DOCSDIR}/html ${STAGEDIR}${DATADIR}
-
-.include <bsd.port.mk>
diff --git a/math/fityk/distinfo b/math/fityk/distinfo
deleted file mode 100644
index 0a5bfd1c1d7c..000000000000
--- a/math/fityk/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-TIMESTAMP = 1527906558
-SHA256 (wojdyr-fityk-v1.3.1_GH0.tar.gz) = ee80239e5744e508a9487377ae0a0e6da71bbc6f8777c01be82e01035ccdf3cf
-SIZE (wojdyr-fityk-v1.3.1_GH0.tar.gz) = 952443
-SHA256 (wojdyr-xylib-v1.4_GH0.tar.gz) = 435b66a38dd4352c8abf9263119c83d9ec926700ef025b66045608e18095ea26
-SIZE (wojdyr-xylib-v1.4_GH0.tar.gz) = 262109
diff --git a/math/fityk/files/patch-fityk__eparser.cpp b/math/fityk/files/patch-fityk__eparser.cpp
deleted file mode 100644
index 6a07e37aed83..000000000000
--- a/math/fityk/files/patch-fityk__eparser.cpp
+++ /dev/null
@@ -1,29 +0,0 @@
---- fityk/eparser.cpp.orig 2015-05-25 17:42:29 UTC
-+++ fityk/eparser.cpp
-@@ -154,7 +154,7 @@ int get_function_narg(int op)
- }
- }
-
--bool is_function(int op)
-+bool my_is_funcion(int op)
- {
- return get_function_narg(op) != 0;
- }
-@@ -878,7 +878,7 @@ void ExpressionParser::parse_expr(Lexer&
- // check if this is closing bracket of func()
- if (!opstack_.empty()) {
- int top = opstack_.back();
-- if (is_function(top)) {
-+ if (my_is_funcion(top)) {
- pop_onto_que();
- int n = opstack_.back() + 1;
- opstack_.pop_back();
-@@ -911,7 +911,7 @@ void ExpressionParser::parse_expr(Lexer&
- lex.throw_syntax_error("unexpected ',' after '?'");
- // if we are here, opstack_.back() == OP_OPEN_ROUND
- else if (opstack_.size() < 3 ||
-- !is_function(*(opstack_.end() - 2)))
-+ !my_is_funcion(*(opstack_.end() - 2)))
- lex.throw_syntax_error("',' outside of function");
- else
- // don't pop OP_OPEN_ROUND from the stack
diff --git a/math/fityk/files/patch-wxgui__ceria.cpp b/math/fityk/files/patch-wxgui__ceria.cpp
deleted file mode 100644
index cc3e4a1e4c75..000000000000
--- a/math/fityk/files/patch-wxgui__ceria.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
---- wxgui/ceria.cpp.orig 2015-05-25 17:42:29 UTC
-+++ wxgui/ceria.cpp
-@@ -9,6 +9,7 @@
- #include <stdio.h>
- #include <ctype.h>
- #include <cmath>
-+#include <stdlib.h>
- #include <assert.h>
- #include <string.h>
- #include <algorithm>
diff --git a/math/fityk/pkg-descr b/math/fityk/pkg-descr
deleted file mode 100644
index 58dbd466a5b3..000000000000
--- a/math/fityk/pkg-descr
+++ /dev/null
@@ -1,20 +0,0 @@
-Fityk is a program for nonlinear fitting of analytical functions
-(especially peak-shaped) to data (usually experimental data). There are
-also people using it only to display data or to remove baseline from
-data.
-
-It is reported to be used in crystallography, chromatography,
-photoluminescence, infrared and Raman spectroscopy and other fields.
-
-Fityk knows about common peak-shaped functions (Gaussian, Lorentzian,
-Voigt, Pearson VII, bifurcated Gaussian, EMG, Doniach-Sunjic, etc.) and
-polynomials. It also supports user-defined functions.
-
-Fityk offers intuitive graphical interface (and also command line
-interface), variouse optimization methods (standard Marquardt
-least-square algorithm, Genetic Algorithms, Nelder-Mead simplex),
-equality constraints, modelling error of x coordinate of points (eg.
-zero-shift of instrument), handling series of datasets, automation of
-common tasks with scripts, and more.
-
-WWW: http://fityk.nieto.pl/
diff --git a/math/fityk/pkg-plist b/math/fityk/pkg-plist
deleted file mode 100644
index c121389f0ff4..000000000000
--- a/math/fityk/pkg-plist
+++ /dev/null
@@ -1,35 +0,0 @@
-bin/cfityk
-bin/fityk
-bin/xyconv
-include/fityk/fityk.h
-include/fityk/ui_api.h
-lib/libfityk.so
-lib/libfityk.so.4
-lib/libfityk.so.4.0.0
-%%PYTHON%%%%PYTHON_SITELIBDIR%%/_fityk.so
-%%PYTHON%%%%PYTHON_SITELIBDIR%%/fityk.py
-%%PYTHON%%%%PYTHON_SITELIBDIR%%/fityk.pyc
-%%PYTHON%%%%PYTHON_SITELIBDIR%%/fityk.pyo
-man/man1/fityk.1.gz
-man/man1/xyconv.1.gz
-share/applications/fityk.desktop
-%%PORTDOCS%%%%DATADIR%%/html
-%%DATADIR%%/samples/README
-%%DATADIR%%/samples/SiC_Zn.dat
-%%DATADIR%%/samples/SiC_Zn.fit
-%%DATADIR%%/samples/cfityk.py
-%%DATADIR%%/samples/enso.dat
-%%DATADIR%%/samples/enso.fit
-%%DATADIR%%/samples/hello.c
-%%DATADIR%%/samples/hello.cc
-%%DATADIR%%/samples/hello.java
-%%DATADIR%%/samples/hello.lua
-%%DATADIR%%/samples/hello.pl
-%%DATADIR%%/samples/hello.py
-%%DATADIR%%/samples/hello.rb
-%%DATADIR%%/samples/nacl01.dat
-%%DATADIR%%/samples/nacl01.fit
-%%DATADIR%%/samples/read-shockley.fit
-share/icons/hicolor/32x32/apps/fityk.png
-share/icons/hicolor/scalable/apps/fityk.svg
-share/mime/packages/fityk.xml