summaryrefslogtreecommitdiff
path: root/devel/ldapsdk/scripts/pre-install
blob: 477bd32fba93145b7e9610b5e3d9c5567a55cef6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh
# $NetBSD: pre-install,v 1.1.1.1 1999/05/18 21:22:27 hwr 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/