if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}. This commit doesn't change any versions currently used; it may be that some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those should be cleaned up in the course of updating ports where possible. Python module ports providing py3-* packages should still use FLAVOR=python3 so that we don't have a mixture of dependencies some using ${MODPY_FLAVOR} and others not.
33 lines
687 B
Makefile
33 lines
687 B
Makefile
# $OpenBSD: Makefile,v 1.3 2021/02/23 19:39:43 sthen Exp $
|
|
|
|
COMMENT = tool for partial deblobbing of Intel ME/TXE firmware images
|
|
|
|
GH_ACCOUNT = corna
|
|
GH_PROJECT = me_cleaner
|
|
GH_TAGNAME = v1.2
|
|
REVISION = 0
|
|
|
|
DISTFILES = me_cleaner-{}${GH_TAGNAME}${EXTRACT_SUFX}
|
|
|
|
CATEGORIES = sysutils
|
|
|
|
MAINTAINER = Klemens Nanni <kn@openbsd.org>
|
|
|
|
# GPLv3+
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
MODULES = lang/python
|
|
MODPY_SETUPTOOLS = Yes
|
|
|
|
NO_TEST = Yes
|
|
|
|
DOCDIR = ${PREFIX}/share/doc/me_cleaner
|
|
|
|
post-install:
|
|
mv ${PREFIX}/bin/me_cleaner{.py,}
|
|
${INSTALL_MAN} ${WRKSRC}/man/me_cleaner.1 ${PREFIX}/man/man1/
|
|
${INSTALL_DATA_DIR} ${DOCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README.md ${DOCDIR}/
|
|
|
|
.include <bsd.port.mk>
|