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-44
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 |
|
48 |
.if ${PORT_OPTIONS:MMAN} |
37 |
post-patch: |
49 |
post-patch: |
38 |
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/certbot/compat.py |
50 |
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/certbot/compat.py |
|
|
51 |
.endif |
39 |
|
52 |
|
40 |
do-test: |
53 |
do-test: |
41 |
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test |
54 |
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test |
42 |
|
55 |
|
|
|
56 |
pre-install: |
57 |
${LOCALBASE}/bin/gmake -C ${WRKSRC}/docs man |
58 |
|
59 |
post-install: |
60 |
${CP} ${WRKSRC}/docs/_build/man/certbot.1 ${STAGEDIR}${PREFIX}/man/man1 |
61 |
${CP} ${WRKSRC}/docs/_build/man/certbot.7 ${STAGEDIR}${PREFIX}/man/man7 |
62 |
|
43 |
.include "${.CURDIR}/../py-acme/version.mk" |
63 |
.include "${.CURDIR}/../py-acme/version.mk" |
44 |
.include <bsd.port.mk> |
64 |
.include <bsd.port.mk> |