aboutsummaryrefslogtreecommitdiffstats
path: root/net/samba-libsmbclient/Makefile
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-05-10 04:34:40 +0800
committerpav <pav@FreeBSD.org>2004-05-10 04:34:40 +0800
commit423fedb206894f930d4383acd9d57792c2b723d9 (patch)
tree2072f3ab7d9b069ddc2395a466a19c286c1d6540 /net/samba-libsmbclient/Makefile
parentba1a1357d240888c6863598d8299d51544a93ede (diff)
downloadfreebsd-ports-gnome-423fedb206894f930d4383acd9d57792c2b723d9.tar.gz
freebsd-ports-gnome-423fedb206894f930d4383acd9d57792c2b723d9.tar.zst
freebsd-ports-gnome-423fedb206894f930d4383acd9d57792c2b723d9.zip
- Update to 3.0.3.r1
- Rewrite libsmbclient port to not conflict with samba port, stop installing libsmbclient in samba port - Split out python extensions into standalone port PR: ports/65976 Submitted by: Timur I. Bakeyev <timur@gnu.org> (samba-devel maintainer) Approved by: Koop Mast (samba-libsmbclient maintainer)
Diffstat (limited to 'net/samba-libsmbclient/Makefile')
-rw-r--r--net/samba-libsmbclient/Makefile22
1 files changed, 12 insertions, 10 deletions
diff --git a/net/samba-libsmbclient/Makefile b/net/samba-libsmbclient/Makefile
index 57a7d9911716..4b9b39c641b9 100644
--- a/net/samba-libsmbclient/Makefile
+++ b/net/samba-libsmbclient/Makefile
@@ -12,38 +12,40 @@ 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
+CONFLICTS=
SAMBA_PORT= samba-devel
SAMBA_SUBPORT= yes
MASTERDIR= ${.CURDIR}/../${SAMBA_PORT}
PKGDIR= ${.CURDIR}
+
+INSTALLS_SHLIB= yes
+
# We WANT libsmbclient support :)
CONFIGURE_ARGS+= --with-libsmbclient
-CONFIGURE_ARGS+= --with-libiconv
# This is taken from SAMBA_PORT(grep without)
+CONFIGURE_ARGS+= --disable-cups
CONFIGURE_ARGS+= --without-python
+CONFIGURE_ARGS+= --without-syslog
+CONFIGURE_ARGS+= --without-quotas
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} proto
cd ${WRKSRC} && ${MAKE} libsmbclient
do-install:
+ -@${MKDIR} ${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/include/libsmbclient.h ${PREFIX}/include
+ -@${MKDIR} ${PREFIX}/lib
${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
+ -@${MKDIR} ${EXAMPLESDIR}
+ @${CP} -Rp ${WRKDIR}/${DISTNAME}/examples/libsmbclient/* ${EXAMPLESDIR}
.include "${MASTERDIR}/Makefile"