aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorArmin Pirkovitsch <sperber@FreeBSD.org>2013-04-03 14:14:42 +0000
committerArmin Pirkovitsch <sperber@FreeBSD.org>2013-04-03 14:14:42 +0000
commit3dff5409b83288761f541062d1b84c0f72e55ea8 (patch)
treee27595f8a4ba81abe5a8de1cfd16bd967f8110d9 /math
parentc7c4ebcc21a8cc8f213805b40d24eebb4bfa880c (diff)
downloadports-3dff5409b83288761f541062d1b84c0f72e55ea8.tar.gz
ports-3dff5409b83288761f541062d1b84c0f72e55ea8.zip
Notes
Diffstat (limited to 'math')
-rw-r--r--math/fityk/Makefile33
-rw-r--r--math/fityk/distinfo8
-rw-r--r--math/fityk/pkg-plist17
3 files changed, 36 insertions, 22 deletions
diff --git a/math/fityk/Makefile b/math/fityk/Makefile
index 6525caefa324..751d43058bb4 100644
--- a/math/fityk/Makefile
+++ b/math/fityk/Makefile
@@ -1,30 +1,26 @@
-# ex:ts=8
-# Ports collection makefile for: fityk
-# Date created: Mar 8, 2005
-# Whom: ijliao
-#
+# Created by: ijliao
# $FreeBSD$
-#
PORTNAME= fityk
-PORTVERSION= 0.9.4
-PORTREVISION= 2
+PORTVERSION= 0.9.8
CATEGORIES= math
-MASTER_SITES= SF \
- SF/xylib:xylib
+MASTER_SITES= SF/xylib:xylib
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:DEFAULT \
${XYLIB_DISTNAME}${EXTRACT_SUFX}:xylib
-MAINTAINER= armin@frozen-zone.org
+MAINTAINER= sperber@FreeBSD.org
COMMENT= Free peak fitting software
-BUILD_DEPENDS= ${LOCALBASE}/include/boost/spirit/core.hpp:${PORTSDIR}/devel/boost-libs \
- gnuplot:${PORTSDIR}/math/gnuplot
-RUN_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot
-
LICENSE= GPLv2 LGPL21
LICENSE_COMB= multi
+BUILD_DEPENDS= ${LOCALBASE}/include/boost/spirit/include/classic_core.hpp:${PORTSDIR}/devel/boost-libs \
+ gnuplot:${PORTSDIR}/math/gnuplot
+RUN_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+USE_GITHUB= yes
+GH_ACCOUNT= wojdyr
USE_BZIP2= yes
USE_GNOME= gtk20
USE_WX= 2.8+
@@ -33,6 +29,7 @@ USE_GMAKE= yes
USE_AUTOTOOLS= libtool
CONFIGURE_ARGS= --without-doc --disable-xyconvert
USE_LDCONFIG= yes
+USE_GCC= any
MAN1= fityk.1 xyconv.1
PORTDOCS= *
@@ -43,7 +40,9 @@ CPPFLAGS+= -I${WRKDIR}/${XYLIB_DISTNAME} \
LDFLAGS+= -L${WRKDIR}/${XYLIB_DISTNAME}/xylib/.libs \
-L${LOCALBASE}/lib ${PTHREAD_LIBS}
-XYLIB_DISTNAME= xylib-0.6
+XYLIB_DISTNAME= xylib-1.1
+
+.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e '/HELP_DEF/s|pkgdatadir|docdir|g' \
@@ -68,7 +67,7 @@ post-install:
${INSTALL_MAN} ${WRKSRC}/doc/fityk.1 ${MANPREFIX}/man/man1
${INSTALL_PROGRAM} ${WRKDIR}/${XYLIB_DISTNAME}/xyconv ${PREFIX}/bin
${INSTALL_MAN} ${WRKDIR}/${XYLIB_DISTNAME}/xyconv.1 ${MANPREFIX}/man/man1
-.if !defined(NOPORTDOCS)
+.if defined(PORT_OPTIONS:MDOCS)
@${MKDIR} ${DOCSDIR}
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} html ${DOCSDIR})
.endif
diff --git a/math/fityk/distinfo b/math/fityk/distinfo
index 89d19ac9eae7..d5ba993db6bd 100644
--- a/math/fityk/distinfo
+++ b/math/fityk/distinfo
@@ -1,4 +1,4 @@
-SHA256 (fityk-0.9.4.tar.bz2) = 81d5858a982aba91a8efe23295b69e9eaf61f83ab969acafee2eec8f17f50a4d
-SIZE (fityk-0.9.4.tar.bz2) = 1011233
-SHA256 (xylib-0.6.tar.bz2) = 86166e6df9dd6fe1c7581f9d111ca5e4d8b84656f94e25133b541054d95c834e
-SIZE (xylib-0.6.tar.bz2) = 288815
+SHA256 (fityk-0.9.8.tar.bz2) = ac9c38979e06b1e848beb02c563c3307cbbd832eca951e05402f777c91bad77c
+SIZE (fityk-0.9.8.tar.bz2) = 1050468
+SHA256 (xylib-1.1.tar.bz2) = eb201ec9eca9ba84547fb590839e6e9177ca252eb8edb4b10785ff506c27bddb
+SIZE (xylib-1.1.tar.bz2) = 288366
diff --git a/math/fityk/pkg-plist b/math/fityk/pkg-plist
index 91799a67fe83..e6cdcd040eab 100644
--- a/math/fityk/pkg-plist
+++ b/math/fityk/pkg-plist
@@ -5,10 +5,25 @@ include/fityk.h
lib/libfityk.a
lib/libfityk.la
lib/libfityk.so
-lib/libfityk.so.2
+lib/libfityk.so.3
share/applications/fityk.desktop
share/mime/packages/fityk.xml
share/pixmaps/fityk.png
+share/fityk/samples/hello.lua
+share/fityk/samples/SiC_Zn.dat
+share/fityk/samples/hello.cc
+share/fityk/samples/SiC_Zn.fit
+share/fityk/samples/hello.pl
+share/fityk/samples/hello.py
+share/fityk/samples/enso.fit
+share/fityk/samples/nacl01.dat
+share/fityk/samples/enso.dat
+share/fityk/samples/nacl01.fit
+share/fityk/samples/README
+share/fityk/samples/test_syntax.fit
+share/fityk/samples/read-shockley.fit
@dirrmtry share/applications
+@dirrm share/fityk/samples
+@dirrm share/fityk
@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime
@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime