aboutsummaryrefslogtreecommitdiff
path: root/net/openldap22-server/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/openldap22-server/Makefile')
-rw-r--r--net/openldap22-server/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/openldap22-server/Makefile b/net/openldap22-server/Makefile
index 1e83b6785b3d..e73d39f48e88 100644
--- a/net/openldap22-server/Makefile
+++ b/net/openldap22-server/Makefile
@@ -42,6 +42,9 @@ CONFIGURE_ARGS+= --enable-wrappers
pre-build:
cd ${WRKSRC} ; make depend
+post-build:
+ ${SED} 's,@@PREFIX@@,${PREFIX},g' ${FILESDIR}/slapd.sh >${WRKDIR}/slapd.sh
+
post-install:
strip ${PREFIX}/bin/ldapadd ${PREFIX}/bin/ldapdelete \
${PREFIX}/bin/ldapmodrdn ${PREFIX}/bin/ldapsearch ${PREFIX}/bin/ud \
@@ -54,5 +57,6 @@ post-install:
${PREFIX}/sbin/ldif2id2children ${PREFIX}/sbin/ldif2id2entry \
${PREFIX}/sbin/ldif2index ${PREFIX}/sbin/ldif2ldbm \
${PREFIX}/bin/ldapmodify ${PREFIX}/bin/ldappasswd
+ ${INSTALL_SCRIPT} ${WRKDIR}/slapd.sh ${PREFIX}/etc/rc.d/slapd.sh.sample
.include <bsd.port.post.mk>