summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-07-31 09:49:17 -0700
committerYuri Victorovich <yuri@FreeBSD.org>2022-07-31 09:49:17 -0700
commit17d9c64726a4163f60e5a087cd5ce9493cc19048 (patch)
treecc3cd7fbb38bc8522794cde33e0d1bdce2c2862d /textproc
parentmath/ascent: Add PKGNAMESUFFIX to prevent confustion (diff)
textproc/castxml: Update g20181115 -> 0.4.5
Also add test target.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/castxml/Makefile8
-rw-r--r--textproc/castxml/distinfo6
-rw-r--r--textproc/castxml/files/patch-doc_conf.py.in11
3 files changed, 7 insertions, 18 deletions
diff --git a/textproc/castxml/Makefile b/textproc/castxml/Makefile
index 662ef8a2c9f9..b779d0b2d044 100644
--- a/textproc/castxml/Makefile
+++ b/textproc/castxml/Makefile
@@ -1,6 +1,6 @@
PORTNAME= castxml
-PORTVERSION= g20181115
-PORTREVISION= 3
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.4.5
CATEGORIES= textproc devel
MAINTAINER= yuri@FreeBSD.org
@@ -13,11 +13,11 @@ BUILD_DEPENDS= clang${LLVM_VERSION}:devel/llvm${LLVM_VERSION}
RUN_DEPENDS= clang${LLVM_VERSION}:devel/llvm${LLVM_VERSION}
TEST_DEPENDS= ${LOCALBASE}/lib/libxml2.so:textproc/libxml2
-USES= cmake compiler:c++11-lang
+USES= cmake:testing compiler:c++11-lang
+
USE_GITHUB= yes
GH_ACCOUNT= CastXML
GH_PROJECT= CastXML
-GH_TAGNAME= c3a239d
CMAKE_ARGS= -DLLVM_DIR:STRING=${LOCALBASE}/llvm${LLVM_VERSION}/lib/cmake/llvm
diff --git a/textproc/castxml/distinfo b/textproc/castxml/distinfo
index fa322803db80..fe3218a57f90 100644
--- a/textproc/castxml/distinfo
+++ b/textproc/castxml/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1543133898
-SHA256 (CastXML-CastXML-g20181115-c3a239d_GH0.tar.gz) = 9d1af12037eefa7ed73c0d916c483f8eb46b9c5a669357fef64a5da22562f040
-SIZE (CastXML-CastXML-g20181115-c3a239d_GH0.tar.gz) = 93002
+TIMESTAMP = 1659285803
+SHA256 (CastXML-CastXML-v0.4.5_GH0.tar.gz) = 007f6d073165e150df0e40e1ec331f6f94304684af9eed3b0e5dabaebcfb1197
+SIZE (CastXML-CastXML-v0.4.5_GH0.tar.gz) = 104158
diff --git a/textproc/castxml/files/patch-doc_conf.py.in b/textproc/castxml/files/patch-doc_conf.py.in
deleted file mode 100644
index 095153b6b598..000000000000
--- a/textproc/castxml/files/patch-doc_conf.py.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- doc/conf.py.in.orig 2018-11-15 20:05:42 UTC
-+++ doc/conf.py.in
-@@ -52,7 +52,7 @@ for fpath in castxml_manuals:
- name, desc, [], int(sec)))
- else:
- sys.stderr.write("ERROR: No castxml-manual-description in '%s'\n" % fpath)
-- except Exception, e:
-+ except Exception as e:
- sys.stderr.write("ERROR: %s\n" % str(e))
- man_show_urls = False
-