summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-02-09 12:31:05 +0000
committerantoine <antoine@FreeBSD.org>2014-02-09 12:31:05 +0000
commit41bf1c8f4c276c1e484aa67d2850531dd2e3f684 (patch)
treeb6d7090cfdeffa8cd517bc778bfb6f6f35531803
parentb62865d87a64792bfc437d2659682dd76878699c (diff)
downloadFreeBSD-ports-41bf1c8f4c276c1e484aa67d2850531dd2e3f684.zip
FreeBSD-ports-41bf1c8f4c276c1e484aa67d2850531dd2e3f684.tar.gz
Finish stage support
-rw-r--r--net/nss_ldap/Makefile8
-rw-r--r--net/nss_ldap/pkg-plist1
2 files changed, 4 insertions, 5 deletions
diff --git a/net/nss_ldap/Makefile b/net/nss_ldap/Makefile
index 8a993c1..69274df 100644
--- a/net/nss_ldap/Makefile
+++ b/net/nss_ldap/Makefile
@@ -3,7 +3,7 @@
PORTNAME= nss_ldap
PORTVERSION= 1.${NSS_LDAP_VERSION}
-PORTREVISION= 8
+PORTREVISION= 9
CATEGORIES= net
MASTER_SITES= http://www.padl.com/download/ \
LOCAL/martymac
@@ -39,8 +39,6 @@ CONFIGURE_ARGS= --with-ldap-conf-file=${PREFIX}/etc/nss_ldap.conf \
--enable-rfc2307bis \
--enable-paged-results
-MAN5= nss_ldap.5
-
SUB_FILES= pkg-message
.include <bsd.port.options.mk>
@@ -68,7 +66,7 @@ post-patch:
@${REINPLACE_CMD} 's,#!/usr/bin/perl,#!${PERL},' \
${WRKSRC}/vers_string
@${REINPLACE_CMD} 's,/etc/ldap\.,${PREFIX}/etc/nss_ldap.,g' \
- ${WRKSRC}/${MAN5}
+ ${WRKSRC}/nss_ldap.5
# XXX: newer autoconf's rely on the compiler result, not the preprocessor
# for checking headers, so the configure.in needs to be fixed upstream
@@ -81,6 +79,6 @@ post-configure:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/nss_ldap.so ${STAGEDIR}/${PREFIX}/lib/nss_ldap.so.1
${INSTALL_DATA} ${WRKSRC}/ldap.conf ${STAGEDIR}/${PREFIX}/etc/nss_ldap.conf.sample
- ${INSTALL_MAN} ${WRKSRC}/${MAN5} ${STAGEDIR}/${MAN5PREFIX}/man/man5
+ ${INSTALL_MAN} ${WRKSRC}/nss_ldap.5 ${STAGEDIR}/${MAN5PREFIX}/man/man5
.include <bsd.port.mk>
diff --git a/net/nss_ldap/pkg-plist b/net/nss_ldap/pkg-plist
index 451b8f7..3da0ec8 100644
--- a/net/nss_ldap/pkg-plist
+++ b/net/nss_ldap/pkg-plist
@@ -2,3 +2,4 @@ lib/nss_ldap.so.1
@unexec if cmp -s %D/etc/nss_ldap.conf %D/etc/nss_ldap.conf.sample; then rm -f %D/etc/nss_ldap.conf; fi
etc/nss_ldap.conf.sample
@exec if [ ! -f %D/etc/nss_ldap.conf ]; then cp %B/%f %D/etc/nss_ldap.conf; fi
+man/man5/nss_ldap.5.gz
OpenPOWER on IntegriCloud