mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
1.7.1: * Incremented version for new tarball. 1.7.0: * Add public mtbl_threadpool API, enabling multithreaded functionality for mtbl_writer and mtbl_sorter objects; see mtbl_threadpool manpage for more info. * Add mtbl_writer_options_set_threadpool() to enable multithreaded data block compression. * Add mtbl_sorter_options_set_threadpool() to enable multithreaded sorting. * Add -t option for setting the preferred number of threads to use in an mtbl_threadpool object used for writing in mtbl_merge. Bump PORTREVISION of dependent ports. Sponsored by: DomainTools LLC
36 lines
848 B
Makefile
36 lines
848 B
Makefile
PORTNAME= pymtbl
|
|
PORTVERSION= 0.6.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= FARSIGHT LOCAL/truckman/farsight
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= truckman@FreeBSD.org
|
|
COMMENT= Python wrapper for devel/mtbl
|
|
WWW= https://github.com/farsightsec/pymtbl
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
|
|
|
|
LIB_DEPENDS= libmtbl.so:devel/mtbl
|
|
|
|
USES= pkgconfig python shebangfix uniquefiles:dirs
|
|
USE_PYTHON= autoplist cython distutils
|
|
|
|
SHEBANG_FILES= examples/*.py examples/*/*.py
|
|
|
|
PORTEXAMPLES= *
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
OPTIONS_DEFINE= EXAMPLES
|
|
|
|
pre-build:
|
|
cython-${PYTHON_VER} ${WRKSRC}/mtbl.pyx
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/mtbl*.so
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
|
|
|
|
.include <bsd.port.mk>
|