aboutsummaryrefslogtreecommitdiffstats
path: root/math/kseg
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-02-22 08:25:26 +0800
committerarved <arved@FreeBSD.org>2003-02-22 08:25:26 +0800
commitf848de6e16d52cf8baf250f17e5919d26d40705b (patch)
treeaef7b2509b8f4c46c957e879caa5058ae7f92cf1 /math/kseg
parentc3dde4eeb58dfb77cba6100038dcd745e946fb4e (diff)
downloadfreebsd-ports-gnome-f848de6e16d52cf8baf250f17e5919d26d40705b.tar.gz
freebsd-ports-gnome-f848de6e16d52cf8baf250f17e5919d26d40705b.tar.zst
freebsd-ports-gnome-f848de6e16d52cf8baf250f17e5919d26d40705b.zip
Update to 0.351
PR: 48484 Submitted by: Kuang-che Wu <kcwu@kcwu.dyndns.org>
Diffstat (limited to 'math/kseg')
-rw-r--r--math/kseg/Makefile27
-rw-r--r--math/kseg/distinfo2
-rw-r--r--math/kseg/pkg-plist71
3 files changed, 55 insertions, 45 deletions
diff --git a/math/kseg/Makefile b/math/kseg/Makefile
index 27dfc143942a..0bf51bd1f394 100644
--- a/math/kseg/Makefile
+++ b/math/kseg/Makefile
@@ -6,32 +6,33 @@
#
PORTNAME= kseg
-PORTVERSION= 0.3
+PORTVERSION= 0.351
CATEGORIES= math graphics
MASTER_SITES= http://www.mit.edu/~ibaran/
MAINTAINER= kcwu@ck.tp.edu.tw
COMMENT= A simulator of euclidean geometry
-USE_GCC= 2.95
-USE_QT_VER= 2
+USE_QT_VER= 3
USE_X_PREFIX= yes
USE_REINPLACE= yes
pre-configure:
- ${REINPLACE_CMD} -e "s@\\$$(QTDIR)/include@${PREFIX}/include/qt2@" ${WRKSRC}/Makefile ${WRKSRC}/formula/Makefile
- ${REINPLACE_CMD} -e "s@\\$$(QTDIR)/lib -lqt@${PREFIX}/lib -lqt2@" ${WRKSRC}/Makefile
- ${REINPLACE_CMD} -e "s@^MOC =.*@MOC = ${MOC}@" ${WRKSRC}/Makefile ${WRKSRC}/formula/Makefile
- ${REINPLACE_CMD} -e 's@"LanguageDir", "\."@"LanguageDir", "${PREFIX}/share/doc/kseg"@' ${WRKSRC}/main.cpp
+ ${REINPLACE_CMD} -e "s@\$$(QTDIR)@${QT_PREFIX}@; s@^CC=@#CC=@; s@-O2@${CFLAGS} ${PTHREAD_CFLAGS}@" ${WRKSRC}/Makefile ${WRKSRC}/formula/Makefile
+ ${REINPLACE_CMD} -e "s@-lqt@-lqt-mt ${PTHREAD_LIBS}@; " ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/kseg ${PREFIX}/bin
- ${MKDIR} ${PREFIX}/share/doc/kseg
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/kseg
-.for TRANS in de en fr pt xx
- ${INSTALL_DATA} ${WRKSRC}/kseg_${TRANS}.qm ${PREFIX}/share/doc/kseg
+ ${MKDIR} ${PREFIX}/lib/X11/kseg
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/lib/X11/kseg
+.for TRANS in de en es fr hu nb pt xx
+ ${INSTALL_DATA} ${WRKSRC}/kseg_${TRANS}.qm ${PREFIX}/lib/X11/kseg
.endfor
- ${MKDIR} ${PREFIX}/share/doc/kseg/examples
- for EXAMPLES in ${WRKSRC}/examples/*;do ${INSTALL_DATA} $${EXAMPLES} ${PREFIX}/share/doc/kseg/examples;done
+.for TRANS in en
+ ${INSTALL_DATA} ${WRKSRC}/kseg_help_${TRANS}.html ${PREFIX}/lib/X11/kseg
+.endfor
+ ${MKDIR} ${PREFIX}/lib/X11/kseg/examples
+ for EXAMPLES in ${WRKSRC}/examples/*;do \
+ ${INSTALL_DATA} $${EXAMPLES} ${PREFIX}/lib/X11/kseg/examples;done
.include <bsd.port.mk>
diff --git a/math/kseg/distinfo b/math/kseg/distinfo
index cf3f0df4b7c5..51631cbb3d18 100644
--- a/math/kseg/distinfo
+++ b/math/kseg/distinfo
@@ -1 +1 @@
-MD5 (kseg-0.3.tar.gz) = b7302130aa57f0707402340cbf0c7070
+MD5 (kseg-0.351.tar.gz) = 4ae2a563eab5f193465af2ef3b3cf98c
diff --git a/math/kseg/pkg-plist b/math/kseg/pkg-plist
index 12e7522412db..a9427d6383fa 100644
--- a/math/kseg/pkg-plist
+++ b/math/kseg/pkg-plist
@@ -1,32 +1,41 @@
bin/kseg
-share/doc/kseg/README
-share/doc/kseg/examples/20cell.seg
-share/doc/kseg/examples/circumcircle.sec
-share/doc/kseg/examples/circumcircle.seg
-share/doc/kseg/examples/conic5pt.sec
-share/doc/kseg/examples/cube.seg
-share/doc/kseg/examples/invert.sec
-share/doc/kseg/examples/invert3.sec
-share/doc/kseg/examples/isogonal.sec
-share/doc/kseg/examples/julia.sec
-share/doc/kseg/examples/julia.seg
-share/doc/kseg/examples/kiepert.sec
-share/doc/kseg/examples/kiepert2.sec
-share/doc/kseg/examples/kiepert3.sec
-share/doc/kseg/examples/koch.sec
-share/doc/kseg/examples/large.seg
-share/doc/kseg/examples/largelocus.seg
-share/doc/kseg/examples/locus.seg
-share/doc/kseg/examples/prettylocus.seg
-share/doc/kseg/examples/prettylocusgenerator.sec
-share/doc/kseg/examples/sierp.sec
-share/doc/kseg/examples/sierp2.sec
-share/doc/kseg/examples/tractix.sec
-share/doc/kseg/examples/tractix.seg
-share/doc/kseg/kseg_de.qm
-share/doc/kseg/kseg_en.qm
-share/doc/kseg/kseg_fr.qm
-share/doc/kseg/kseg_pt.qm
-share/doc/kseg/kseg_xx.qm
-@dirrm share/doc/kseg/examples
-@dirrm share/doc/kseg
+lib/X11/kseg/README
+lib/X11/kseg/examples/20cell.seg
+lib/X11/kseg/examples/circumcircle.sec
+lib/X11/kseg/examples/circumcircle.seg
+lib/X11/kseg/examples/conic5pt.sec
+lib/X11/kseg/examples/coord.seg
+lib/X11/kseg/examples/cube.seg
+lib/X11/kseg/examples/delaunay.seg
+lib/X11/kseg/examples/dragon.sec
+lib/X11/kseg/examples/ellipse.sec
+lib/X11/kseg/examples/invert.sec
+lib/X11/kseg/examples/invert3.sec
+lib/X11/kseg/examples/isogonal.sec
+lib/X11/kseg/examples/julia.sec
+lib/X11/kseg/examples/julia.seg
+lib/X11/kseg/examples/kiepert.sec
+lib/X11/kseg/examples/kiepert2.sec
+lib/X11/kseg/examples/kiepert3.sec
+lib/X11/kseg/examples/koch.sec
+lib/X11/kseg/examples/large.seg
+lib/X11/kseg/examples/largelocus.seg
+lib/X11/kseg/examples/locus.seg
+lib/X11/kseg/examples/prettylocus.seg
+lib/X11/kseg/examples/prettylocusgenerator.sec
+lib/X11/kseg/examples/radicalaxis.sec
+lib/X11/kseg/examples/sierp.sec
+lib/X11/kseg/examples/sierp2.sec
+lib/X11/kseg/examples/tractix.sec
+lib/X11/kseg/examples/tractix.seg
+lib/X11/kseg/kseg_de.qm
+lib/X11/kseg/kseg_en.qm
+lib/X11/kseg/kseg_es.qm
+lib/X11/kseg/kseg_fr.qm
+lib/X11/kseg/kseg_hu.qm
+lib/X11/kseg/kseg_help_en.html
+lib/X11/kseg/kseg_nb.qm
+lib/X11/kseg/kseg_pt.qm
+lib/X11/kseg/kseg_xx.qm
+@dirrm lib/X11/kseg/examples
+@dirrm lib/X11/kseg