(which is not) throughout the ports Makefiles. * Replace find|xargs with find -exec {} + * Replace -exec {} \; with -exec {} + if applicable. * Use the -delete operator to remove files and empty directories. * Combine and tweak some find(1) invocations while here. ok kn@ rsadowski@ espie@
30 lines
666 B
Makefile
30 lines
666 B
Makefile
# $OpenBSD: Makefile,v 1.17 2020/03/20 16:44:23 naddy Exp $
|
|
|
|
COMMENT= class and function decorators
|
|
|
|
MODPY_EGG_VERSION= 1.8
|
|
DISTNAME= DecoratorTools-${MODPY_EGG_VERSION}
|
|
PKGNAME= py-decoratortools-${MODPY_EGG_VERSION}
|
|
REVISION= 0
|
|
|
|
CATEGORIES= devel
|
|
|
|
HOMEPAGE= http://cheeseshop.python.org/pypi/DecoratorTools
|
|
|
|
# PSF/ZPL
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
MODPY_PI = Yes
|
|
EXTRACT_SUFX= .zip
|
|
|
|
MODULES= lang/python
|
|
|
|
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>
|