diff options
author | Cy Schubert <cy@FreeBSD.org> | 2019-11-09 15:16:47 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2019-11-09 15:16:47 +0000 |
commit | 8d3667cbe2170482e7e09465809380c59755b593 (patch) | |
tree | 0a0b6c6d97730b6670a99db07edc2e9e21bf300e | |
parent | 782dc5261f1fcf665e91e48e336985f79e8e6df1 (diff) | |
download | ports-8d3667cbe2170482e7e09465809380c59755b593.tar.gz ports-8d3667cbe2170482e7e09465809380c59755b593.zip |
Notes
-rw-r--r-- | sysutils/am-utils/Makefile | 14 | ||||
-rw-r--r-- | sysutils/am-utils/pkg-plist | 8 |
2 files changed, 4 insertions, 18 deletions
diff --git a/sysutils/am-utils/Makefile b/sysutils/am-utils/Makefile index 85a9091c730e..cfd2802cda8f 100644 --- a/sysutils/am-utils/Makefile +++ b/sysutils/am-utils/Makefile @@ -34,26 +34,20 @@ MAKE_ENV= MAKEINFOFLAGS=--no-split INSTALL_TARGET= install-strip INFO= am-utils -DOCS= AUTHORS BUGS FAQ NEWS README.attrcache +PORTDOCS= AUTHORS BUGS FAQ NEWS README.attrcache OPENLDAP_USES= localbase:ldflags OPENLDAP_USE= OPENLDAP=yes OPENLDAP_CONFIGURE_WITH= ldap -OPENLDAP_CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \ - CPPFLAGS="-I${LOCALBASE}/include" -OPENLDAP_VARS= DOCS+="README.ldap ldap-id.txt ldap.schema" +OPENLDAP_PORTDOCS= README.ldap ldap-id.txt ldap.schema OPTIONS_SUB= yes -.include <bsd.port.options.mk> - post-patch: @${RM} ${WRKSRC}/doc/am-utils.info* -post-install: -.if ${PORT_OPTIONS:MDOCS} +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} -.endif + cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/sysutils/am-utils/pkg-plist b/sysutils/am-utils/pkg-plist index d24a60ed622e..944ee5b38dfd 100644 --- a/sysutils/am-utils/pkg-plist +++ b/sysutils/am-utils/pkg-plist @@ -35,11 +35,3 @@ sbin/sun2amd sbin/wait4amd sbin/wait4amd2die sbin/wire-test -%%PORTDOCS%%%%DOCSDIR%%/AUTHORS -%%PORTDOCS%%%%DOCSDIR%%/BUGS -%%PORTDOCS%%%%DOCSDIR%%/FAQ -%%PORTDOCS%%%%DOCSDIR%%/NEWS -%%PORTDOCS%%%%DOCSDIR%%/README.attrcache -%%OPENLDAP%%%%PORTDOCS%%%%DOCSDIR%%/README.ldap -%%OPENLDAP%%%%PORTDOCS%%%%DOCSDIR%%/ldap-id.txt -%%OPENLDAP%%%%PORTDOCS%%%%DOCSDIR%%/ldap.schema |