blob: e9b6bf2e32678cad88f6894f53037a9aa73df013 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
PORTNAME= universal-ctags
PORTVERSION= p6.1.20240303.0
CATEGORIES= devel
MAINTAINER= dereks@lifeofadishwasher.com
COMMENT= Fork of Exuberant Ctags to generate index/tag files
WWW= https://ctags.io/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= autoreconf gmake pkgconfig python:test
USE_GITHUB= yes
GH_PROJECT= ctags
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
CONFIGURE_ARGS= --program-prefix=u
TEST_TARGET= check
PORTSCOUT= limit:^p6
OPTIONS_DEFINE= DEBUG GLOBAL_CONFIG ICONV JSON LIBXML2 MANPAGES PCRE2 \
YAML
OPTIONS_DEFAULT= ${OPTIONS_DEFINE:NDEBUG:NGLOBAL_CONFIG}
OPTIONS_SUB= yes
GLOBAL_CONFIG_DESC= Enable reading global config from ${LOCALBASE}/etc/uctags.conf
JSON_DESC= JSON output support
PCRE2_DESC= ${PCRE_DESC} v2
DEBUG_CONFIGURE_ENABLE= debugging
GLOBAL_CONFIG_CONFIGURE_ENABLE= custom-config="${LOCALBASE}/etc/uctags.conf"
ICONV_USES= iconv
ICONV_CONFIGURE_ENABLE= iconv
# Extra support for YAML and XML based languages
JSON_LIB_DEPENDS= libjansson.so:devel/jansson
JSON_CONFIGURE_ENABLE= json
LIBXML2_LIB_DEPENDS= libxml2.so:textproc/libxml2
LIBXML2_CONFIGURE_ENABLE= xml
MANPAGES_BUILD_DEPENDS= rst2man:textproc/py-docutils
MANPAGES_CONFIGURE_WITH= rst2man=${LOCALBASE}/bin/rst2man
PCRE2_LIB_DEPENDS= libpcre2-8.so:devel/pcre2
PCRE2_CONFIGURE_ENABLE= pcre2
YAML_LIB_DEPENDS= libyaml.so:textproc/libyaml
YAML_CONFIGURE_ENABLE= yaml
.include <bsd.port.mk>
|