Date: Thu, 31 Jan 2013 16:35:14 +0000 (UTC) From: "Timur I. Bakeyev" <timur@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r311322 - head/net/samba-libsmbclient Message-ID: <201301311635.r0VGZEd9043651@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: timur Date: Thu Jan 31 16:35:14 2013 New Revision: 311322 URL: http://svnweb.freebsd.org/changeset/ports/311322 Log: Change port to be in sync with Samba36. Drop all additional libraries, but libsmbclient. Deleted: head/net/samba-libsmbclient/Makefile.inc Modified: head/net/samba-libsmbclient/Makefile head/net/samba-libsmbclient/pkg-plist Modified: head/net/samba-libsmbclient/Makefile ============================================================================== --- head/net/samba-libsmbclient/Makefile Thu Jan 31 16:31:26 2013 (r311321) +++ head/net/samba-libsmbclient/Makefile Thu Jan 31 16:35:14 2013 (r311322) @@ -1,19 +1,14 @@ -# New ports collection makefile for: samba-libsmbclient -# Date created: 23 Juli 2003 -# Whom: Koop Mast <einekoai@chello.nl> -# # $FreeBSD$ -# PORTREVISION= 0 PORTEPOCH= 0 PKGNAMESUFFIX= -libsmbclient -COMMENT= Shared libs from the samba package +COMMENT= Shared lib from the samba package CONFLICTS= -SAMBA_PORT= samba34 +SAMBA_PORT= samba36 SAMBA_SUBPORT= yes MASTERDIR= ${.CURDIR}/../${SAMBA_PORT} @@ -21,9 +16,28 @@ PKGDIR= ${.CURDIR} USE_LDCONFIG= ${PREFIX}/lib -OPTIONS= ADS "With Active Directory support" off \ - ADDNS "Build the libaddns shared library" off \ - NETAPI "Build the libnetapi shared library" off \ - SHAREMODES "Build the libsharemodes shared library" off +# We WANT shared libs +CONFIGURE_ARGS+= --with-libsmbclient +SAMBA_INSTALL_LIBS= libsmbclient + +MAN7= libsmbclient.7 + +ALL_TARGET= ${SAMBA_INSTALL_LIBS} + +do-install: + -@${MKDIR} ${MAN7PREFIX}/man/man7 +.for man in ${MAN7} + ${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/docs/manpages/${man} ${MAN7PREFIX}/man/man7 +.endfor + -@${MKDIR} ${PREFIX}/include + ${INSTALL_DATA} ${WRKSRC}/include/libsmbclient.h ${PREFIX}/include + -@${MKDIR} ${PREFIX}/lib +.for lib in ${SAMBA_INSTALL_LIBS} + ${INSTALL_SCRIPT} ${WRKSRC}/bin/${lib}.a ${PREFIX}/lib + ${INSTALL_SCRIPT} ${WRKSRC}/bin/${lib}.so ${PREFIX}/lib/${lib}.so.0 + ${LN} -snf ${lib}.so.0 ${PREFIX}/lib/${lib}.so +.endfor + -@${MKDIR} ${EXAMPLESDIR} + @${CP} -Rp ${WRKDIR}/${DISTNAME}/examples/libsmbclient/ ${EXAMPLESDIR} .include "${MASTERDIR}/Makefile" Modified: head/net/samba-libsmbclient/pkg-plist ============================================================================== --- head/net/samba-libsmbclient/pkg-plist Thu Jan 31 16:31:26 2013 (r311321) +++ head/net/samba-libsmbclient/pkg-plist Thu Jan 31 16:35:14 2013 (r311322) @@ -1,17 +1,7 @@ include/libsmbclient.h -%%ADDNS%%include/addns.h lib/libsmbclient.a lib/libsmbclient.so lib/libsmbclient.so.0 -%%ADDNS%%lib/libaddns.a -%%ADDNS%%lib/libaddns.so -%%ADDNS%%lib/libaddns.so.0 -%%NETAPI%%lib/libnetapi.a -%%NETAPI%%lib/libnetapi.so -%%NETAPI%%lib/libnetapi.so.0 -%%SHAREMODES%%lib/libsmbsharemodes.a -%%SHAREMODES%%lib/libsmbsharemodes.so -%%SHAREMODES%%lib/libsmbsharemodes.so.0 %%EXAMPLESDIR%%/Makefile %%EXAMPLESDIR%%/Makefile.internal %%EXAMPLESDIR%%/Makefile.internal.in
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301311635.r0VGZEd9043651>