summaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2010-11-21 20:33:18 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2010-11-21 20:33:18 +0000
commit1a85e5452067ef80c734fce836ff3fd7a5c9f0b5 (patch)
tree3cb6f0c3209e5157b2cd30bcc0f707543f97491e /science
parentUpdate eclipse-cdt according to PR, and give maintainership to Aldis. (diff)
Update to 2.0.2
Notes
Notes: svn path=/head/; revision=264883
Diffstat (limited to 'science')
-rw-r--r--science/kst2/Makefile8
-rw-r--r--science/kst2/distinfo5
-rw-r--r--science/kst2/files/patch-kst.pro11
-rw-r--r--science/kst2/pkg-plist1
4 files changed, 21 insertions, 4 deletions
diff --git a/science/kst2/Makefile b/science/kst2/Makefile
index 6902c4b6c0e2..724c94f00886 100644
--- a/science/kst2/Makefile
+++ b/science/kst2/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= kst
-PORTVERSION= 2.0.0
+PORTVERSION= 2.0.2
CATEGORIES= science kde
MASTER_SITES= SF/${PORTNAME}/Kst%20${PORTVERSION}/
@@ -44,6 +44,12 @@ IGNORE= does not compile on 6.x
do-configure:
cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKE_ARGS} ${QMAKEFLAGS}
+post-configure:
+#fix build when Qt-3.x is installed
+ ${FIND} -d ${WRKSRC} -name Makefile | ${XARGS} ${REINPLACE_CMD} \
+ -e '/^CFLAGS.*=/s|-I/usr/local/include||' \
+ -e '/^CXXFLAGS.*=/s|-I/usr/local/include||'
+
post-install:
${STRIP_CMD} ${STRIP_FILES:S,^,${PREFIX}/,}
${MKDIR} ${PREFIX}/share/pixmaps
diff --git a/science/kst2/distinfo b/science/kst2/distinfo
index 630906bd43c6..cd7f84f0a435 100644
--- a/science/kst2/distinfo
+++ b/science/kst2/distinfo
@@ -1,3 +1,2 @@
-MD5 (kst-2.0.0.tar.gz) = 30fa9d5a3af9170592c49ba282947331
-SHA256 (kst-2.0.0.tar.gz) = 6f3e639b87cc21c3ddc8891aa91ee713c6b750cd9fafc945fb97acc1a8fe0c7c
-SIZE (kst-2.0.0.tar.gz) = 10270708
+SHA256 (kst-2.0.2.tar.gz) = 706a4c83f246a5bc9691cc574e7deb8d817d64f27182adb4400776752edf430a
+SIZE (kst-2.0.2.tar.gz) = 10503526
diff --git a/science/kst2/files/patch-kst.pro b/science/kst2/files/patch-kst.pro
new file mode 100644
index 000000000000..bffe197dda85
--- /dev/null
+++ b/science/kst2/files/patch-kst.pro
@@ -0,0 +1,11 @@
+--- ./kst.pro.orig 2010-09-27 11:32:51.000000000 +0400
++++ ./kst.pro 2010-11-13 23:53:45.113750666 +0300
+@@ -9,7 +9,5 @@
+ src/libkstapp \
+ src/kst \
+ src/d2asc \
+- src/plugins \
+- tests
++ src/plugins
+
+-!win32-msvc*:SUBDIRS += tests/dirfile_maker
diff --git a/science/kst2/pkg-plist b/science/kst2/pkg-plist
index 49c6642f5c78..7317a84daa11 100644
--- a/science/kst2/pkg-plist
+++ b/science/kst2/pkg-plist
@@ -1,5 +1,6 @@
bin/kst2
lib/kst/libkst2data_ascii.so
+lib/kst/libkst2data_fitsimage.so
lib/kst/libkst2data_qimagesource.so
lib/kst/libkst2data_sampledatasource.so
lib/kst/libkstplugin_akima.so