Lines 3-9
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= certbot |
4 |
PORTNAME= certbot |
5 |
PORTVERSION= ${ACME_VERSION} |
5 |
PORTVERSION= ${ACME_VERSION} |
6 |
PORTEPOCH= 1 |
6 |
PORTEPOCH= 2 |
7 |
CATEGORIES= security python |
7 |
CATEGORIES= security python |
8 |
MASTER_SITES= CHEESESHOP |
8 |
MASTER_SITES= CHEESESHOP |
9 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
9 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
Lines 34-44
Link Here
|
34 |
|
34 |
|
35 |
NO_ARCH= yes |
35 |
NO_ARCH= yes |
36 |
|
36 |
|
|
|
37 |
OPTIONS_DEFINE= MANPAGES |
38 |
OPTIONS_DEFAULT= MANPAGES |
39 |
MANPAGES_DESC= Build manpages |
40 |
|
41 |
MANPAGES_USES= gmake |
42 |
MANPAGES_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx@${PY_FLAVOR} \ |
43 |
${PYTHON_PKGNAMEPREFIX}repoze.sphinx.autointerface>0:devel/py-repoze.sphinx.autointerface@${PY_FLAVOR} \ |
44 |
gsed:textproc/gsed |
45 |
|
46 |
SED_CMD= ${LOCALBASE}/bin/gsed |
47 |
|
37 |
post-patch: |
48 |
post-patch: |
38 |
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/certbot/compat.py |
49 |
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/certbot/compat.py |
39 |
|
50 |
|
|
|
51 |
post-build-MANPAGES-on: |
52 |
${DO_MAKE_BUILD} -C ${WRKSRC}/docs man |
53 |
|
40 |
do-test: |
54 |
do-test: |
41 |
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test |
55 |
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test |
42 |
|
56 |
|
|
|
57 |
post-install-MANPAGES-on: |
58 |
${INSTALL_MAN} ${WRKSRC}/docs/_build/man/certbot.1 ${STAGEDIR}${PREFIX}/man/man1 |
59 |
${INSTALL_MAN} ${WRKSRC}/docs/_build/man/certbot.7 ${STAGEDIR}${PREFIX}/man/man7 |
60 |
${SED_CMD} -i '1i\.if n .pl 2000v' ${STAGEDIR}${PREFIX}/man/man7/certbot.7 |
61 |
|
43 |
.include "${.CURDIR}/../py-acme/version.mk" |
62 |
.include "${.CURDIR}/../py-acme/version.mk" |
|
|
63 |
|
44 |
.include <bsd.port.mk> |
64 |
.include <bsd.port.mk> |