30 lines
529 B
Makefile
30 lines
529 B
Makefile
# $OpenBSD: Makefile,v 1.2 2017/11/02 09:22:32 rpointel Exp $
|
|
|
|
COMMENT = compatibility layer between Python 2 and Python 3
|
|
|
|
MODPY_EGG_VERSION = 0.16.0
|
|
DISTNAME = future-${MODPY_EGG_VERSION}
|
|
PKGNAME = py-${DISTNAME}
|
|
REVISION = 0
|
|
|
|
CATEGORIES = devel
|
|
HOMEPAGE = http://python-future.org/
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
MODULES = lang/python
|
|
|
|
MODPY_PI = Yes
|
|
MODPY_SETUPTOOLS = Yes
|
|
|
|
FLAVORS = python3
|
|
FLAVOR ?=
|
|
|
|
post-install:
|
|
for i in ${PREFIX}/bin/*; do \
|
|
mv $${i} $${i}${MODPY_BIN_SUFFIX} ;\
|
|
done
|
|
|
|
.include <bsd.port.mk>
|