rpointel 237d425855 update dtfabric to 20200621.
tips and ok from bket@
2020-09-23 11:08:30 +00:00

32 lines
675 B
Makefile

# $OpenBSD: Makefile,v 1.8 2020/09/23 11:08:30 rpointel Exp $
COMMENT = data type fabric
MODPY_EGG_VERSION = 20200621
DISTNAME = dtfabric-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
CATEGORIES = devel
MAINTAINER = Remi Pointel <rpointel@openbsd.org>
# Apache v2
PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_SETUPTOOLS = Yes
MODPY_PI = Yes
RUN_DEPENDS = textproc/py-yaml${MODPY_FLAVOR}
FLAVORS = python3
FLAVOR = python3
# make it possible to install both (un)FLAVORed packages alongside
post-install:
rm -rf ${PREFIX}/share/doc/dtfabric/
mv ${PREFIX}/bin/validate-definitions.py ${PREFIX}/bin/validate-definitions${MODPY_BIN_SUFFIX}
.include <bsd.port.mk>