summaryrefslogtreecommitdiff
path: root/devel/ldapsdk/scripts/pre-install
blob: ddcd528140bf105cda443c85f2212fd5be056d83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
# $NetBSD: pre-install,v 1.2 2000/01/08 04:26:50 wiz Exp $

cd ${WRKSRC}
cd dist
for i in disptmpl.h lber.h     ldap.h     srchpref.h
do
	cp public/ldap/$i ${LOCALBASE}/include
done
#
# XXX kludge
#
cd NetB*
cp lib/libldap.a ${LOCALBASE}/lib/
cp lib/liblber.a ${LOCALBASE}/lib/
cp bin/libldap.so.1.0 ${LOCALBASE}/lib/
cp bin/liblber.so.1.0 ${LOCALBASE}/lib/
cp etc/ldapfilter.conf          ${LOCALBASE}/etc/
cp etc/ldapsearchprefs.conf	${LOCALBASE}/etc/
cp etc/ldapfriendly             ${LOCALBASE}/etc/
cp etc/ldaptemplates.conf	${LOCALBASE}/etc/