freebsd-ports/textproc/utf8proc/Makefile

33 lines
732 B
Makefile

PORTNAME= utf8proc
DISTVERSION= 2.9.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.0.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>