- Use SUB_FILES instead of invoking sed manually to change pkg-message
- Replaces spaces with a tab after OPTIONS - While here add LICENSE PR: ports/148925 Submitted by: Sevan Janiyan <venture37 _at_ geeklan.co.uk> Approved by: Michael Graziano <mikeg _at_ bsd-box.net> (maintainer)
This commit is contained in:
parent
870661bd5d
commit
e342e18278
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=260495
2 changed files with 10 additions and 2 deletions
|
@ -15,6 +15,8 @@ DISTNAME= ${PORTNAME}-${NSS_LDAP_VERSION}
|
|||
MAINTAINER= mikeg@bsd-box.net
|
||||
COMMENT= RFC 2307 NSS module
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
NSS_LDAP_VERSION=265
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
|
@ -23,7 +25,7 @@ USE_AUTOTOOLS= automake:19 aclocal:19 autoconf:262 autoheader:262
|
|||
USE_LDCONFIG= yes
|
||||
USE_OPENLDAP= yes
|
||||
|
||||
OPTIONS= LCLASS "Enable login classes via the loginClass attribute" on
|
||||
OPTIONS= LCLASS "Enable login classes via the loginClass attribute" on
|
||||
|
||||
PLIST_FILES= etc/nss_ldap.conf.sample \
|
||||
lib/nss_ldap.so.1
|
||||
|
@ -38,6 +40,8 @@ CONFIGURE_ARGS= --with-ldap-conf-file=${PREFIX}/etc/nss_ldap.conf \
|
|||
|
||||
MAN5= nss_ldap.5
|
||||
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.if !defined(WITHOUT_KERBEROS)
|
||||
CONFIGURE_ARGS+=--enable-configurable-krb5-ccname-env
|
||||
|
@ -56,6 +60,10 @@ do-install:
|
|||
@${REINPLACE_CMD} 's,/etc/ldap.,${PREFIX}/etc/nss_ldap.,g' \
|
||||
${WRKSRC}/${MAN5}
|
||||
${INSTALL_MAN} ${WRKSRC}/${MAN5} ${MAN5PREFIX}/man/man5
|
||||
${SED} -e "s,%%PREFIX%%,${PREFIX},g" ${PKGMESSAGE}
|
||||
|
||||
post-install:
|
||||
.if !defined(PACKAGE_BUILDING)
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
Loading…
Reference in a new issue