Lines 3-8
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= certbot |
4 |
PORTNAME= certbot |
5 |
PORTVERSION= ${ACME_VERSION} |
5 |
PORTVERSION= ${ACME_VERSION} |
|
|
6 |
PORTREVISION= 1 |
6 |
PORTEPOCH= 1 |
7 |
PORTEPOCH= 1 |
7 |
CATEGORIES= security python |
8 |
CATEGORIES= security python |
8 |
MASTER_SITES= CHEESESHOP |
9 |
MASTER_SITES= CHEESESHOP |
Lines 34-50
Link Here
|
34 |
|
35 |
|
35 |
NO_ARCH= yes |
36 |
NO_ARCH= yes |
36 |
SUB_FILES= 500.certbot |
37 |
SUB_FILES= 500.certbot |
37 |
PLIST_FILES= etc/periodic/weekly/500.certbot |
38 |
PLIST_FILES= etc/periodic/weekly/500.certbot-${PYTHON_VER} |
|
|
39 |
SUB_LIST= PYTHON_VER=${PYTHON_VER} |
38 |
|
40 |
|
|
|
41 |
OPTIONS_DEFINE= MANPAGES |
42 |
OPTIONS_DEFAULT= MANPAGES |
43 |
|
44 |
MANPAGES_BUILD_DEPENDS= ${RUN_DEPENDS} \ |
45 |
${PY_SPHINX} \ |
46 |
${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>0:textproc/py-sphinx_rtd_theme@${PY_FLAVOR} \ |
47 |
${PYTHON_PKGNAMEPREFIX}repoze.sphinx.autointerface>0:devel/py-repoze.sphinx.autointerface@${PY_FLAVOR} \ |
48 |
|
49 |
MANPAGES_PLIST_FILES= share/man/man1/certbot.1.gz \ |
50 |
share/man/man7/certbot.7.gz |
51 |
|
39 |
post-patch: |
52 |
post-patch: |
40 |
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ |
53 |
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ |
41 |
${WRKSRC}/certbot/compat/misc.py \ |
54 |
${WRKSRC}/certbot/compat/misc.py \ |
42 |
${WRKSRC}/tests/cli_test.py |
55 |
${WRKSRC}/tests/cli_test.py |
43 |
|
56 |
|
|
|
57 |
post-build-MANPAGES-on: |
58 |
# Avoid gmake / ${DO_MAKE_BUILD} -C ${WRKSRC}/docs man |
59 |
(cd ${WRKSRC}/docs && \ |
60 |
sphinx-build-${PYTHON_VER} -N -b man . _build/man) |
61 |
|
44 |
post-install: |
62 |
post-install: |
45 |
${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/weekly |
63 |
${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/weekly |
46 |
${INSTALL_SCRIPT} ${WRKDIR}/500.certbot \ |
64 |
${INSTALL_SCRIPT} ${WRKDIR}/500.certbot \ |
47 |
${STAGEDIR}${PREFIX}/etc/periodic/weekly |
65 |
${STAGEDIR}${PREFIX}/etc/periodic/weekly/500.certbot-${PYTHON_VER} |
|
|
66 |
|
67 |
post-install-MANPAGES-on: |
68 |
${INSTALL_MAN} ${WRKSRC}/docs/_build/man/certbot.1 \ |
69 |
${STAGEDIR}${PREFIX}/share/man/man1 |
70 |
${INSTALL_MAN} ${WRKSRC}/docs/_build/man/certbot.7 \ |
71 |
${STAGEDIR}${PREFIX}/share/man/man7 |
48 |
|
72 |
|
49 |
do-test: |
73 |
do-test: |
50 |
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test |
74 |
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test |