Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Aug 2017 10:15:11 +0000 (UTC)
From:      Ben Woods <woodsb02@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r447750 - head/net-mgmt/lldpd
Message-ID:  <201708111015.v7BAFBlU019910@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: woodsb02
Date: Fri Aug 11 10:15:11 2017
New Revision: 447750
URL: https://svnweb.freebsd.org/changeset/ports/447750

Log:
  net-mgmt/lldpd: Fix install location for zsh completion file
  
  - Also enable ZSH option by default to install completion file
  
  PR:		220244
  Approved by:	Mathieu Simon <freebsd@simweb.ch> (maintainer)
  MFH:		2017Q3

Modified:
  head/net-mgmt/lldpd/Makefile
  head/net-mgmt/lldpd/pkg-plist

Modified: head/net-mgmt/lldpd/Makefile
==============================================================================
--- head/net-mgmt/lldpd/Makefile	Fri Aug 11 09:26:25 2017	(r447749)
+++ head/net-mgmt/lldpd/Makefile	Fri Aug 11 10:15:11 2017	(r447750)
@@ -3,7 +3,7 @@
 
 PORTNAME=	lldpd
 PORTVERSION=	0.9.4
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	net-mgmt
 MASTER_SITES=	http://media.luffy.cx/files/${PORTNAME}/ \
 		http://mirror.1labs.ch/${PORTNAME}/
@@ -32,7 +32,7 @@ USERS=	_lldpd
 GROUPS=	_lldpd
 
 OPTIONS_DEFINE=		BASH DOCS DTRACE JSON PIE PROPRIETARY READLINE SNMP XML ZSH
-OPTIONS_DEFAULT=	BASH JSON PROPRIETARY SNMP XML
+OPTIONS_DEFAULT=	BASH JSON PROPRIETARY SNMP XML ZSH
 OPTIONS_SUB=	yes
 
 DTRACE_DESC=		DTrace support
@@ -57,6 +57,9 @@ XML_LIB_DEPENDS=	libxml2.so:textproc/libxml2
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|/etc|${PREFIX}|g' ${WRKSRC}/src/daemon/lldpd.8.in
+	@${REINPLACE_CMD} -e 's|vendor-completions|site-functions|g' \
+		${WRKSRC}/src/client/Makefile.am \
+		${WRKSRC}/src/client/Makefile.in
 
 post-install:
 	${INSTALL_DATA} ${FILESDIR}/README.bsd ${STAGEDIR}${DOCSDIR}

Modified: head/net-mgmt/lldpd/pkg-plist
==============================================================================
--- head/net-mgmt/lldpd/pkg-plist	Fri Aug 11 09:26:25 2017	(r447749)
+++ head/net-mgmt/lldpd/pkg-plist	Fri Aug 11 10:15:11 2017	(r447750)
@@ -18,4 +18,4 @@ sbin/lldpd
 %%DOCS%%%%PORTDOCS%%%%DOCSDIR%%/NEWS
 %%DOCS%%%%PORTDOCS%%%%DOCSDIR%%/README.bsd
 %%DOCS%%%%PORTDOCS%%%%DOCSDIR%%/README.md
-%%ZSH%%share/zsh/vendor-completions/_lldpcli
+%%ZSH%%share/zsh/site-functions/_lldpcli



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708111015.v7BAFBlU019910>