aboutsummaryrefslogtreecommitdiff
path: root/net/pecl-smbclient
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2016-04-28 06:54:08 +0000
committerKevin Lo <kevlo@FreeBSD.org>2016-04-28 06:54:08 +0000
commitb14b737f19b52881eab8516b868d33897348974b (patch)
treed8edd8068d819a48f7f09eb5b0a818a3a25f247a /net/pecl-smbclient
parent6ce9f6dbeae0c3e089096a20f83d513cdfb140c8 (diff)
downloadports-b14b737f19b52881eab8516b868d33897348974b.tar.gz
ports-b14b737f19b52881eab8516b868d33897348974b.zip
Import pecl-smbclient 0.8.0
Smbclient is a PHP extension that uses Samba's libsmbclient library to provide Samba related functions and 'smb' streams to PHP programs.
Notes
Notes: svn path=/head/; revision=414158
Diffstat (limited to 'net/pecl-smbclient')
-rw-r--r--net/pecl-smbclient/Makefile26
-rw-r--r--net/pecl-smbclient/distinfo2
-rw-r--r--net/pecl-smbclient/pkg-descr4
3 files changed, 32 insertions, 0 deletions
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 <bsd.port.mk>
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