Lines 1-8
Link Here
|
1 |
PORTNAME= libpsl |
1 |
PORTNAME= libpsl |
2 |
PORTVERSION= 0.21.2 |
2 |
DISTVERSION= 0.21.5 |
3 |
PORTREVISION= 5 |
|
|
4 |
CATEGORIES= dns |
3 |
CATEGORIES= dns |
5 |
MASTER_SITES= https://github.com/rockdaboot/libpsl/releases/download/${PORTVERSION}/ |
4 |
MASTER_SITES= https://github.com/rockdaboot/${PORTNAME}/releases/download/${DISTVERSION}/ |
6 |
|
5 |
|
7 |
MAINTAINER= sunpoet@FreeBSD.org |
6 |
MAINTAINER= sunpoet@FreeBSD.org |
8 |
COMMENT= C library to handle the Public Suffix List |
7 |
COMMENT= C library to handle the Public Suffix List |
Lines 14-30
LICENSE_FILE= ${WRKSRC}/LICENSE
Link Here
|
14 |
BUILD_DEPENDS= public_suffix_list>=0:dns/public_suffix_list |
13 |
BUILD_DEPENDS= public_suffix_list>=0:dns/public_suffix_list |
15 |
|
14 |
|
16 |
USES= localbase:ldflags meson pkgconfig python:build shebangfix tar:lz |
15 |
USES= localbase:ldflags meson pkgconfig python:build shebangfix tar:lz |
|
|
16 |
SHEBANG_FILES= src/psl-make-dafsa |
17 |
USE_LDCONFIG= yes |
18 |
USE_LOCALE= en_US.UTF-8 |
19 |
|
20 |
TEST_TARGET= test |
17 |
|
21 |
|
18 |
MESON_ARGS= --default-library=both \ |
22 |
MESON_ARGS= --default-library=both \ |
19 |
-Dbuiltin=true \ |
23 |
-Dbuiltin=true \ |
20 |
-Ddocs=false \ |
24 |
-Ddocs=false \ |
21 |
-Dpsl_file=${LOCALBASE}/share/public_suffix_list/public_suffix_list.dat \ |
25 |
-Dpsl_file=${LOCALBASE}/share/public_suffix_list/public_suffix_list.dat \ |
22 |
-Dpsl_testfile=${LOCALBASE}/share/public_suffix_list/test_psl.txt |
26 |
-Dpsl_testfile=${LOCALBASE}/share/public_suffix_list/test_psl.txt |
23 |
USE_LDCONFIG= yes |
|
|
24 |
USE_LOCALE= en_US.UTF-8 |
25 |
|
26 |
SHEBANG_FILES= src/psl-make-dafsa |
27 |
TEST_TARGET= test |
28 |
|
27 |
|
29 |
OPTIONS_SINGLE= IDNA |
28 |
OPTIONS_SINGLE= IDNA |
30 |
OPTIONS_SINGLE_IDNA= ICU IDN IDN2 |
29 |
OPTIONS_SINGLE_IDNA= ICU IDN IDN2 |
Lines 35-48
IDN2_DESC= Use dns/libidn2 (IDNA2008 library)
Link Here
|
35 |
|
34 |
|
36 |
ICU_LIB_DEPENDS= libicuuc.so:devel/icu |
35 |
ICU_LIB_DEPENDS= libicuuc.so:devel/icu |
37 |
ICU_MESON_ON= -Druntime=libicu |
36 |
ICU_MESON_ON= -Druntime=libicu |
|
|
37 |
|
38 |
IDN_USES= iconv |
38 |
IDN_LIB_DEPENDS= libidn.so:dns/libidn \ |
39 |
IDN_LIB_DEPENDS= libidn.so:dns/libidn \ |
39 |
libunistring.so:devel/libunistring |
40 |
libunistring.so:devel/libunistring |
40 |
IDN_MESON_ON= -Druntime=libidn |
41 |
IDN_MESON_ON= -Druntime=libidn |
41 |
IDN_USES= iconv |
42 |
|
|
|
43 |
IDN2_USES= iconv |
42 |
IDN2_LIB_DEPENDS= libidn2.so:dns/libidn2 \ |
44 |
IDN2_LIB_DEPENDS= libidn2.so:dns/libidn2 \ |
43 |
libunistring.so:devel/libunistring |
45 |
libunistring.so:devel/libunistring |
44 |
IDN2_MESON_ON= -Druntime=libidn2 |
46 |
IDN2_MESON_ON= -Druntime=libidn2 |
45 |
IDN2_USES= iconv |
|
|
46 |
|
47 |
|
47 |
post-install: |
48 |
post-install: |
48 |
${RM} ${STAGEDIR}${PREFIX}/bin/psl-make-dafsa ${STAGEDIR}${PREFIX}/share/man/man1/psl-make-dafsa.1 |
49 |
${RM} ${STAGEDIR}${PREFIX}/bin/psl-make-dafsa ${STAGEDIR}${PREFIX}/share/man/man1/psl-make-dafsa.1 |