diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-03-29 19:11:28 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-03-29 19:11:28 +0000 |
commit | 826d04eb4ece26d8dc68e6c72a8689a8c9851a39 (patch) | |
tree | 5576d9b98d7041bbeb29380b9db3b533f2d2e226 /net/samba-libsmbclient | |
parent | 7ffe693777f8674ad5d2c82b600d0fe8edb6f794 (diff) | |
download | ports-826d04eb4ece26d8dc68e6c72a8689a8c9851a39.tar.gz ports-826d04eb4ece26d8dc68e6c72a8689a8c9851a39.zip |
Notes
Diffstat (limited to 'net/samba-libsmbclient')
-rw-r--r-- | net/samba-libsmbclient/Makefile | 52 | ||||
-rw-r--r-- | net/samba-libsmbclient/distinfo | 2 | ||||
-rw-r--r-- | net/samba-libsmbclient/pkg-plist | 1 |
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 |