Skip to content

Commit

Permalink
science/qcl: upgrade to 0.6.7
Browse files Browse the repository at this point in the history
Changelogs at <http://tph.tuwien.ac.at/~oemer/qcl.html>.

Also adding a test target.
  • Loading branch information
thierry-FreeBSD committed Apr 20, 2023
1 parent a0b4781 commit 221f9d5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
9 changes: 6 additions & 3 deletions 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/

Expand All @@ -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| ; \
Expand All @@ -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>
5 changes: 3 additions & 2 deletions 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

0 comments on commit 221f9d5

Please sign in to comment.