ports/textproc/cmark/Makefile
Romain Tartière 2c93a03bbc
textproc/py-CommonMark: Allow installation with textproc/cmark
Both ports install bin/cmark.  Users of textproc/py-CommonMark are
supposely more interested in the python module rather than the command
line tool: nothing in the ports tree seems to use bin/cmark from this
port.

Rename the command to cmark-py to fix conflict

PR:		274848
Reported by:	jcfyecrayz@liamekaens.com
2023-11-10 15:54:11 -10:00

21 lines
459 B
Makefile

PORTNAME= cmark
DISTVERSION= 0.30.2
CATEGORIES= textproc
MAINTAINER= adridg@FreeBSD.org
COMMENT= CommonMark parsing and rendering library and program in C
WWW= https://github.com/commonmark/cmark
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
USES= cmake python: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>