science/qcl: upgrade to 0.6.7

Changelogs at <http://tph.tuwien.ac.at/~oemer/qcl.html>.

Also adding a test target.
2023Q3
Thierry Thomas 2023-04-16 16:43:49 +02:00
parent a0b47811fa
commit 221f9d5c71
2 changed files with 9 additions and 5 deletions

View File

@ -1,6 +1,5 @@
PORTNAME= qcl
PORTVERSION= 0.6.4
PORTREVISION= 2
PORTVERSION= 0.6.7
CATEGORIES= science math
MASTER_SITES= http://tph.tuwien.ac.at/~oemer/tgz/
@ -16,13 +15,14 @@ PLIST_FILES= bin/qcl
PORTDATA= *
OPTIONS_DEFINE= PLOTUTILS
OPTIONS_DEFAULT= PLOTUTILS
PLOTUTILS_DESC= Plotting support via plotutils
PLOTUTILS_LIB_DEPENDS= libplotter.so:graphics/plotutils
PLOTUTILS_CXXFLAGS= -I${LOCALBASE}/include -DQCL_PLOT
PLOTUTILS_LDFLAGS= -L${LOCALBASE}/lib -lplotter
post-patch:
pre-configure:
@${REINPLACE_CMD} -e \
's|/usr/local|${PREFIX}| ; \
s|lib/qcl|share/qcl| ; \
@ -41,4 +41,7 @@ do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${WRKSRC}/lib && ${INSTALL_DATA} *.qcl ${STAGEDIR}${DATADIR})
do-test: install
qcl --color ${DATADIR}/test.qcl
.include <bsd.port.mk>

View File

@ -1,2 +1,3 @@
SHA256 (qcl-0.6.4.tgz) = ff4d4899c5995bd75601e8125312ce20059f065326c29467b7f5dfa3a87d45f4
SIZE (qcl-0.6.4.tgz) = 137396
TIMESTAMP = 1681650624
SHA256 (qcl-0.6.7.tgz) = 0dbdbf90d951e518aa0efa822fa0a819cc3e025a6efa768f5d4227cc899d04e6
SIZE (qcl-0.6.7.tgz) = 136947