diff options
Diffstat (limited to 'textproc/utf8proc/Makefile')
| -rw-r--r-- | textproc/utf8proc/Makefile | 28 |
1 files changed, 18 insertions, 10 deletions
diff --git a/textproc/utf8proc/Makefile b/textproc/utf8proc/Makefile index 977b80564548..2c7f4ffa987a 100644 --- a/textproc/utf8proc/Makefile +++ b/textproc/utf8proc/Makefile @@ -1,7 +1,14 @@ PORTNAME= utf8proc -DISTVERSION= 2.10.0 +DISTVERSION= 2.11.1 CATEGORIES= textproc devel -MASTER_SITES= https://github.com/JuliaStrings/${PORTNAME}/releases/download/v${DISTVERSION}/ +MASTER_SITES= https://github.com/JuliaStrings/${PORTNAME}/releases/download/v${DISTVERSION}/ \ + https://www.unicode.org/Public/17.0.0/ucd/:testfiles1 \ + https://www.unicode.org/Public/17.0.0/ucd/auxiliary/:testfiles2 +DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \ + NormalizationTest.txt:testfiles1 \ + GraphemeBreakTest.txt:testfiles2 +DIST_SUBDIR= ${PORTNAME}/${DISTVERSION} +EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} MAINTAINER= diizzy@FreeBSD.org COMMENT= UTF-8 processing library @@ -10,18 +17,15 @@ WWW= https://juliastrings.github.io/utf8proc/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md -USES= cmake +USES= cmake:testing pathfix 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 +CMAKE_TESTING_ON= UTF8PROC_ENABLE_TESTING + +CMAKE_ON= BUILD_SHARED_LIBS + OPTIONS_DEFINE= DOCS post-install-DOCS-on: @@ -29,4 +33,8 @@ post-install-DOCS-on: cd ${WRKSRC} && \ ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} +pre-test: + ${MKDIR} ${BUILD_WRKSRC}/data + ${CP} ${DISTDIR}/${DIST_SUBDIR}/*.txt ${BUILD_WRKSRC}/data + .include <bsd.port.mk> |
