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

22 lines
366 B
Makefile

# $OpenBSD: Makefile,v 1.14 2020/03/20 16:44:26 naddy Exp $
COMMENT= Perl module for encoding/decoding network traffic
MODULES= cpan
PKG_ARCH= *
DISTNAME= NetPacket-0.04
REVISION= 3
CATEGORIES= net
# Artistic License
PERMIT_PACKAGE= Yes
BUILD_DEPENDS= net/p5-Net-Pcap
NO_TEST= Yes
post-install:
@find ${WRKINST} -name '*.orig' -delete
.include <bsd.port.mk>