diff --git a/net/Makefile b/net/Makefile index 1b4b6cb9bf70..4e0471f53392 100644 --- a/net/Makefile +++ b/net/Makefile @@ -885,6 +885,7 @@ SUBDIR += pecl-mosquitto SUBDIR += pecl-oauth SUBDIR += pecl-radius + SUBDIR += pecl-smbclient SUBDIR += pecl-yaz SUBDIR += pecl-yp SUBDIR += pecl-zmq diff --git a/net/pecl-smbclient/Makefile b/net/pecl-smbclient/Makefile new file mode 100644 index 000000000000..9412a1f48029 --- /dev/null +++ b/net/pecl-smbclient/Makefile @@ -0,0 +1,26 @@ +# $FreeBSD$ + +PORTNAME= smbclient +PORTVERSION= 0.8.0 +CATEGORIES= net pear +MASTER_SITES= http://pecl.php.net/get/ +PKGNAMEPREFIX= pecl- +DIST_SUBDIR= PECL + +MAINTAINER= kevlo@FreeBSD.org +COMMENT= Smbclient wrapper extension + +LICENSE= BSD2CLAUSE + +RUN_DEPENDS= smbclient:${PORTSDIR}/${SAMBA_PORT} + +SAMBA_PORT?= net/samba36 + +USE_PHP= yes +USE_PHPEXT= yes +USE_PHPIZE= yes +USES= tar:tgz + +CONFIGURE_ARGS= --with-libsmbclient=${LOCALBASE} + +.include diff --git a/net/pecl-smbclient/distinfo b/net/pecl-smbclient/distinfo new file mode 100644 index 000000000000..c16740014c20 --- /dev/null +++ b/net/pecl-smbclient/distinfo @@ -0,0 +1,2 @@ +SHA256 (PECL/smbclient-0.8.0.tgz) = 22fdd4b9da1c880b88a0776620113cdaaa3273ecef3be3743250654bd0c67e7c +SIZE (PECL/smbclient-0.8.0.tgz) = 30910 diff --git a/net/pecl-smbclient/pkg-descr b/net/pecl-smbclient/pkg-descr new file mode 100644 index 000000000000..427b51dde87a --- /dev/null +++ b/net/pecl-smbclient/pkg-descr @@ -0,0 +1,4 @@ +Smbclient is a PHP extension that uses Samba's libsmbclient library to +provide Samba related functions and 'smb' streams to PHP programs. + +WWW: https://pecl.php.net/package/smbclient