diff options
-rw-r--r-- | dns/dnscrypt-proxy2/Makefile | 8 | ||||
-rw-r--r-- | dns/dnscrypt-proxy2/pkg-plist | 5 |
2 files changed, 4 insertions, 9 deletions
diff --git a/dns/dnscrypt-proxy2/Makefile b/dns/dnscrypt-proxy2/Makefile index 8b6197a41f78..50c0bc95c01a 100644 --- a/dns/dnscrypt-proxy2/Makefile +++ b/dns/dnscrypt-proxy2/Makefile @@ -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 diff --git a/dns/dnscrypt-proxy2/pkg-plist b/dns/dnscrypt-proxy2/pkg-plist index 985ee7f289bc..f9311c96fb21 100644 --- a/dns/dnscrypt-proxy2/pkg-plist +++ b/dns/dnscrypt-proxy2/pkg-plist @@ -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 |