diff options
-rw-r--r-- | math/kseg/Makefile | 14 | ||||
-rw-r--r-- | math/kseg/distinfo | 6 | ||||
-rw-r--r-- | math/kseg/pkg-plist | 4 |
3 files changed, 17 insertions, 7 deletions
diff --git a/math/kseg/Makefile b/math/kseg/Makefile index ed65e6bdff7d..95f731917582 100644 --- a/math/kseg/Makefile +++ b/math/kseg/Makefile @@ -6,7 +6,7 @@ # PORTNAME= kseg -PORTVERSION= 0.402 +PORTVERSION= 0.403 PORTEPOCH= 1 CATEGORIES= math graphics MASTER_SITES= http://www.mit.edu/~ibaran/ @@ -14,13 +14,19 @@ MASTER_SITES= http://www.mit.edu/~ibaran/ MAINTAINER= kcwu@csie.org COMMENT= A simulator of euclidean geometry +BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake + +WRKSRC= ${WRKDIR}/${PORTNAME} USE_QT_VER= 3 USE_X_PREFIX= yes -USE_REINPLACE= yes +MAKE_ENV= PTHREAD_LIBS=${PTHREAD_LIBS} QTDIR="${QT_PREFIX}" pre-patch: - ${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 + ${REINPLACE_CMD} -e '/^CONFIG/s/$$/ thread/' ${WRKSRC}/${PORTNAME}.pro + +do-configure: + @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} qmake \ + -spec ${LOCALBASE}/share/qt/mkspecs/freebsd-g++ ${PORTNAME}.pro do-install: ${INSTALL_PROGRAM} ${WRKSRC}/kseg ${PREFIX}/bin diff --git a/math/kseg/distinfo b/math/kseg/distinfo index d56e18041b67..a5440f28f01e 100644 --- a/math/kseg/distinfo +++ b/math/kseg/distinfo @@ -1,3 +1,3 @@ -MD5 (kseg-0.402.tar.gz) = fd2a02afbfe3fcc53367527a75a340b5 -SHA256 (kseg-0.402.tar.gz) = a109edb8333fd47fc7b7540ddebfdf8bb84a0523f4a31c31646a132b0d355ab4 -SIZE (kseg-0.402.tar.gz) = 626031 +MD5 (kseg-0.403.tar.gz) = 5474516091e5c4206179cfa03bb7c263 +SHA256 (kseg-0.403.tar.gz) = 233743ea0b5916c45f15e1780cc5a44e9b069d9841d34a5cb2f680f4a060c2d5 +SIZE (kseg-0.403.tar.gz) = 656675 diff --git a/math/kseg/pkg-plist b/math/kseg/pkg-plist index 1982e3485263..870244abfa89 100644 --- a/math/kseg/pkg-plist +++ b/math/kseg/pkg-plist @@ -44,7 +44,9 @@ lib/X11/kseg/kseg_help_ja.html lib/X11/kseg/kseg_help_nl.html lib/X11/kseg/kseg_help_pt.html lib/X11/kseg/kseg_help_ru.html +lib/X11/kseg/kseg_help_tc.html lib/X11/kseg/kseg_help_tr.html +lib/X11/kseg/kseg_help_zh.html lib/X11/kseg/kseg_hu.qm lib/X11/kseg/kseg_it.qm lib/X11/kseg/kseg_ja.qm @@ -52,6 +54,8 @@ lib/X11/kseg/kseg_nb.qm lib/X11/kseg/kseg_nl.qm lib/X11/kseg/kseg_pt.qm lib/X11/kseg/kseg_ru.qm +lib/X11/kseg/kseg_tc.qm lib/X11/kseg/kseg_tr.qm +lib/X11/kseg/kseg_zh.qm @dirrm %%EXAMPLESDIR%% @dirrm lib/X11/kseg |