aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/utf8proc/Makefile
blob: 977b80564548399cd0488514efe6b39408e32212 (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
PORTNAME=	utf8proc
DISTVERSION=	2.10.0
CATEGORIES=	textproc devel
MASTER_SITES=	https://github.com/JuliaStrings/${PORTNAME}/releases/download/v${DISTVERSION}/

MAINTAINER=	diizzy@FreeBSD.org
COMMENT=	UTF-8 processing library
WWW=		https://juliastrings.github.io/utf8proc/

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE.md

USES=		cmake
USE_LDCONFIG=	yes

CMAKE_ON=	BUILD_SHARED_LIBS

PLIST_FILES=	include/utf8proc.h \
		lib/libutf8proc.so \
		lib/libutf8proc.so.3 \
		lib/libutf8proc.so.3.1.0 \
		libdata/pkgconfig/libutf8proc.pc
PORTDOCS=	NEWS.md README.md

OPTIONS_DEFINE=	DOCS

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	cd ${WRKSRC} && \
	    ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>