12345678910111213141516171819202122232425262728293031323334353637 |
- # $OpenBSD: Makefile,v 1.2 2017/03/07 10:11:27 rpointel Exp $
- COMMENT = Python bindings for The Sleuth Kit (libtsk)
- MODPY_EGG_VERSION = 20170128
- DISTNAME = pytsk3-${MODPY_EGG_VERSION}
- PKGNAME = py-tsk-${MODPY_EGG_VERSION}
- CATEGORIES = sysutils
- HOMEPAGE = https://github.com/py4n6/pytsk/
- MAINTAINER = Remi Pointel <rpointel@openbsd.org>
- # Apache v2
- PERMIT_PACKAGE_CDROM = Yes
- MODULES = lang/python
- MODPY_PI = Yes
- MODPY_SETUPTOOLS = Yes
- WANTLIB += pthread talloc tsk ${MODPY_WANTLIB}
- pre-configure:
- ${SUBST_DATA} ${WRKSRC}/setup.py ${WRKSRC}/setup.py.new
- mv ${WRKSRC}/setup.py.new ${WRKSRC}/setup.py
- LIB_DEPENDS = sysutils/sleuthkit \
- devel/libtalloc
- TEST_DEPENDS = sysutils/py-tsk=${MODPY_EGG_VERSION}
- # it needs test_data/* in the Github repository
- do-test:
- cd ${WRKSRC} && ${MODPY_BIN} run_tests.py
- .include <bsd.port.mk>
|