1999-05-25 22:44:25 +00:00
|
|
|
# New ports collection makefile for: perldap
|
|
|
|
# Version required: 1.1b
|
|
|
|
# Date created: 17 May 1999
|
1999-06-06 21:01:32 +00:00
|
|
|
# Whom: paul@freebsd.org
|
1999-05-25 22:44:25 +00:00
|
|
|
#
|
1999-08-30 14:24:37 +00:00
|
|
|
# $FreeBSD$
|
1999-05-25 22:44:25 +00:00
|
|
|
#
|
|
|
|
|
1999-06-06 21:01:32 +00:00
|
|
|
DISTNAME= ldapsdk_12311998
|
1999-08-11 04:12:15 +00:00
|
|
|
PKGNAME= ldapsdk-1998.12.31
|
1999-05-25 22:44:25 +00:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= ftp://ftp.mozilla.org/pub/directory/c-sdk/ldap/
|
|
|
|
|
1999-08-31 06:53:31 +00:00
|
|
|
MAINTAINER= paul@FreeBSD.org
|
1999-05-25 22:44:25 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
OBJDIR= ${WRKSRC}/dist/${OPSYS}${OSREL}_DBG.OBJ
|
|
|
|
INSTALL_DIR= ${PREFIX}/mozilla/directory
|
|
|
|
|
|
|
|
do-install:
|
1999-08-11 04:12:15 +00:00
|
|
|
${MKDIR} ${INSTALL_DIR}/etc
|
|
|
|
${MKDIR} ${INSTALL_DIR}/include
|
|
|
|
${MKDIR} ${INSTALL_DIR}/lib
|
1999-05-25 22:44:25 +00:00
|
|
|
${INSTALL_DATA} ${OBJDIR}/bin/liblber.so.1.0 \
|
|
|
|
${INSTALL_DIR}/lib/liblber.so.1
|
1999-08-28 01:58:05 +00:00
|
|
|
-(cd ${INSTALL_DIR}/lib; ${LN} -s liblber.so.1 liblber.so)
|
1999-05-25 22:44:25 +00:00
|
|
|
${INSTALL_DATA} ${OBJDIR}/bin/libldap.so.1.0 \
|
|
|
|
${INSTALL_DIR}/lib/libldap.so.1
|
1999-08-28 01:58:05 +00:00
|
|
|
-(cd ${INSTALL_DIR}/lib; ${LN} -s libldap.so.1 libldap.so)
|
1999-05-25 22:44:25 +00:00
|
|
|
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>
|