View | Details | Raw Unified | Return to bug 235701 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-1 / +29 lines)
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 32-39 Link Here
32
USES=		python
32
USES=		python
33
USE_PYTHON=	autoplist concurrent distutils
33
USE_PYTHON=	autoplist concurrent distutils
34
34
35
OPTIONS_DEFINE=	MAN
36
MAN_DESC=	Build manpages
37
OPTIONS_DEFAULT=	MAN
38
39
MAN_USES=	gmake
40
MAN_BUILD_DEPENDS=	sphinx-build:textproc/py-sphinx@${PY_FLAVOR} \
41
			${PYTHON_PKGNAMEPREFIX}repoze.sphinx.autointerface>0:devel/py-repoze.sphinx.autointerface@${PY_FLAVOR} \
42
			gsed:textproc/gsed
43
MAN_PLIST_FILES=	man/man1/certbot.1.gz \
44
			man/man7/certbot.7.gz
45
35
NO_ARCH=	yes
46
NO_ARCH=	yes
36
47
48
SED_CMD=	${LOCALBASE}/bin/gsed
49
50
.include <bsd.port.options.mk>
51
37
post-patch:
52
post-patch:
38
	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/certbot/compat.py
53
	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/certbot/compat.py
39
54
Lines 40-44 Link Here
40
do-test:
55
do-test:
41
	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
56
	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
42
57
58
pre-install:
59
.if ${PORT_OPTIONS:MMAN}
60
	${LOCALBASE}/bin/gmake -C ${WRKSRC}/docs man
61
.endif
62
63
post-install:
64
.if ${PORT_OPTIONS:MMAN}
65
	${CP} ${WRKSRC}/docs/_build/man/certbot.1 ${STAGEDIR}${PREFIX}/man/man1
66
	${CP} ${WRKSRC}/docs/_build/man/certbot.7 ${STAGEDIR}${PREFIX}/man/man7
67
	${SED_CMD} -i '1i\.if n .pl 2000v' ${STAGEDIR}${PREFIX}/man/man7/certbot.7
68
.endif
69
43
.include "${.CURDIR}/../py-acme/version.mk"
70
.include "${.CURDIR}/../py-acme/version.mk"
71
44
.include <bsd.port.mk>
72
.include <bsd.port.mk>
(-)files/patch-docs_conf.py (+10 lines)
Line 0 Link Here
1
--- docs/conf.py.orig	2019-02-13 03:52:55 UTC
2
+++ docs/conf.py
3
@@ -46,7 +46,6 @@ extensions = [
4
     'sphinx.ext.todo',
5
     'sphinx.ext.coverage',
6
     'sphinx.ext.viewcode',
7
-    'repoze.sphinx.autointerface',
8
 ]
9
 
10
 if sphinx.version_info >= (1, 6):

Return to bug 235701