aboutsummaryrefslogtreecommitdiffstats
path: root/net/samba-libsmbclient
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-03-30 03:11:28 +0800
committerpav <pav@FreeBSD.org>2004-03-30 03:11:28 +0800
commit0126fc857c82fcddf6556b74bbbeb0a269e6adda (patch)
tree36d5360e9d6a1a68777513211a553887a6f13ce6 /net/samba-libsmbclient
parent10081a05dd1abab320eb51fd9b5b4c30c36853a9 (diff)
downloadfreebsd-ports-gnome-0126fc857c82fcddf6556b74bbbeb0a269e6adda.tar.gz
freebsd-ports-gnome-0126fc857c82fcddf6556b74bbbeb0a269e6adda.tar.zst
freebsd-ports-gnome-0126fc857c82fcddf6556b74bbbeb0a269e6adda.zip
- Convert samba-libsmbclient into a slave port of samba-devel.
PR: ports/64523 Submitted by: Timur I. Bakeyev <timur@com.bat.ru> (samba-devel maintainer) Approved by: Koop Mast <kwm@rainbow-runner.nl> (samba-libsmbclient maintainer)
Diffstat (limited to 'net/samba-libsmbclient')
-rw-r--r--net/samba-libsmbclient/Makefile52
-rw-r--r--net/samba-libsmbclient/distinfo2
-rw-r--r--net/samba-libsmbclient/pkg-plist1
3 files changed, 33 insertions, 22 deletions
diff --git a/net/samba-libsmbclient/Makefile b/net/samba-libsmbclient/Makefile
index 7445aed94688..57a7d9911716 100644
--- a/net/samba-libsmbclient/Makefile
+++ b/net/samba-libsmbclient/Makefile
@@ -5,33 +5,45 @@
# $FreeBSD$
#
-PORTNAME= samba
-PORTVERSION= 3.0.2a
-CATEGORIES= net
-MASTER_SITES= ${MASTER_SITE_SAMBA}
-MASTER_SITE_SUBDIR= . old-versions
-PKGNAMESUFFIX= -libsmbclient
-
-MAINTAINER= kwm@rainbow-runner.nl
-COMMENT= The shared lib from the samba packages
-
-USE_BZIP2= yes
-USE_SIZE= yes
+PORTREVISION= 0
+PORTEPOCH= 0
+PKGNAMESUFFIX= -libsmbclient
+
+MAINTAINER= kwm@rainbow-runner.nl
+COMMENT= The shared lib from the samba packages
+
+CONFLICTS= samba-3.*
+
+USE_ICONV= yes
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
-WRKSRC= ${WRKDIR}/${DISTNAME}/source
-
-CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include \
- LDFLAGS=-L${LOCALBASE}/lib
+SAMBA_PORT= samba-devel
+SAMBA_SUBPORT= yes
+
+MASTERDIR= ${.CURDIR}/../${SAMBA_PORT}
+PKGDIR= ${.CURDIR}
+# We WANT libsmbclient support :)
+CONFIGURE_ARGS+= --with-libsmbclient
+CONFIGURE_ARGS+= --with-libiconv
+# This is taken from SAMBA_PORT(grep without)
+CONFIGURE_ARGS+= --without-python
+CONFIGURE_ARGS+= --without-utmp
+CONFIGURE_ARGS+= --without-winbind
+CONFIGURE_ARGS+= --without-ads
+CONFIGURE_ARGS+= --without-ldap
+CONFIGURE_ARGS+= --without-ldapsam
+CONFIGURE_ARGS+= --without-krb5
+CONFIGURE_ARGS+= --without-pam_smbpass
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/libsmbclient.so.0
- ${LN} -s ${PREFIX}/lib/libsmbclient.so.0 ${PREFIX}/lib/libsmbclient.so
+ ${INSTALL_DATA} ${WRKSRC}/include/libsmbclient.h ${PREFIX}/include
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/libsmbclient.a ${PREFIX}/lib
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/libsmbclient.so.0 ${PREFIX}/lib
+ ${LN} -snf libsmbclient.so.0 ${PREFIX}/lib/libsmbclient.so
-.include <bsd.port.mk>
+.include "${MASTERDIR}/Makefile"
diff --git a/net/samba-libsmbclient/distinfo b/net/samba-libsmbclient/distinfo
index da59ee4b4d3e..e69de29bb2d1 100644
--- a/net/samba-libsmbclient/distinfo
+++ b/net/samba-libsmbclient/distinfo
@@ -1,2 +0,0 @@
-MD5 (samba-3.0.2a.tar.bz2) = 72979a30ac450c8b0567c1ac9886884a
-SIZE (samba-3.0.2a.tar.bz2) = 9289178
diff --git a/net/samba-libsmbclient/pkg-plist b/net/samba-libsmbclient/pkg-plist
index 6aa13f6c42f7..910dd705c206 100644
--- a/net/samba-libsmbclient/pkg-plist
+++ b/net/samba-libsmbclient/pkg-plist
@@ -1,3 +1,4 @@
include/libsmbclient.h
+lib/libsmbclient.a
lib/libsmbclient.so
lib/libsmbclient.so.0