summaryrefslogtreecommitdiff
path: root/editors/editorconfig-core-c/Makefile
blob: c016cb8b9a37935933b514351c1c70b9df9e22cf (plain)
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
# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
# $FreeBSD$

PORTNAME=	editorconfig-core-c
PORTVERSION=	0.12.4
DISTVERSIONPREFIX=	v
CATEGORIES=	editors

MAINTAINER=	ports@FreeBSD.org
COMMENT=	EditorConfig core library and executable written in C

LICENSE=	BSD2CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	doxygen:devel/doxygen
LIB_DEPENDS=	libpcre2-8.so:devel/pcre2

USES=		cmake

USE_GITHUB=	yes
GH_ACCOUNT=	editorconfig

USE_LDCONFIG=	yes

PLIST_SUB=	PORTVERSION=${PORTVERSION} \
		SHLIB_MAJOR=${PORTVERSION:C/\..+//} \
		SHLIB_VER=${PORTVERSION}

.include <bsd.port.mk>