summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-10-30 18:53:28 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-10-30 18:53:28 +0000
commit48e44600a39a59e4923d6cccc75b84c9410a8bfe (patch)
tree080532d1f8f4aacaf1b3133ca6b7ad4a0c3513af
parentFix plist to handle *.conf files properly as apache13* ports do. (diff)
Use `${MAKE}' for `make'.
Use `.for' loop to strip binary executables.
Notes
Notes: svn path=/head/; revision=34460
-rw-r--r--net/openldap/Makefile41
-rw-r--r--net/openldap12/Makefile41
-rw-r--r--net/openldap2/Makefile41
-rw-r--r--net/openldap20-server/Makefile41
-rw-r--r--net/openldap20/Makefile41
-rw-r--r--net/openldap21-server/Makefile41
-rw-r--r--net/openldap21/Makefile41
-rw-r--r--net/openldap22-server/Makefile41
-rw-r--r--net/openldap22/Makefile41
-rw-r--r--net/openldap23-server/Makefile41
-rw-r--r--net/openldap24-server/Makefile41
11 files changed, 319 insertions, 132 deletions
diff --git a/net/openldap/Makefile b/net/openldap/Makefile
index b0c3cd19ac8e..157ced384e46 100644
--- a/net/openldap/Makefile
+++ b/net/openldap/Makefile
@@ -37,27 +37,44 @@ CONFIGURE_ARGS+= --localstatedir=/var/run --enable-shared --enable-dns
CONFIGURE_ARGS+= --enable-wrappers
.endif
+BINS= bin/ldapadd \
+ bin/ldapdelete \
+ bin/ldapmodrdn \
+ bin/ldapsearch \
+ bin/ud \
+ libexec/fax500 \
+ libexec/go500 \
+ libexec/go500gw \
+ libexec/in.xfingerd \
+ libexec/mail500 \
+ libexec/rcpt500 \
+ libexec/rp500 \
+ libexec/slapd \
+ libexec/slurpd \
+ sbin/centipede \
+ sbin/ldbmcat \
+ sbin/ldbmtest \
+ sbin/ldif \
+ sbin/ldif2id2children \
+ sbin/ldif2id2entry \
+ sbin/ldif2index \
+ sbin/ldif2ldbm \
+ bin/ldapmodify \
+ bin/ldappasswd
+
.include <bsd.port.pre.mk>
.include "${FILESDIR}/manpages"
pre-build:
- cd ${WRKSRC} ; make depend
+ 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 \
- ${PREFIX}/libexec/fax500 ${PREFIX}/libexec/go500 \
- ${PREFIX}/libexec/go500gw ${PREFIX}/libexec/in.xfingerd \
- ${PREFIX}/libexec/mail500 ${PREFIX}/libexec/rcpt500 \
- ${PREFIX}/libexec/rp500 ${PREFIX}/libexec/slapd \
- ${PREFIX}/libexec/slurpd ${PREFIX}/sbin/centipede \
- ${PREFIX}/sbin/ldbmcat ${PREFIX}/sbin/ldbmtest ${PREFIX}/sbin/ldif \
- ${PREFIX}/sbin/ldif2id2children ${PREFIX}/sbin/ldif2id2entry \
- ${PREFIX}/sbin/ldif2index ${PREFIX}/sbin/ldif2ldbm \
- ${PREFIX}/bin/ldapmodify ${PREFIX}/bin/ldappasswd
+.for f in ${BINS}
+ strip ${PREFIX}/${f}
+.endfor
${INSTALL_SCRIPT} ${WRKDIR}/slapd.sh ${PREFIX}/etc/rc.d/slapd.sh.sample
.include <bsd.port.post.mk>
diff --git a/net/openldap12/Makefile b/net/openldap12/Makefile
index b0c3cd19ac8e..157ced384e46 100644
--- a/net/openldap12/Makefile
+++ b/net/openldap12/Makefile
@@ -37,27 +37,44 @@ CONFIGURE_ARGS+= --localstatedir=/var/run --enable-shared --enable-dns
CONFIGURE_ARGS+= --enable-wrappers
.endif
+BINS= bin/ldapadd \
+ bin/ldapdelete \
+ bin/ldapmodrdn \
+ bin/ldapsearch \
+ bin/ud \
+ libexec/fax500 \
+ libexec/go500 \
+ libexec/go500gw \
+ libexec/in.xfingerd \
+ libexec/mail500 \
+ libexec/rcpt500 \
+ libexec/rp500 \
+ libexec/slapd \
+ libexec/slurpd \
+ sbin/centipede \
+ sbin/ldbmcat \
+ sbin/ldbmtest \
+ sbin/ldif \
+ sbin/ldif2id2children \
+ sbin/ldif2id2entry \
+ sbin/ldif2index \
+ sbin/ldif2ldbm \
+ bin/ldapmodify \
+ bin/ldappasswd
+
.include <bsd.port.pre.mk>
.include "${FILESDIR}/manpages"
pre-build:
- cd ${WRKSRC} ; make depend
+ 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 \
- ${PREFIX}/libexec/fax500 ${PREFIX}/libexec/go500 \
- ${PREFIX}/libexec/go500gw ${PREFIX}/libexec/in.xfingerd \
- ${PREFIX}/libexec/mail500 ${PREFIX}/libexec/rcpt500 \
- ${PREFIX}/libexec/rp500 ${PREFIX}/libexec/slapd \
- ${PREFIX}/libexec/slurpd ${PREFIX}/sbin/centipede \
- ${PREFIX}/sbin/ldbmcat ${PREFIX}/sbin/ldbmtest ${PREFIX}/sbin/ldif \
- ${PREFIX}/sbin/ldif2id2children ${PREFIX}/sbin/ldif2id2entry \
- ${PREFIX}/sbin/ldif2index ${PREFIX}/sbin/ldif2ldbm \
- ${PREFIX}/bin/ldapmodify ${PREFIX}/bin/ldappasswd
+.for f in ${BINS}
+ strip ${PREFIX}/${f}
+.endfor
${INSTALL_SCRIPT} ${WRKDIR}/slapd.sh ${PREFIX}/etc/rc.d/slapd.sh.sample
.include <bsd.port.post.mk>
diff --git a/net/openldap2/Makefile b/net/openldap2/Makefile
index b0c3cd19ac8e..157ced384e46 100644
--- a/net/openldap2/Makefile
+++ b/net/openldap2/Makefile
@@ -37,27 +37,44 @@ CONFIGURE_ARGS+= --localstatedir=/var/run --enable-shared --enable-dns
CONFIGURE_ARGS+= --enable-wrappers
.endif
+BINS= bin/ldapadd \
+ bin/ldapdelete \
+ bin/ldapmodrdn \
+ bin/ldapsearch \
+ bin/ud \
+ libexec/fax500 \
+ libexec/go500 \
+ libexec/go500gw \
+ libexec/in.xfingerd \
+ libexec/mail500 \
+ libexec/rcpt500 \
+ libexec/rp500 \
+ libexec/slapd \
+ libexec/slurpd \
+ sbin/centipede \
+ sbin/ldbmcat \
+ sbin/ldbmtest \
+ sbin/ldif \
+ sbin/ldif2id2children \
+ sbin/ldif2id2entry \
+ sbin/ldif2index \
+ sbin/ldif2ldbm \
+ bin/ldapmodify \
+ bin/ldappasswd
+
.include <bsd.port.pre.mk>
.include "${FILESDIR}/manpages"
pre-build:
- cd ${WRKSRC} ; make depend
+ 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 \
- ${PREFIX}/libexec/fax500 ${PREFIX}/libexec/go500 \
- ${PREFIX}/libexec/go500gw ${PREFIX}/libexec/in.xfingerd \
- ${PREFIX}/libexec/mail500 ${PREFIX}/libexec/rcpt500 \
- ${PREFIX}/libexec/rp500 ${PREFIX}/libexec/slapd \
- ${PREFIX}/libexec/slurpd ${PREFIX}/sbin/centipede \
- ${PREFIX}/sbin/ldbmcat ${PREFIX}/sbin/ldbmtest ${PREFIX}/sbin/ldif \
- ${PREFIX}/sbin/ldif2id2children ${PREFIX}/sbin/ldif2id2entry \
- ${PREFIX}/sbin/ldif2index ${PREFIX}/sbin/ldif2ldbm \
- ${PREFIX}/bin/ldapmodify ${PREFIX}/bin/ldappasswd
+.for f in ${BINS}
+ strip ${PREFIX}/${f}
+.endfor
${INSTALL_SCRIPT} ${WRKDIR}/slapd.sh ${PREFIX}/etc/rc.d/slapd.sh.sample
.include <bsd.port.post.mk>
diff --git a/net/openldap20-server/Makefile b/net/openldap20-server/Makefile
index b0c3cd19ac8e..157ced384e46 100644
--- a/net/openldap20-server/Makefile
+++ b/net/openldap20-server/Makefile
@@ -37,27 +37,44 @@ CONFIGURE_ARGS+= --localstatedir=/var/run --enable-shared --enable-dns
CONFIGURE_ARGS+= --enable-wrappers
.endif
+BINS= bin/ldapadd \
+ bin/ldapdelete \
+ bin/ldapmodrdn \
+ bin/ldapsearch \
+ bin/ud \
+ libexec/fax500 \
+ libexec/go500 \
+ libexec/go500gw \
+ libexec/in.xfingerd \
+ libexec/mail500 \
+ libexec/rcpt500 \
+ libexec/rp500 \
+ libexec/slapd \
+ libexec/slurpd \
+ sbin/centipede \
+ sbin/ldbmcat \
+ sbin/ldbmtest \
+ sbin/ldif \
+ sbin/ldif2id2children \
+ sbin/ldif2id2entry \
+ sbin/ldif2index \
+ sbin/ldif2ldbm \
+ bin/ldapmodify \
+ bin/ldappasswd
+
.include <bsd.port.pre.mk>
.include "${FILESDIR}/manpages"
pre-build:
- cd ${WRKSRC} ; make depend
+ 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 \
- ${PREFIX}/libexec/fax500 ${PREFIX}/libexec/go500 \
- ${PREFIX}/libexec/go500gw ${PREFIX}/libexec/in.xfingerd \
- ${PREFIX}/libexec/mail500 ${PREFIX}/libexec/rcpt500 \
- ${PREFIX}/libexec/rp500 ${PREFIX}/libexec/slapd \
- ${PREFIX}/libexec/slurpd ${PREFIX}/sbin/centipede \
- ${PREFIX}/sbin/ldbmcat ${PREFIX}/sbin/ldbmtest ${PREFIX}/sbin/ldif \
- ${PREFIX}/sbin/ldif2id2children ${PREFIX}/sbin/ldif2id2entry \
- ${PREFIX}/sbin/ldif2index ${PREFIX}/sbin/ldif2ldbm \
- ${PREFIX}/bin/ldapmodify ${PREFIX}/bin/ldappasswd
+.for f in ${BINS}
+ strip ${PREFIX}/${f}
+.endfor
${INSTALL_SCRIPT} ${WRKDIR}/slapd.sh ${PREFIX}/etc/rc.d/slapd.sh.sample
.include <bsd.port.post.mk>
diff --git a/net/openldap20/Makefile b/net/openldap20/Makefile
index b0c3cd19ac8e..157ced384e46 100644
--- a/net/openldap20/Makefile
+++ b/net/openldap20/Makefile
@@ -37,27 +37,44 @@ CONFIGURE_ARGS+= --localstatedir=/var/run --enable-shared --enable-dns
CONFIGURE_ARGS+= --enable-wrappers
.endif
+BINS= bin/ldapadd \
+ bin/ldapdelete \
+ bin/ldapmodrdn \
+ bin/ldapsearch \
+ bin/ud \
+ libexec/fax500 \
+ libexec/go500 \
+ libexec/go500gw \
+ libexec/in.xfingerd \
+ libexec/mail500 \
+ libexec/rcpt500 \
+ libexec/rp500 \
+ libexec/slapd \
+ libexec/slurpd \
+ sbin/centipede \
+ sbin/ldbmcat \
+ sbin/ldbmtest \
+ sbin/ldif \
+ sbin/ldif2id2children \
+ sbin/ldif2id2entry \
+ sbin/ldif2index \
+ sbin/ldif2ldbm \
+ bin/ldapmodify \
+ bin/ldappasswd
+
.include <bsd.port.pre.mk>
.include "${FILESDIR}/manpages"
pre-build:
- cd ${WRKSRC} ; make depend
+ 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 \
- ${PREFIX}/libexec/fax500 ${PREFIX}/libexec/go500 \
- ${PREFIX}/libexec/go500gw ${PREFIX}/libexec/in.xfingerd \
- ${PREFIX}/libexec/mail500 ${PREFIX}/libexec/rcpt500 \
- ${PREFIX}/libexec/rp500 ${PREFIX}/libexec/slapd \
- ${PREFIX}/libexec/slurpd ${PREFIX}/sbin/centipede \
- ${PREFIX}/sbin/ldbmcat ${PREFIX}/sbin/ldbmtest ${PREFIX}/sbin/ldif \
- ${PREFIX}/sbin/ldif2id2children ${PREFIX}/sbin/ldif2id2entry \
- ${PREFIX}/sbin/ldif2index ${PREFIX}/sbin/ldif2ldbm \
- ${PREFIX}/bin/ldapmodify ${PREFIX}/bin/ldappasswd
+.for f in ${BINS}
+ strip ${PREFIX}/${f}
+.endfor
${INSTALL_SCRIPT} ${WRKDIR}/slapd.sh ${PREFIX}/etc/rc.d/slapd.sh.sample
.include <bsd.port.post.mk>
diff --git a/net/openldap21-server/Makefile b/net/openldap21-server/Makefile
index b0c3cd19ac8e..157ced384e46 100644
--- a/net/openldap21-server/Makefile
+++ b/net/openldap21-server/Makefile
@@ -37,27 +37,44 @@ CONFIGURE_ARGS+= --localstatedir=/var/run --enable-shared --enable-dns
CONFIGURE_ARGS+= --enable-wrappers
.endif
+BINS= bin/ldapadd \
+ bin/ldapdelete \
+ bin/ldapmodrdn \
+ bin/ldapsearch \
+ bin/ud \
+ libexec/fax500 \
+ libexec/go500 \
+ libexec/go500gw \
+ libexec/in.xfingerd \
+ libexec/mail500 \
+ libexec/rcpt500 \
+ libexec/rp500 \
+ libexec/slapd \
+ libexec/slurpd \
+ sbin/centipede \
+ sbin/ldbmcat \
+ sbin/ldbmtest \
+ sbin/ldif \
+ sbin/ldif2id2children \
+ sbin/ldif2id2entry \
+ sbin/ldif2index \
+ sbin/ldif2ldbm \
+ bin/ldapmodify \
+ bin/ldappasswd
+
.include <bsd.port.pre.mk>
.include "${FILESDIR}/manpages"
pre-build:
- cd ${WRKSRC} ; make depend
+ 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 \
- ${PREFIX}/libexec/fax500 ${PREFIX}/libexec/go500 \
- ${PREFIX}/libexec/go500gw ${PREFIX}/libexec/in.xfingerd \
- ${PREFIX}/libexec/mail500 ${PREFIX}/libexec/rcpt500 \
- ${PREFIX}/libexec/rp500 ${PREFIX}/libexec/slapd \
- ${PREFIX}/libexec/slurpd ${PREFIX}/sbin/centipede \
- ${PREFIX}/sbin/ldbmcat ${PREFIX}/sbin/ldbmtest ${PREFIX}/sbin/ldif \
- ${PREFIX}/sbin/ldif2id2children ${PREFIX}/sbin/ldif2id2entry \
- ${PREFIX}/sbin/ldif2index ${PREFIX}/sbin/ldif2ldbm \
- ${PREFIX}/bin/ldapmodify ${PREFIX}/bin/ldappasswd
+.for f in ${BINS}
+ strip ${PREFIX}/${f}
+.endfor
${INSTALL_SCRIPT} ${WRKDIR}/slapd.sh ${PREFIX}/etc/rc.d/slapd.sh.sample
.include <bsd.port.post.mk>
diff --git a/net/openldap21/Makefile b/net/openldap21/Makefile
index b0c3cd19ac8e..157ced384e46 100644
--- a/net/openldap21/Makefile
+++ b/net/openldap21/Makefile
@@ -37,27 +37,44 @@ CONFIGURE_ARGS+= --localstatedir=/var/run --enable-shared --enable-dns
CONFIGURE_ARGS+= --enable-wrappers
.endif
+BINS= bin/ldapadd \
+ bin/ldapdelete \
+ bin/ldapmodrdn \
+ bin/ldapsearch \
+ bin/ud \
+ libexec/fax500 \
+ libexec/go500 \
+ libexec/go500gw \
+ libexec/in.xfingerd \
+ libexec/mail500 \
+ libexec/rcpt500 \
+ libexec/rp500 \
+ libexec/slapd \
+ libexec/slurpd \
+ sbin/centipede \
+ sbin/ldbmcat \
+ sbin/ldbmtest \
+ sbin/ldif \
+ sbin/ldif2id2children \
+ sbin/ldif2id2entry \
+ sbin/ldif2index \
+ sbin/ldif2ldbm \
+ bin/ldapmodify \
+ bin/ldappasswd
+
.include <bsd.port.pre.mk>
.include "${FILESDIR}/manpages"
pre-build:
- cd ${WRKSRC} ; make depend
+ 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 \
- ${PREFIX}/libexec/fax500 ${PREFIX}/libexec/go500 \
- ${PREFIX}/libexec/go500gw ${PREFIX}/libexec/in.xfingerd \
- ${PREFIX}/libexec/mail500 ${PREFIX}/libexec/rcpt500 \
- ${PREFIX}/libexec/rp500 ${PREFIX}/libexec/slapd \
- ${PREFIX}/libexec/slurpd ${PREFIX}/sbin/centipede \
- ${PREFIX}/sbin/ldbmcat ${PREFIX}/sbin/ldbmtest ${PREFIX}/sbin/ldif \
- ${PREFIX}/sbin/ldif2id2children ${PREFIX}/sbin/ldif2id2entry \
- ${PREFIX}/sbin/ldif2index ${PREFIX}/sbin/ldif2ldbm \
- ${PREFIX}/bin/ldapmodify ${PREFIX}/bin/ldappasswd
+.for f in ${BINS}
+ strip ${PREFIX}/${f}
+.endfor
${INSTALL_SCRIPT} ${WRKDIR}/slapd.sh ${PREFIX}/etc/rc.d/slapd.sh.sample
.include <bsd.port.post.mk>
diff --git a/net/openldap22-server/Makefile b/net/openldap22-server/Makefile
index b0c3cd19ac8e..157ced384e46 100644
--- a/net/openldap22-server/Makefile
+++ b/net/openldap22-server/Makefile
@@ -37,27 +37,44 @@ CONFIGURE_ARGS+= --localstatedir=/var/run --enable-shared --enable-dns
CONFIGURE_ARGS+= --enable-wrappers
.endif
+BINS= bin/ldapadd \
+ bin/ldapdelete \
+ bin/ldapmodrdn \
+ bin/ldapsearch \
+ bin/ud \
+ libexec/fax500 \
+ libexec/go500 \
+ libexec/go500gw \
+ libexec/in.xfingerd \
+ libexec/mail500 \
+ libexec/rcpt500 \
+ libexec/rp500 \
+ libexec/slapd \
+ libexec/slurpd \
+ sbin/centipede \
+ sbin/ldbmcat \
+ sbin/ldbmtest \
+ sbin/ldif \
+ sbin/ldif2id2children \
+ sbin/ldif2id2entry \
+ sbin/ldif2index \
+ sbin/ldif2ldbm \
+ bin/ldapmodify \
+ bin/ldappasswd
+
.include <bsd.port.pre.mk>
.include "${FILESDIR}/manpages"
pre-build:
- cd ${WRKSRC} ; make depend
+ 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 \
- ${PREFIX}/libexec/fax500 ${PREFIX}/libexec/go500 \
- ${PREFIX}/libexec/go500gw ${PREFIX}/libexec/in.xfingerd \
- ${PREFIX}/libexec/mail500 ${PREFIX}/libexec/rcpt500 \
- ${PREFIX}/libexec/rp500 ${PREFIX}/libexec/slapd \
- ${PREFIX}/libexec/slurpd ${PREFIX}/sbin/centipede \
- ${PREFIX}/sbin/ldbmcat ${PREFIX}/sbin/ldbmtest ${PREFIX}/sbin/ldif \
- ${PREFIX}/sbin/ldif2id2children ${PREFIX}/sbin/ldif2id2entry \
- ${PREFIX}/sbin/ldif2index ${PREFIX}/sbin/ldif2ldbm \
- ${PREFIX}/bin/ldapmodify ${PREFIX}/bin/ldappasswd
+.for f in ${BINS}
+ strip ${PREFIX}/${f}
+.endfor
${INSTALL_SCRIPT} ${WRKDIR}/slapd.sh ${PREFIX}/etc/rc.d/slapd.sh.sample
.include <bsd.port.post.mk>
diff --git a/net/openldap22/Makefile b/net/openldap22/Makefile
index b0c3cd19ac8e..157ced384e46 100644
--- a/net/openldap22/Makefile
+++ b/net/openldap22/Makefile
@@ -37,27 +37,44 @@ CONFIGURE_ARGS+= --localstatedir=/var/run --enable-shared --enable-dns
CONFIGURE_ARGS+= --enable-wrappers
.endif
+BINS= bin/ldapadd \
+ bin/ldapdelete \
+ bin/ldapmodrdn \
+ bin/ldapsearch \
+ bin/ud \
+ libexec/fax500 \
+ libexec/go500 \
+ libexec/go500gw \
+ libexec/in.xfingerd \
+ libexec/mail500 \
+ libexec/rcpt500 \
+ libexec/rp500 \
+ libexec/slapd \
+ libexec/slurpd \
+ sbin/centipede \
+ sbin/ldbmcat \
+ sbin/ldbmtest \
+ sbin/ldif \
+ sbin/ldif2id2children \
+ sbin/ldif2id2entry \
+ sbin/ldif2index \
+ sbin/ldif2ldbm \
+ bin/ldapmodify \
+ bin/ldappasswd
+
.include <bsd.port.pre.mk>
.include "${FILESDIR}/manpages"
pre-build:
- cd ${WRKSRC} ; make depend
+ 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 \
- ${PREFIX}/libexec/fax500 ${PREFIX}/libexec/go500 \
- ${PREFIX}/libexec/go500gw ${PREFIX}/libexec/in.xfingerd \
- ${PREFIX}/libexec/mail500 ${PREFIX}/libexec/rcpt500 \
- ${PREFIX}/libexec/rp500 ${PREFIX}/libexec/slapd \
- ${PREFIX}/libexec/slurpd ${PREFIX}/sbin/centipede \
- ${PREFIX}/sbin/ldbmcat ${PREFIX}/sbin/ldbmtest ${PREFIX}/sbin/ldif \
- ${PREFIX}/sbin/ldif2id2children ${PREFIX}/sbin/ldif2id2entry \
- ${PREFIX}/sbin/ldif2index ${PREFIX}/sbin/ldif2ldbm \
- ${PREFIX}/bin/ldapmodify ${PREFIX}/bin/ldappasswd
+.for f in ${BINS}
+ strip ${PREFIX}/${f}
+.endfor
${INSTALL_SCRIPT} ${WRKDIR}/slapd.sh ${PREFIX}/etc/rc.d/slapd.sh.sample
.include <bsd.port.post.mk>
diff --git a/net/openldap23-server/Makefile b/net/openldap23-server/Makefile
index b0c3cd19ac8e..157ced384e46 100644
--- a/net/openldap23-server/Makefile
+++ b/net/openldap23-server/Makefile
@@ -37,27 +37,44 @@ CONFIGURE_ARGS+= --localstatedir=/var/run --enable-shared --enable-dns
CONFIGURE_ARGS+= --enable-wrappers
.endif
+BINS= bin/ldapadd \
+ bin/ldapdelete \
+ bin/ldapmodrdn \
+ bin/ldapsearch \
+ bin/ud \
+ libexec/fax500 \
+ libexec/go500 \
+ libexec/go500gw \
+ libexec/in.xfingerd \
+ libexec/mail500 \
+ libexec/rcpt500 \
+ libexec/rp500 \
+ libexec/slapd \
+ libexec/slurpd \
+ sbin/centipede \
+ sbin/ldbmcat \
+ sbin/ldbmtest \
+ sbin/ldif \
+ sbin/ldif2id2children \
+ sbin/ldif2id2entry \
+ sbin/ldif2index \
+ sbin/ldif2ldbm \
+ bin/ldapmodify \
+ bin/ldappasswd
+
.include <bsd.port.pre.mk>
.include "${FILESDIR}/manpages"
pre-build:
- cd ${WRKSRC} ; make depend
+ 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 \
- ${PREFIX}/libexec/fax500 ${PREFIX}/libexec/go500 \
- ${PREFIX}/libexec/go500gw ${PREFIX}/libexec/in.xfingerd \
- ${PREFIX}/libexec/mail500 ${PREFIX}/libexec/rcpt500 \
- ${PREFIX}/libexec/rp500 ${PREFIX}/libexec/slapd \
- ${PREFIX}/libexec/slurpd ${PREFIX}/sbin/centipede \
- ${PREFIX}/sbin/ldbmcat ${PREFIX}/sbin/ldbmtest ${PREFIX}/sbin/ldif \
- ${PREFIX}/sbin/ldif2id2children ${PREFIX}/sbin/ldif2id2entry \
- ${PREFIX}/sbin/ldif2index ${PREFIX}/sbin/ldif2ldbm \
- ${PREFIX}/bin/ldapmodify ${PREFIX}/bin/ldappasswd
+.for f in ${BINS}
+ strip ${PREFIX}/${f}
+.endfor
${INSTALL_SCRIPT} ${WRKDIR}/slapd.sh ${PREFIX}/etc/rc.d/slapd.sh.sample
.include <bsd.port.post.mk>
diff --git a/net/openldap24-server/Makefile b/net/openldap24-server/Makefile
index b0c3cd19ac8e..157ced384e46 100644
--- a/net/openldap24-server/Makefile
+++ b/net/openldap24-server/Makefile
@@ -37,27 +37,44 @@ CONFIGURE_ARGS+= --localstatedir=/var/run --enable-shared --enable-dns
CONFIGURE_ARGS+= --enable-wrappers
.endif
+BINS= bin/ldapadd \
+ bin/ldapdelete \
+ bin/ldapmodrdn \
+ bin/ldapsearch \
+ bin/ud \
+ libexec/fax500 \
+ libexec/go500 \
+ libexec/go500gw \
+ libexec/in.xfingerd \
+ libexec/mail500 \
+ libexec/rcpt500 \
+ libexec/rp500 \
+ libexec/slapd \
+ libexec/slurpd \
+ sbin/centipede \
+ sbin/ldbmcat \
+ sbin/ldbmtest \
+ sbin/ldif \
+ sbin/ldif2id2children \
+ sbin/ldif2id2entry \
+ sbin/ldif2index \
+ sbin/ldif2ldbm \
+ bin/ldapmodify \
+ bin/ldappasswd
+
.include <bsd.port.pre.mk>
.include "${FILESDIR}/manpages"
pre-build:
- cd ${WRKSRC} ; make depend
+ 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 \
- ${PREFIX}/libexec/fax500 ${PREFIX}/libexec/go500 \
- ${PREFIX}/libexec/go500gw ${PREFIX}/libexec/in.xfingerd \
- ${PREFIX}/libexec/mail500 ${PREFIX}/libexec/rcpt500 \
- ${PREFIX}/libexec/rp500 ${PREFIX}/libexec/slapd \
- ${PREFIX}/libexec/slurpd ${PREFIX}/sbin/centipede \
- ${PREFIX}/sbin/ldbmcat ${PREFIX}/sbin/ldbmtest ${PREFIX}/sbin/ldif \
- ${PREFIX}/sbin/ldif2id2children ${PREFIX}/sbin/ldif2id2entry \
- ${PREFIX}/sbin/ldif2index ${PREFIX}/sbin/ldif2ldbm \
- ${PREFIX}/bin/ldapmodify ${PREFIX}/bin/ldappasswd
+.for f in ${BINS}
+ strip ${PREFIX}/${f}
+.endfor
${INSTALL_SCRIPT} ${WRKDIR}/slapd.sh ${PREFIX}/etc/rc.d/slapd.sh.sample
.include <bsd.port.post.mk>