31 lines
527 B
Makefile
31 lines
527 B
Makefile
|
COMMENT = command line interface tools for Python
|
||
|
|
||
|
MODPY_EGG_VERSION = 0.5.1
|
||
|
DISTNAME = clint-${MODPY_EGG_VERSION}
|
||
|
PKGNAME = py-${DISTNAME}
|
||
|
CATEGORIES = devel
|
||
|
REVISION = 8
|
||
|
|
||
|
|
||
|
# ISC
|
||
|
PERMIT_PACKAGE = Yes
|
||
|
|
||
|
MODULES = lang/python
|
||
|
|
||
|
MODPY_PI = Yes
|
||
|
MODPY_PYBUILD = setuptools
|
||
|
|
||
|
FLAVORS = python3
|
||
|
FLAVOR = python3
|
||
|
|
||
|
DOCS = ${PREFIX}/share/doc/${MODPY_PY_PREFIX}clint
|
||
|
|
||
|
post-install:
|
||
|
${INSTALL_DATA_DIR} ${DOCS}
|
||
|
cd ${WRKSRC} && pax -rw *.rst ${DOCS}
|
||
|
|
||
|
do-test:
|
||
|
cd ${WRKSRC} && ${MODPY_BIN} test_clint.py
|
||
|
|
||
|
.include <bsd.port.mk>
|