diff options
author | Rene Ladan <rene@FreeBSD.org> | 2016-05-16 14:06:53 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2016-05-16 14:06:53 +0000 |
commit | 82431ad0a687eef1798e719585540e5926669804 (patch) | |
tree | 4944d02dc055e447bef42dfb94495576fb42715b /net/samba-libsmbclient | |
parent | c72273af5b864f05ffa562f62c2afeb3fc182cb2 (diff) | |
download | ports-82431ad0a687eef1798e719585540e5926669804.tar.gz ports-82431ad0a687eef1798e719585540e5926669804.zip |
Notes
Diffstat (limited to 'net/samba-libsmbclient')
-rw-r--r-- | net/samba-libsmbclient/Makefile | 37 | ||||
-rw-r--r-- | net/samba-libsmbclient/pkg-descr | 4 | ||||
-rw-r--r-- | net/samba-libsmbclient/pkg-plist | 46 |
3 files changed, 87 insertions, 0 deletions
diff --git a/net/samba-libsmbclient/Makefile b/net/samba-libsmbclient/Makefile new file mode 100644 index 000000000000..d9b4de1ca750 --- /dev/null +++ b/net/samba-libsmbclient/Makefile @@ -0,0 +1,37 @@ +# $FreeBSD$ + +PORTREVISION= 2 +PORTEPOCH= 0 +PKGNAMESUFFIX= -libsmbclient + +COMMENT= Shared lib from the samba package + +CONFLICTS= + +SAMBA_PORT= samba36 +SAMBA_SUBPORT= yes + +MASTERDIR= ${.CURDIR}/../${SAMBA_PORT} +PKGDIR= ${.CURDIR} + +USE_LDCONFIG= ${PREFIX}/lib + +# We WANT shared libs +CONFIGURE_ARGS+= --with-libsmbclient + +ALL_TARGET= libsmbclient + +do-install: + -@${MKDIR} ${STAGEDIR}${MAN7PREFIX}/man/man7 + ${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/docs/manpages/libsmbclient.7 ${STAGEDIR}${MAN7PREFIX}/man/man7 + -@${MKDIR} ${STAGEDIR}${PREFIX}/include + ${INSTALL_DATA} ${WRKSRC}/include/libsmbclient.h ${STAGEDIR}${PREFIX}/include + ${INSTALL_DATA} ${WRKSRC}/pkgconfig/smbclient.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/ + -@${MKDIR} ${STAGEDIR}${PREFIX}/lib + ${INSTALL_SCRIPT} ${WRKSRC}/bin/libsmbclient.a ${STAGEDIR}${PREFIX}/lib + ${INSTALL_SCRIPT} ${WRKSRC}/bin/libsmbclient.so ${STAGEDIR}${PREFIX}/lib/libsmbclient.so.0 + ${LN} -snf libsmbclient.so.0 ${STAGEDIR}${PREFIX}/lib/libsmbclient.so + -@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + @${CP} -Rp ${WRKDIR}/${DISTNAME}/examples/libsmbclient/ ${STAGEDIR}${EXAMPLESDIR} + +.include "${MASTERDIR}/Makefile" diff --git a/net/samba-libsmbclient/pkg-descr b/net/samba-libsmbclient/pkg-descr new file mode 100644 index 000000000000..5af983161c7a --- /dev/null +++ b/net/samba-libsmbclient/pkg-descr @@ -0,0 +1,4 @@ +This is the set of shared libraries from the Samba port. It lets other +programs to utilize various aspects of the SMB 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..a5ba5391714b --- /dev/null +++ b/net/samba-libsmbclient/pkg-plist @@ -0,0 +1,46 @@ +include/libsmbclient.h +lib/libsmbclient.a +lib/libsmbclient.so +lib/libsmbclient.so.0 +libdata/pkgconfig/smbclient.pc +man/man7/libsmbclient.7.gz +%%EXAMPLESDIR%%/Makefile +%%EXAMPLESDIR%%/Makefile.internal +%%EXAMPLESDIR%%/Makefile.internal.in +%%EXAMPLESDIR%%/README +%%EXAMPLESDIR%%/get_auth_data_fn.h +%%EXAMPLESDIR%%/smbwrapper/Makefile +%%EXAMPLESDIR%%/smbwrapper/README +%%EXAMPLESDIR%%/smbwrapper/bsd-strlcat.c +%%EXAMPLESDIR%%/smbwrapper/bsd-strlcpy.c +%%EXAMPLESDIR%%/smbwrapper/bsd-strlfunc.h +%%EXAMPLESDIR%%/smbwrapper/opendir_smbsh.c +%%EXAMPLESDIR%%/smbwrapper/select.c +%%EXAMPLESDIR%%/smbwrapper/smbsh.1 +%%EXAMPLESDIR%%/smbwrapper/smbsh.1.html +%%EXAMPLESDIR%%/smbwrapper/smbsh.1.xml +%%EXAMPLESDIR%%/smbwrapper/smbsh.c +%%EXAMPLESDIR%%/smbwrapper/smbw.c +%%EXAMPLESDIR%%/smbwrapper/smbw.h +%%EXAMPLESDIR%%/smbwrapper/smbw_dir.c +%%EXAMPLESDIR%%/smbwrapper/smbw_stat.c +%%EXAMPLESDIR%%/smbwrapper/wrapper.c +%%EXAMPLESDIR%%/smbwrapper/wrapper.h +%%EXAMPLESDIR%%/testacl.c +%%EXAMPLESDIR%%/testacl2.c +%%EXAMPLESDIR%%/testacl3.c +%%EXAMPLESDIR%%/testbrowse.c +%%EXAMPLESDIR%%/testbrowse2.c +%%EXAMPLESDIR%%/testchmod.c +%%EXAMPLESDIR%%/testctx.c +%%EXAMPLESDIR%%/testfstatvfs.c +%%EXAMPLESDIR%%/testread.c +%%EXAMPLESDIR%%/testsmbc.c +%%EXAMPLESDIR%%/teststat.c +%%EXAMPLESDIR%%/teststat2.c +%%EXAMPLESDIR%%/teststat3.c +%%EXAMPLESDIR%%/teststatvfs.c +%%EXAMPLESDIR%%/testtruncate.c +%%EXAMPLESDIR%%/testutime.c +%%EXAMPLESDIR%%/testwrite.c +%%EXAMPLESDIR%%/tree.c |