danj e4df303f7e Import py-stem. This rename our current net/stem ports and add a py3
flavour. Work done by attila with guidance from sthen@ and myself

ok pascal@ (maintainer)
2017-11-12 20:04:12 +00:00

36 lines
638 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2017/11/12 20:04:12 danj Exp $
COMMENT = Tor controller library
MODPY_EGG_VERSION = 1.6.0
V = ${MODPY_EGG_VERSION:S/b//}
DISTNAME = stem-${MODPY_EGG_VERSION}
PKGNAME = py-stem-${V}
WRKDIST = ${WRKDIR}/stem-${V}
SUBST_VARS += V
CATEGORIES = net
HOMEPAGE = https://stem.torproject.org
MAINTAINER = Pascal Stumpf <pascal@stumpf.co>
# GPLv3
PERMIT_PACKAGE_CDROM = Yes
FLAVORS = python3
FLAVOR ?=
MODULES = lang/python
MODPY_PI = Yes
RUN_DEPENDS = security/py-crypto${MODPY_FLAVOR}
NO_TEST = Yes
post-install:
mv ${PREFIX}/bin/tor-prompt{,${MODPY_BIN_SUFFIX}}
.include <bsd.port.mk>