# Created by: Tobias Kortkamp <t@tobik.me>
# $FreeBSD: head/textproc/cmark/Makefile 455210 2017-11-30 15:50:30Z mat $

PORTNAME=	cmark
PORTVERSION=	0.28.3
CATEGORIES=	textproc

MAINTAINER=	tobik@FreeBSD.org
COMMENT=	CommonMark parsing and rendering library and program in C

LICENSE=	BSD2CLAUSE
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		cmake:outsource python:3.4+,test
USE_GITHUB=	yes
GH_ACCOUNT=	commonmark
USE_LDCONFIG=	yes

CMAKE_ARGS=	-DCMAKE_INSTALL_LIBDIR:STRING="lib"
PLIST_SUB=	VERSION=${PORTVERSION}
TEST_TARGET=	test

.include <bsd.port.mk>
