From c0e2ce55be08c30d173cfcee45a646281151c463 Mon Sep 17 00:00:00 2001 From: Paul Richards Date: Tue, 25 May 1999 22:44:25 +0000 Subject: Initial import of the Mozilla LDAP sdk. --- net/ldapsdk/Makefile | 50 +++++++++++++++++++++++++++++++++++++++++++++++++ net/ldapsdk/distinfo | 1 + net/ldapsdk/pkg-comment | 1 + net/ldapsdk/pkg-descr | 4 ++++ net/ldapsdk/pkg-plist | 19 +++++++++++++++++++ 5 files changed, 75 insertions(+) create mode 100644 net/ldapsdk/Makefile create mode 100644 net/ldapsdk/distinfo create mode 100644 net/ldapsdk/pkg-comment create mode 100644 net/ldapsdk/pkg-descr create mode 100644 net/ldapsdk/pkg-plist (limited to 'net') diff --git a/net/ldapsdk/Makefile b/net/ldapsdk/Makefile new file mode 100644 index 000000000000..910449c632c5 --- /dev/null +++ b/net/ldapsdk/Makefile @@ -0,0 +1,50 @@ +# New ports collection makefile for: perldap +# Version required: 1.1b +# Date created: 17 May 1999 +# Whom: paul +# +# $Id$ +# + +DISTNAME= ldapsdk_19980531 +CATEGORIES= net +MASTER_SITES= ftp://ftp.mozilla.org/pub/directory/c-sdk/ldap/ + +MAINTAINER= paul@FreeBSD.ORG + +WRKSRC= ${WRKDIR}/mozilla +MAKEFILE= ${WRKSRC}/directory/ldapsdk.mk +USE_GMAKE= yes + +MAKE_ENV+= MOZILLA_CLIENT=1 NO_MDUPDATE=1 MOZ_LDAP_SDK=1 +ALL_TARGET= build + +#MAN1= +#MANCOMPRESSED= yes + +#.include + +OBJDIR= ${WRKSRC}/dist/${OPSYS}${OSREL}_DBG.OBJ +INSTALL_DIR= ${PREFIX}/mozilla/directory + +do-install: + mkdir -p ${INSTALL_DIR}/etc + mkdir -p ${INSTALL_DIR}/include + mkdir -p ${INSTALL_DIR}/lib + ${INSTALL_DATA} ${OBJDIR}/bin/liblber.so.1.0 \ + ${INSTALL_DIR}/lib/liblber.so.1 + -(cd ${INSTALL_DIR}/lib; ln -s liblber.so.1 liblber.so) + ${INSTALL_DATA} ${OBJDIR}/bin/libldap.so.1.0 \ + ${INSTALL_DIR}/lib/libldap.so.1 + -(cd ${INSTALL_DIR}/lib; ln -s libldap.so.1 libldap.so) + cd ${OBJDIR}/etc && ${TAR} -chf - * | \ + ${TAR} -xf - -C ${INSTALL_DIR}/etc + cd ${OBJDIR}/include && ${TAR} -chf - * | \ + ${TAR} -xf - -C ${INSTALL_DIR}/include + cd ${OBJDIR}/lib && ${TAR} -chf - * | \ + ${TAR} -xf - -C ${INSTALL_DIR}/lib + +post-install: + @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/mozilla/directory/lib + +.include diff --git a/net/ldapsdk/distinfo b/net/ldapsdk/distinfo new file mode 100644 index 000000000000..780f3d8d31b0 --- /dev/null +++ b/net/ldapsdk/distinfo @@ -0,0 +1 @@ +MD5 (ldapsdk_19980531.tar.gz) = 1ee6dce6bb75c83fd1ed606e8722965d diff --git a/net/ldapsdk/pkg-comment b/net/ldapsdk/pkg-comment new file mode 100644 index 000000000000..0f4a49b0032d --- /dev/null +++ b/net/ldapsdk/pkg-comment @@ -0,0 +1 @@ +Mozilla LDAP sdk diff --git a/net/ldapsdk/pkg-descr b/net/ldapsdk/pkg-descr new file mode 100644 index 000000000000..13a5f9a898b9 --- /dev/null +++ b/net/ldapsdk/pkg-descr @@ -0,0 +1,4 @@ +Mozilla LDAP sdk + +Paul Richards (paul@originative.co.uk) +Originative Solutions Ltd diff --git a/net/ldapsdk/pkg-plist b/net/ldapsdk/pkg-plist new file mode 100644 index 000000000000..e47f48d8020b --- /dev/null +++ b/net/ldapsdk/pkg-plist @@ -0,0 +1,19 @@ +mozilla/directory/etc/ldapfilter.conf +mozilla/directory/etc/ldapsearchprefs.conf +mozilla/directory/etc/ldapfriendly +mozilla/directory/etc/ldaptemplates.conf +@dirrm mozilla/directory/etc +mozilla/directory/include/disptmpl.h +mozilla/directory/include/lber.h +mozilla/directory/include/ldap.h +mozilla/directory/include/srchpref.h +@dirrm mozilla/directory/include +mozilla/directory/lib/liblber.so.1 +mozilla/directory/lib/liblber.so +mozilla/directory/lib/libldap.so.1 +mozilla/directory/lib/libldap.so +mozilla/directory/lib/liblber.a +mozilla/directory/lib/libldap.a +@dirrm mozilla/directory/lib +@dirrm mozilla/directory +@dirrm mozilla -- cgit v1.2.3