openbsd-ports/devel/py-decoratortools/Makefile
2013-03-11 10:50:00 +00:00

31 lines
691 B
Makefile

# $OpenBSD: Makefile,v 1.12 2013/03/11 10:50:25 espie Exp $
COMMENT= class and function decorators
VERSION= 1.8
DISTNAME= DecoratorTools-${VERSION}
PKGNAME= py-decoratortools-${VERSION}
CATEGORIES= devel
HOMEPAGE= http://cheeseshop.python.org/pypi/DecoratorTools
# PSF/ZPL
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= ${MASTER_SITE_PYPI:=D/DecoratorTools/}
EXTRACT_SUFX= .zip
MODULES= lang/python
SUBST_VARS= VERSION
MODPY_SETUPTOOLS= Yes
post-install:
find ${WRKINST}${MODPY_SITEPKG} -type f -exec chmod 444 {} \;
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-decoratortools
${INSTALL_DATA} ${WRKSRC}/README.txt ${PREFIX}/share/doc/py-decoratortools/
.include <bsd.port.mk>