openbsd-ports/devel/py-decoratortools/Makefile
2008-01-13 17:15:14 +00:00

36 lines
849 B
Makefile

# $OpenBSD: Makefile,v 1.5 2008/01/13 17:15:14 martynas Exp $
COMMENT= class and function decorators
VERSION= 1.7
DISTNAME= DecoratorTools-${VERSION}
PKGNAME= py-decoratortools-${VERSION}
CATEGORIES= devel
HOMEPAGE= http://cheeseshop.python.org/pypi/DecoratorTools
MAINTAINER= Martynas Venckus <martynas@openbsd.org>
# PSF/ZPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://cheeseshop.python.org/packages/source/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>