diff options
author | seb <seb@pkgsrc.org> | 2002-10-20 21:48:16 +0000 |
---|---|---|
committer | seb <seb@pkgsrc.org> | 2002-10-20 21:48:16 +0000 |
commit | 849cfec01149a4037264b8ea265ae88895229e11 (patch) | |
tree | af39028b91410b98a00bf0a9281070e1848e393f /devel/ldapsdk/scripts | |
parent | 33db1a7bf8bb7029bd3e3063b10dbf6d179f419a (diff) | |
download | pkgsrc-849cfec01149a4037264b8ea265ae88895229e11.tar.gz |
Use buildlink2. Provide buildlink2.mk. Mark perl5 as build dependency only.
Use GMAKE, BSD_INSTALL_DATA and LN in scripts.
Diffstat (limited to 'devel/ldapsdk/scripts')
-rwxr-xr-x | devel/ldapsdk/scripts/pre-build | 4 | ||||
-rwxr-xr-x | devel/ldapsdk/scripts/pre-install | 28 |
2 files changed, 16 insertions, 16 deletions
diff --git a/devel/ldapsdk/scripts/pre-build b/devel/ldapsdk/scripts/pre-build index 43390a481a3..3281cbf6a7c 100755 --- a/devel/ldapsdk/scripts/pre-build +++ b/devel/ldapsdk/scripts/pre-build @@ -1,5 +1,5 @@ #!/bin/sh -# $NetBSD: pre-build,v 1.2 2000/01/08 04:26:50 wiz Exp $ +# $NetBSD: pre-build,v 1.3 2002/10/20 21:48:18 seb Exp $ cd ${WRKSRC} @@ -12,4 +12,4 @@ unset MOZ_LITE unset MOZ_MEDIUM unset NO_SECURITY -gmake -f directory/ldapsdk.mk build +${GMAKE} -f directory/ldapsdk.mk build diff --git a/devel/ldapsdk/scripts/pre-install b/devel/ldapsdk/scripts/pre-install index b89a7e67951..2796ae2ca4d 100755 --- a/devel/ldapsdk/scripts/pre-install +++ b/devel/ldapsdk/scripts/pre-install @@ -1,25 +1,25 @@ #!/bin/sh -# $NetBSD: pre-install,v 1.3 2001/02/23 12:36:53 wiz Exp $ +# $NetBSD: pre-install,v 1.4 2002/10/20 21:48:18 seb Exp $ cd ${WRKSRC} cd dist for i in disptmpl.h lber.h ldap.h srchpref.h do - cp public/ldap/$i ${LOCALBASE}/include + ${BSD_INSTALL_DATA} public/ldap/$i ${PREFIX}/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/ -ln -sf libldap.so.1.0 ${LOCALBASE}/lib/libldap.so.1 -ln -sf libldap.so.1.0 ${LOCALBASE}/lib/libldap.so -cp bin/liblber.so.1.0 ${LOCALBASE}/lib/ -ln -sf liblber.so.1.0 ${LOCALBASE}/lib/liblber.so.1 -ln -sf liblber.so.1.0 ${LOCALBASE}/lib/liblber.so -cp etc/ldapfilter.conf ${LOCALBASE}/etc/ -cp etc/ldapsearchprefs.conf ${LOCALBASE}/etc/ -cp etc/ldapfriendly ${LOCALBASE}/etc/ -cp etc/ldaptemplates.conf ${LOCALBASE}/etc/ +${BSD_INSTALL_DATA} lib/libldap.a ${PREFIX}/lib/libldap.a +${BSD_INSTALL_DATA} lib/liblber.a ${PREFIX}/lib/liblber.a +${BSD_INSTALL_DATA} bin/libldap.so.1.0 ${PREFIX}/lib/libldap.so.1.0 +${LN} -sf libldap.so.1.0 ${PREFIX}/lib/libldap.so.1 +${LN} -sf libldap.so.1.0 ${PREFIX}/lib/libldap.so +${BSD_INSTALL_DATA} bin/liblber.so.1.0 ${PREFIX}/lib/liblber.so.1.0 +${LN} -sf liblber.so.1.0 ${PREFIX}/lib/liblber.so.1 +${LN} -sf liblber.so.1.0 ${PREFIX}/lib/liblber.so +${BSD_INSTALL_DATA} etc/ldapfilter.conf ${PREFIX}/etc/ldapfilter.conf +${BSD_INSTALL_DATA} etc/ldapsearchprefs.conf ${PREFIX}/etc/ldapsearchprefs.conf +${BSD_INSTALL_DATA} etc/ldapfriendly ${PREFIX}/etc/ldapfriendly +${BSD_INSTALL_DATA} etc/ldaptemplates.conf ${PREFIX}/etc/ldaptemplates.conf |