openbsd-ports/devel/py-dtopt/Makefile

34 lines
677 B
Makefile

# $OpenBSD: Makefile,v 1.2 2009/03/22 17:37:58 fgsch Exp $
COMMENT = add options to doctest examples while they are running
MODPY_EGG_VERSION = 0.1
DISTNAME = dtopt-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}p0
CATEGORIES = devel
HOMEPAGE = http://pypi.python.org/pypi/dtopt/
# MIT
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${MASTER_SITE_PYPI:=/d/dtopt/}
MODULES = lang/python
MODPY_SETUPTOOLS = Yes
NO_REGRESS = Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-dtopt
${INSTALL_DATA} ${WRKSRC}/docs/index.txt \
${PREFIX}/share/doc/py-dtopt
.include <bsd.port.mk>