mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
75a5f7f076
- Repocopy textproc/py-sphinx to textproc/py-sphinx18 Update it to 1.8.5 (latest version from 1.8.X). This version supports Python 2 and 3. Add test target. - textproc/py-sphinx: Update to 3.0.2 Python 3 only (3.5+). Add test target. - Mk/Uses/python.mk: Add PY_SPHINX Shared macro to use with flavors and not break ports with USES=python (all versions). Python >=3.5 --> textproc/py-sphinx (v3.0.2) Python < 3.5 --> textproc/py-sphinx18 (v1.8.5) All ports that uses sphinx were changed to use the new variable ${PY_SPHINX} in the dependency line, exceptions: * Ports that fails to build with sphinx 3.0.2 because of code. They are pointing to textproc/py-sphinx18 directly. There aren't many ports. * Ports that doesn't know Python flavors. - Add several patches to fix Sphinx consumers The most common issues are related with pkg-plist, the output files from Sphinx changes between versions, keep this dynamically is the better approach. This will save time in future sphinx updates. PR: 245629 Exp-run by: antoine
44 lines
1003 B
Makefile
44 lines
1003 B
Makefile
# Created by: Sergei Vyshenski <svysh.fbsd@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libscep
|
|
PORTVERSION= 0.08
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= security
|
|
|
|
MAINTAINER= svysh.fbsd@gmail.com
|
|
COMMENT= Client side SCEP library w/o clients
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/README.md
|
|
|
|
BUILD_DEPENDS= check>=0.12.0:devel/check \
|
|
curl>=7.64:ftp/curl \
|
|
uriparser>=0.9.1:net/uriparser \
|
|
${PY_SPHINX}
|
|
RUN_DEPENDS= check>=0.12.0:devel/check \
|
|
curl>=7.64:ftp/curl \
|
|
uriparser>=0.9.1:net/uriparser
|
|
|
|
USES= cmake:noninja gmake ssl pkgconfig libtool python:build
|
|
USE_LDCONFIG= yes
|
|
USE_GCC= yes
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= openxpki
|
|
|
|
CMAKE_OFF= BUILD_CLI
|
|
CMAKE_ARGS+= -DCHECK_INSTALL_DIR=${PREFIX}
|
|
|
|
PLIST_FILES= include/scep.h \
|
|
lib/libscep.so \
|
|
man/man1/libscep.1.gz
|
|
|
|
post-build:
|
|
(cd ${WRKSRC}/docs;\
|
|
BUILDDIR=${BUILD_WRKSRC} SPHINXBUILD=sphinx-build-${PYTHON_VER} ${GMAKE} -e man)
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${BUILD_WRKSRC}/man/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|