1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00

security/botan2: add manpages support

Fix hidden dependency on sphinx and introduce optional manpages
support.

PR:		259737
Reported by:	amdmi3
Submitted by:	tremere@cainites.net (maintainer)
This commit is contained in:
Dmitry Marakasov 2021-12-03 14:37:01 +03:00
parent 6548f83829
commit fee3247210
2 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,6 @@
PORTNAME= botan
DISTVERSION= 2.18.2
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://botan.randombit.net/releases/
PKGNAMESUFFIX= 2
@ -43,10 +44,13 @@ PLIST_SUB= SHLIBVER=${_SHLIBVER} \
SOABIVER=${_SOABIVER}
PORTDOCS= *
OPTIONS_DEFINE= DOCS PYTHON SQLITE3 SSL
OPTIONS_DEFAULT= SSL
OPTIONS_DEFINE= DOCS MANPAGES PYTHON SQLITE3 SSL
OPTIONS_DEFAULT= MANPAGES SSL
OPTIONS_SUB= yes
MANPAGES_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0:textproc/py-sphinx@${PY_FLAVOR}
MANPAGES_CONFIGURE_WITH= sphinx
PYTHON_USES= python:3.6+
PYTHON_USES_OFF= python:3.6+,build
PYTHON_CONFIGURE_ON= --with-python-versions=${PYTHON_VER}

View File

@ -323,3 +323,4 @@ lib/libbotan-2.so.%%SOABIVER%%
lib/libbotan-2.so.%%SOABIVER%%.%%SHLIBVER%%.%%SHLIBVERPATCH%%
%%PYTHON%%%%PYTHON_SITELIBDIR%%/botan2.py
libdata/pkgconfig/botan-2.pc
%%MANPAGES%%share/man/man1/botan.1.gz