aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-07-25 12:42:08 +0800
committermarcus <marcus@FreeBSD.org>2003-07-25 12:42:08 +0800
commit55fdf92d872d1356dd547d056f3d47f1c7c5ef49 (patch)
tree5e475fb9e2cb1e5a49b098d2a1e0fd596e039313 /net
parent358923a5264299a0a5d3737044eb638814ec9e0c (diff)
downloadfreebsd-ports-gnome-55fdf92d872d1356dd547d056f3d47f1c7c5ef49.tar.gz
freebsd-ports-gnome-55fdf92d872d1356dd547d056f3d47f1c7c5ef49.tar.zst
freebsd-ports-gnome-55fdf92d872d1356dd547d056f3d47f1c7c5ef49.zip
Add samba-libsmbclient, the library component for connected to SMB shares.
PR: 54821 Submitted by: Koop Mast <einekoai@chello.nl>
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/samba-libsmbclient/Makefile38
-rw-r--r--net/samba-libsmbclient/distinfo1
-rw-r--r--net/samba-libsmbclient/pkg-descr4
-rw-r--r--net/samba-libsmbclient/pkg-plist3
5 files changed, 47 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 9d5f621437e9..d5476a578292 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -616,6 +616,7 @@
SUBDIR += rwhois
SUBDIR += samba
SUBDIR += samba-devel
+ SUBDIR += samba-libsmbclient
SUBDIR += samba-tng
SUBDIR += sambasentinel
SUBDIR += samplicator
diff --git a/net/samba-libsmbclient/Makefile b/net/samba-libsmbclient/Makefile
new file mode 100644
index 000000000000..ae3d420c5b53
--- /dev/null
+++ b/net/samba-libsmbclient/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: samba-libsmbclient
+# Date created: 23 Juli 2003
+# Whom: Koop Mast <einekoai@chello.nl>
+#
+# $FreeBSD$
+#
+
+PORTNAME= samba
+PORTVERSION= 3.0.0.b3
+CATEGORIES= net
+MASTER_SITES= http://us4.samba.org/samba/ftp/%SUBDIR%/
+MASTER_SITE_SUBDIR= beta alpha old
+PKGNAMESUFFIX= -libsmbclient
+DISTNAME= ${PORTNAME}-${PORTVERSION:S/.b/beta/}
+
+MAINTAINER= einekoai@chello.nl
+COMMENT= The shared lib from the samba packges
+
+USE_BZIP2= yes
+USE_AUTOCONF= yes
+WANT_AUTOCONF_VER= 253
+INSTALLS_SHLIB= yes
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/source
+
+CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include \
+ LDFLAGS=-L${LOCALBASE}/lib
+
+do-build:
+ cd ${WRKSRC} && ${MAKE} include/proto.h
+ cd ${WRKSRC} && ${MAKE} libsmbclient
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/include/libsmbclient.h ${PREFIX}/include
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/libsmbclient.so ${PREFIX}/lib
+ ${LN} -s ${PREFIX}/lib/libsmbclient.so ${PREFIX}/lib/libsmbclient.so.0
+
+.include <bsd.port.mk>
diff --git a/net/samba-libsmbclient/distinfo b/net/samba-libsmbclient/distinfo
new file mode 100644
index 000000000000..ad7f031a84d0
--- /dev/null
+++ b/net/samba-libsmbclient/distinfo
@@ -0,0 +1 @@
+MD5 (samba-3.0.0beta3.tar.bz2) = a5455bfd675a3e6a75dfed468ae22305
diff --git a/net/samba-libsmbclient/pkg-descr b/net/samba-libsmbclient/pkg-descr
new file mode 100644
index 000000000000..0bca468af15e
--- /dev/null
+++ b/net/samba-libsmbclient/pkg-descr
@@ -0,0 +1,4 @@
+This is the shared libriarie from the samba program.
+It lets other programs use the samba protocol.
+
+WWW: http://www.samba.org/
diff --git a/net/samba-libsmbclient/pkg-plist b/net/samba-libsmbclient/pkg-plist
new file mode 100644
index 000000000000..6aa13f6c42f7
--- /dev/null
+++ b/net/samba-libsmbclient/pkg-plist
@@ -0,0 +1,3 @@
+include/libsmbclient.h
+lib/libsmbclient.so
+lib/libsmbclient.so.0