svn commit: r465593 - head/dns/dnscrypt-proxy2

Mathieu Arnold mat at FreeBSD.org
Mon Mar 26 13:40:20 UTC 2018


Author: mat
Date: Mon Mar 26 13:40:19 2018
New Revision: 465593
URL: https://svnweb.freebsd.org/changeset/ports/465593

Log:
  Correctly use PORTDOCS and PORTEXAMPLES.
  
  Sponsored by:	Absolight

Modified:
  head/dns/dnscrypt-proxy2/Makefile   (contents, props changed)
  head/dns/dnscrypt-proxy2/pkg-plist   (contents, props changed)

Modified: head/dns/dnscrypt-proxy2/Makefile
==============================================================================
--- head/dns/dnscrypt-proxy2/Makefile	Mon Mar 26 13:40:16 2018	(r465592)
+++ head/dns/dnscrypt-proxy2/Makefile	Mon Mar 26 13:40:19 2018	(r465593)
@@ -22,8 +22,8 @@ GH_ACCOUNT=	jedisct1
 USERS=		_dnscrypt-proxy
 GROUPS=		_dnscrypt-proxy
 
-PORTDOCS=	${WRKSRC}/README.*
-PORTEXAMPLES=	${WRKSRC}/${PORTNAME}/example*
+PORTDOCS=	README.*
+PORTEXAMPLES=	example*
 
 CONFLICTS_INSTALL=	dnscrypt-proxy
 
@@ -40,11 +40,11 @@ do-install:
 
 do-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 
 do-install-EXAMPLES-on:
 	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-	${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
+	cd ${WRKSRC}/${PORTNAME} && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
 
 post-install:
 	# After install examples because of the priv drop issue with Go

Modified: head/dns/dnscrypt-proxy2/pkg-plist
==============================================================================
--- head/dns/dnscrypt-proxy2/pkg-plist	Mon Mar 26 13:40:16 2018	(r465592)
+++ head/dns/dnscrypt-proxy2/pkg-plist	Mon Mar 26 13:40:19 2018	(r465593)
@@ -1,7 +1,2 @@
 @sample etc/dnscrypt-proxy.toml.sample
-%%PORTDOCS%%%%DOCSDIR%%/README.md
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-blacklist.txt
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-cloaking-rules.txt
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-dnscrypt-proxy.toml
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-forwarding-rules.txt
 sbin/dnscrypt-proxy


More information about the svn-ports-all mailing list