naddy d159f8d1ad Make use of "find -exec {} +" (which is POSIX) and "find -delete"
(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@
2020-03-20 16:44:21 +00:00

34 lines
662 B
Makefile

# $OpenBSD: Makefile,v 1.11 2020/03/20 16:44:26 naddy Exp $
COMMENT= Zolera SOAP Infrastructure
MODPY_EGG_VERSION=2.0
DISTNAME= ZSI-${MODPY_EGG_VERSION}
PKGNAME= py-${DISTNAME:L}
REVISION= 4
CATEGORIES= net devel
HOMEPAGE= http://pywebsvcs.sourceforge.net/
# Zope Public License (ZPL)
# Python 2.0 License
PERMIT_PACKAGE= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pywebsvcs/}
MODULES= lang/python
MODPY_SETUPTOOLS=Yes
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= textproc/py-xml
# test needs network access
TEST_IS_INTERACTIVE=Yes
TEST_DEPENDS=${BUILD_PKGPATH}
do-test:
find ${WRKSRC}/test -name \*.py -exec ${MODPY_BIN} {} +
.include <bsd.port.mk>