aboutsummaryrefslogtreecommitdiff
path: root/editors/editorconfig-core-c/Makefile
blob: b0fb7a66359e632f8a7862d059b68cfe1a3b14c0 (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
PORTNAME=	editorconfig-core-c
PORTVERSION=	0.12.7
DISTVERSIONPREFIX=	v
CATEGORIES=	editors

MAINTAINER=	dutra@FreeBSD.org
COMMENT=	EditorConfig core library and executable written in C
WWW=		https://editorconfig.org/

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

CONFLICTS_INSTALL=	py*-editorconfig

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

.include <bsd.port.mk>