aboutsummaryrefslogtreecommitdiff
path: root/devel/universal-ctags/Makefile
blob: a295194f2894a5ae48b9d0d18f6efdc16fc05b01 (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
# Created by: Derek Schrock <dereks@lifeofadishwasher.com>

PORTNAME=	universal-ctags
PORTVERSION=	p5.9.20210314.0
CATEGORIES=	devel

MAINTAINER=	dereks@lifeofadishwasher.com
COMMENT=	Fork of Exuberant Ctags to generate index/tag files

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		autoreconf pkgconfig
USE_GITHUB=	yes
GH_PROJECT=	ctags

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--program-prefix=u

TEST_TARGET=	check

OPTIONS_DEFINE=		DEBUG ICONV JSON LIBXML2 MANPAGES YAML
OPTIONS_DEFAULT=	ICONV JSON LIBXML2 MANPAGES YAML
OPTIONS_SUB=		yes

JSON_DESC=	JSON output support

DEBUG_CONFIGURE_ENABLE=	debugging

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

YAML_LIB_DEPENDS=	libyaml.so:textproc/libyaml
YAML_CONFIGURE_ENABLE=	yaml

.include <bsd.port.mk>