openbsd-ports/devel/py-decoratortools/Makefile

37 lines
837 B
Makefile
Raw Normal View History

2011-09-16 05:24:48 -04:00
# $OpenBSD: Makefile,v 1.10 2011/09/16 09:24:55 espie Exp $
COMMENT= class and function decorators
VERSION= 1.7
DISTNAME= DecoratorTools-${VERSION}
2010-08-30 18:24:14 -04:00
PKGNAME= py-decoratortools-${VERSION}
2011-09-16 05:24:48 -04:00
REVISION = 3
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
2009-08-07 04:36:52 -04:00
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>