freebsd-ports/archivers/py-bup/Makefile
Rene Ladan 3d9a815d9c all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++ -DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable -Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x -MT _quickfix_la-QuickfixPython.lo -MD -MP -MF .deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o .libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
2023-06-27 21:34:34 +02:00

44 lines
1.2 KiB
Makefile

PORTNAME= bup
PORTVERSION= 0.32
CATEGORIES= archivers python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= portmaster@BSDforge.com
COMMENT= Very efficient backup system based on the git packfile format
WWW= https://bup.github.io
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pylibacl>0:security/py-pylibacl@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}xattr>0:devel/py-xattr@${PY_FLAVOR} \
git>1.5.6:devel/git \
par2cmdline>0.4:archivers/par2cmdline
BUILD_DEPENDS= bash:shells/bash \
git>1.5.6:devel/git
RUN_DEPENDS= bash:shells/bash
USES= gmake python shebangfix
USE_PYTHON= autoplist
SHEBANG_FILES= test/ext/test-sparse-files lib/cmd/import-rdiff-backup-cmd.sh
PLIST_SUB= MANDIR=${PREFIX}/share/man
OPTIONS_DEFINE= TORNADO DOCS
OPTIONS_DEFAULT= DOC
TORNADO_DESC= Bup web server
TORNADO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tornado>4:www/py-tornado@${PY_FLAVOR}
DOCS_DESC= Build man files and html documentation
DOCS_BUILD_DEPENDS= pandoc:textproc/hs-pandoc
DOCS_VARS= PANDOC=pandoc
DOCS_VARS_OFF= PANDOC=""
TEST_TARGET= test
MAKE_ARGS= PANDOC="${PANDOC}"
USE_GITHUB= yes
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/bup/bup/*.so
.include <bsd.port.mk>