Lines 1-41
Link Here
|
1 |
# Created by: Cheng-Lung Sung <clsung@FreeBSD.org> |
1 |
# Created by: Cheng-Lung Sung <clsung@FreeBSD.org> |
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= utf8proc |
4 |
PORTNAME= utf8proc |
5 |
PORTVERSION= 2.4.0 |
5 |
PORTVERSION= 2.5.0 |
6 |
DISTVERSIONPREFIX= v |
6 |
DISTVERSIONPREFIX= v |
7 |
CATEGORIES= textproc devel |
7 |
CATEGORIES= textproc devel |
8 |
|
8 |
|
9 |
MAINTAINER= hrs@FreeBSD.org |
9 |
MAINTAINER= hrs@FreeBSD.org |
10 |
COMMENT= UTF-8 processing library |
10 |
COMMENT= UTF-8 processing library |
11 |
|
11 |
|
12 |
LICENSE= MIT |
12 |
LICENSE= MIT |
13 |
LICENSE_FILE= ${WRKSRC}/LICENSE.md |
13 |
LICENSE_FILE= ${WRKSRC}/LICENSE.md |
14 |
|
14 |
|
|
|
15 |
TEST_DEPENDS= curl:ftp/curl |
16 |
|
15 |
USES= gmake |
17 |
USES= gmake |
16 |
USE_GITHUB= yes |
|
|
17 |
|
18 |
|
|
|
19 |
USE_GITHUB= yes |
18 |
GH_ACCOUNT= JuliaStrings |
20 |
GH_ACCOUNT= JuliaStrings |
19 |
USE_LDCONFIG= yes |
21 |
USE_LDCONFIG= yes |
|
|
22 |
TEST_USES= perl |
23 |
TEST_TARGET= check |
24 |
|
20 |
MAKE_ARGS= prefix=${PREFIX} |
25 |
MAKE_ARGS= prefix=${PREFIX} |
21 |
PLIST_FILES= include/utf8proc.h \ |
26 |
PLIST_FILES= include/utf8proc.h \ |
22 |
lib/libutf8proc.a \ |
27 |
lib/libutf8proc.a \ |
23 |
lib/libutf8proc.so \ |
28 |
lib/libutf8proc.so \ |
24 |
lib/libutf8proc.so.2 \ |
29 |
lib/libutf8proc.so.2 \ |
25 |
lib/libutf8proc.so.2.3.1 \ |
30 |
lib/libutf8proc.so.2.3.2 \ |
26 |
libdata/pkgconfig/libutf8proc.pc |
31 |
libdata/pkgconfig/libutf8proc.pc |
27 |
PORTDOCS= NEWS.md README.md |
32 |
PORTDOCS= NEWS.md README.md |
28 |
|
33 |
|
29 |
CONFLICTS= libutf8proc-[0-9]* |
34 |
CONFLICTS= libutf8proc-[0-9]* |
30 |
|
35 |
|
31 |
OPTIONS_DEFINE= DOCS |
36 |
OPTIONS_DEFINE= DOCS |
32 |
|
37 |
|
33 |
post-install: |
38 |
post-install: |
34 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libutf8proc.so |
39 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libutf8proc.so |
35 |
|
40 |
|
36 |
post-install-DOCS-on: |
41 |
post-install-DOCS-on: |
37 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
42 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
38 |
cd ${WRKSRC} && \ |
43 |
cd ${WRKSRC} && \ |
39 |
${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} |
44 |
${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} |
40 |
|
45 |
|
41 |
.include <bsd.port.mk> |
46 |
.include <bsd.port.mk> |