Index: head/Mk/Uses/php.mk =================================================================== --- head/Mk/Uses/php.mk +++ head/Mk/Uses/php.mk @@ -377,10 +377,10 @@ pdo_odbc pdo_pgsql pdo_sqlite phar pgsql posix \ pspell radius readline redis session shmop simplexml snmp soap\ sockets spl sqlite3 sysvmsg sysvsem sysvshm \ - tidy tokenizer xml xmlreader xmlwriter xsl zip zlib + tidy tokenizer xml xmlreader xmlrpc xmlwriter xsl zip zlib # version specific components -_USE_PHP_VER73= ${_USE_PHP_ALL} interbase pdf recode sodium xmlrpc wddx -_USE_PHP_VER74= ${_USE_PHP_ALL} ffi pdf sodium xmlrpc +_USE_PHP_VER73= ${_USE_PHP_ALL} interbase pdf recode sodium wddx +_USE_PHP_VER74= ${_USE_PHP_ALL} ffi pdf sodium _USE_PHP_VER80= ${_USE_PHP_ALL} ffi sodium bcmath_DEPENDS= math/php${PHP_VER}-bcmath @@ -452,7 +452,11 @@ wddx_DEPENDS= textproc/php${PHP_VER}-wddx xml_DEPENDS= textproc/php${PHP_VER}-xml xmlreader_DEPENDS= textproc/php${PHP_VER}-xmlreader +.if ${PHP_VER} >= 80 +xmlrpc_DEPENDS= net/pecl-xmlrpc@${PHP_FLAVOR} +.else xmlrpc_DEPENDS= net/php${PHP_VER}-xmlrpc +.endif xmlwriter_DEPENDS= textproc/php${PHP_VER}-xmlwriter xsl_DEPENDS= textproc/php${PHP_VER}-xsl zip_DEPENDS= archivers/php${PHP_VER}-zip Index: head/net/Makefile =================================================================== --- head/net/Makefile +++ head/net/Makefile @@ -958,6 +958,7 @@ SUBDIR += pecl-radius SUBDIR += pecl-rdkafka SUBDIR += pecl-smbclient + SUBDIR += pecl-xmlrpc SUBDIR += pecl-zmq SUBDIR += pen SUBDIR += pfinger Index: head/net/pecl-xmlrpc/Makefile =================================================================== --- head/net/pecl-xmlrpc/Makefile +++ head/net/pecl-xmlrpc/Makefile @@ -0,0 +1,26 @@ +# Created by: Derek Schrock +# $FreeBSD$ + +PORTNAME= xmlrpc +PORTVERSION= 1.0.0 +DISTVERSIONSUFFIX= RC2 +CATEGORIES= net pear + +MAINTAINER= dereks@lifeofadishwasher.com +COMMENT= PHP extension for XML-RPC servers and clients + +LICENSE= PHP301 +LICENSE_FILE= ${WRKSRC}/LICENSE + +IGNORE_WITH_PHP= 73 74 + +USES= iconv:translit gnome php:pecl pkgconfig +USE_PHP= xml:build +USE_GNOME= libxml2 + +CONFIGURE_ARGS+= --with-iconv-dir=${LOCALBASE} + +TEST_TARGET= test +TEST_ENV= NO_INTERACTION=yes + +.include Index: head/net/pecl-xmlrpc/distinfo =================================================================== --- head/net/pecl-xmlrpc/distinfo +++ head/net/pecl-xmlrpc/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1615160455 +SHA256 (PECL/xmlrpc-1.0.0RC2.tgz) = 9800a5f627c24e2f6acf61f816a54c66e9fdffbfabc598ffc0f0f1165d3ef041 +SIZE (PECL/xmlrpc-1.0.0RC2.tgz) = 79410 Index: head/net/pecl-xmlrpc/pkg-descr =================================================================== --- head/net/pecl-xmlrpc/pkg-descr +++ head/net/pecl-xmlrpc/pkg-descr @@ -0,0 +1,6 @@ +These functions can be used to write XML-RPC servers and clients. +You can find more information about XML-RPC at http://www.xmlrpc.com/, +and more documentation on this extension and its functions at +http://xmlrpc-epi.sourceforge.net/. + +WWW: https://pecl.php.net/package/xmlrpc