mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
35 lines
573 B
Makefile
35 lines
573 B
Makefile
COMMENT= Google data interchange format (protocol buffers)
|
|
|
|
PYMAJOR= 7
|
|
PROTOBUF_VERSION= 35.1
|
|
|
|
V= ${PYMAJOR}.${PROTOBUF_VERSION}
|
|
MODPY_DISTV= ${V:S/-//g}
|
|
TAG= v${PROTOBUF_VERSION:S/rc-/rc/}
|
|
|
|
DISTNAME= protobuf-${MODPY_DISTV}
|
|
PKGNAME= py-protobuf-${MODPY_DISTV}
|
|
|
|
# C11
|
|
COMPILER= base-clang ports-gcc
|
|
COMPILER_LANGS= c
|
|
|
|
FIX_EXTRACT_PERMISSIONS= Yes
|
|
|
|
CATEGORIES= devel
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
MODULES= lang/python
|
|
|
|
MODPY_PI= Yes
|
|
MODPY_PYBUILD= setuptools
|
|
|
|
BUILD_DEPENDS= devel/protobuf
|
|
|
|
# No tests in sources on PyPi
|
|
NO_TEST= Yes
|
|
|
|
.include <bsd.port.mk>
|