Update to 0.351

PR:		48484
Submitted by:	Kuang-che Wu <kcwu@kcwu.dyndns.org>
This commit is contained in:
Tilman Keskinoz 2003-02-22 00:25:26 +00:00
parent f44b898307
commit c44f7552af
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=76075
3 changed files with 55 additions and 45 deletions

View file

@ -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>

View file

@ -1 +1 @@
MD5 (kseg-0.3.tar.gz) = b7302130aa57f0707402340cbf0c7070
MD5 (kseg-0.351.tar.gz) = 4ae2a563eab5f193465af2ef3b3cf98c

View file

@ -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