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

Collapse All | Expand All

(-)Makefile (-1 / +23 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
41
MAN_PLIST_FILES=	man/man1/certbot.1.gz \
42
			man/man7/certbot.7.gz
43
35
NO_ARCH=	yes
44
NO_ARCH=	yes
36
45
46
.include <bsd.port.options.mk>
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
Lines 40-44 Link Here
40
do-test:
51
do-test:
41
	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
52
	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
42
53
54
pre-install:
55
.if ${PORT_OPTIONS:MMAN}
56
	${LOCALBASE}/bin/gmake -C ${WRKSRC}/docs man
57
.endif
58
59
post-install:
60
.if ${PORT_OPTIONS:MMAN}
61
	${CP} ${WRKSRC}/docs/_build/man/certbot.1 ${STAGEDIR}${PREFIX}/man/man1
62
	${CP} ${WRKSRC}/docs/_build/man/certbot.7 ${STAGEDIR}${PREFIX}/man/man7
63
.endif
64
43
.include "${.CURDIR}/../py-acme/version.mk"
65
.include "${.CURDIR}/../py-acme/version.mk"
44
.include <bsd.port.mk>
66
.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