blob: 4b65332dc6c800da12f1349378376d50fb0b4d09 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# New ports collection makefile for: perldap
# Date created: 17 May 1999
# Whom: paul@freebsd.org
#
# $FreeBSD$
#
PORTNAME= ldapsdk
PORTVERSION= 1998.12.31
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_MOZILLA}
MASTER_SITE_SUBDIR= directory/c-sdk/ldap
DISTNAME= ldapsdk_12311998
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
OBJDIR= ${WRKSRC}/dist/${OPSYS}${OSREL}_DBG.OBJ
INSTALL_DIR= ${PREFIX}/mozilla/directory
do-install:
${MKDIR} ${INSTALL_DIR}/etc
${MKDIR} ${INSTALL_DIR}/include
${MKDIR} ${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>
|