openbsd-ports/www/p5-SOAP-Lite/Makefile

36 lines
819 B
Makefile

# $OpenBSD: Makefile,v 1.19 2020/07/03 21:46:05 sthen Exp $
COMMENT= client and server-side SOAP implementation
DISTNAME= SOAP-Lite-1.20
CATEGORIES= www
REVISION= 0
# perl
PERMIT_PACKAGE= Yes
MODULES= cpan
PKG_ARCH= *
MODCPAN_EXAMPLES=Yes
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= devel/p5-Class-Inspector \
devel/p5-IO-SessionData \
devel/p5-Task-Weaken \
mail/p5-MIME-tools \
security/p5-Crypt-SSLeay \
security/p5-IO-Socket-SSL \
textproc/p5-XML-Parser \
www/p5-URI \
www/p5-libwww
TEST_DEPENDS = textproc/p5-XML-Parser-Lite \
devel/p5-Test-Warn
pre-patch:
cd ${WRKSRC} && \
perl -pi -e '$$. == 1 && s,^#!.*env perl,#!/usr/bin/perl,;' \
-e 'close ARGV if eof;' bin/SOAPsh.pl bin/stubmaker.pl \
examples/XMLRPC/xmlrpc.cgi examples/XMLRPC/xmlrpc.daemon
.include <bsd.port.mk>