diff options
author | paul <paul@FreeBSD.org> | 1999-05-25 22:44:25 +0000 |
---|---|---|
committer | paul <paul@FreeBSD.org> | 1999-05-25 22:44:25 +0000 |
commit | fe68a71b8f83486884abf2f9ffabd9b6dfa83ba8 (patch) | |
tree | f86641bcb721a1e3d3303c0be9db5533a37ae6ca /net/ldapsdk/Makefile | |
parent | 4b665238a147c8ae278c1d3f25eae1c991c84dda (diff) | |
download | FreeBSD-ports-fe68a71b8f83486884abf2f9ffabd9b6dfa83ba8.zip FreeBSD-ports-fe68a71b8f83486884abf2f9ffabd9b6dfa83ba8.tar.gz |
Initial import of the Mozilla LDAP sdk.
Diffstat (limited to 'net/ldapsdk/Makefile')
-rw-r--r-- | net/ldapsdk/Makefile | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/net/ldapsdk/Makefile b/net/ldapsdk/Makefile new file mode 100644 index 0000000..910449c --- /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 <bsd.port.pre.mk> + +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 <bsd.port.mk> |