Index: Makefile =================================================================== --- Makefile (revision 492824) +++ Makefile (working copy) @@ -3,7 +3,7 @@ PORTNAME= certbot PORTVERSION= ${ACME_VERSION} -PORTEPOCH= 1 +PORTEPOCH= 2 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -32,8 +32,19 @@ USES= python USE_PYTHON= autoplist concurrent distutils +OPTIONS_DEFINE= MAN +MAN_DESC= Build manpages +OPTIONS_DEFAULT= MAN + +MAN_USES= gmake +MAN_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx@${PY_FLAVOR} +MAN_PLIST_FILES= man/man1/certbot.1.gz \ + man/man7/certbot.7.gz + NO_ARCH= yes +.include + post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/certbot/compat.py @@ -40,5 +51,16 @@ do-test: @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test +pre-install: +.if ${PORT_OPTIONS:MMAN} + ${LOCALBASE}/bin/gmake -C ${WRKSRC}/docs man +.endif + +post-install: +.if ${PORT_OPTIONS:MMAN} + ${CP} ${WRKSRC}/docs/_build/man/certbot.1 ${STAGEDIR}${PREFIX}/man/man1 + ${CP} ${WRKSRC}/docs/_build/man/certbot.7 ${STAGEDIR}${PREFIX}/man/man7 +.endif + .include "${.CURDIR}/../py-acme/version.mk" .include Index: files/patch-docs_conf.py =================================================================== --- files/patch-docs_conf.py (nonexistent) +++ files/patch-docs_conf.py (working copy) @@ -0,0 +1,10 @@ +--- docs/conf.py.orig 2019-02-13 03:52:55 UTC ++++ docs/conf.py +@@ -46,7 +46,6 @@ extensions = [ + 'sphinx.ext.todo', + 'sphinx.ext.coverage', + 'sphinx.ext.viewcode', +- 'repoze.sphinx.autointerface', + ] + + if sphinx.version_info >= (1, 6): Property changes on: files/patch-docs_conf.py ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property