aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2023-04-16 14:43:49 +0000
committerThierry Thomas <thierry@FreeBSD.org>2023-04-20 15:30:55 +0000
commit221f9d5c719dbaffb3de38670818ffa79b1b3b27 (patch)
tree08512a517de419cf45d5f51c3fcb5cc5b44a4c96
parenta0b47811fa34ef7972498a1c8097e7569237655e (diff)
downloadports-221f9d5c719dbaffb3de38670818ffa79b1b3b27.tar.gz
ports-221f9d5c719dbaffb3de38670818ffa79b1b3b27.zip
science/qcl: upgrade to 0.6.7
Changelogs at <http://tph.tuwien.ac.at/~oemer/qcl.html>. Also adding a test target.
-rw-r--r--science/qcl/Makefile9
-rw-r--r--science/qcl/distinfo5
2 files changed, 9 insertions, 5 deletions
diff --git a/science/qcl/Makefile b/science/qcl/Makefile
index f96761154d0d..5ef3163ad1b1 100644
--- a/science/qcl/Makefile
+++ b/science/qcl/Makefile
@@ -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>
diff --git a/science/qcl/distinfo b/science/qcl/distinfo
index f6030c7207b6..d7c20fa075bc 100644
--- a/science/qcl/distinfo
+++ b/science/qcl/distinfo
@@ -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