pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/tor Add PRINT_PLIST_AWK logic in order to dynamica...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/419ff73f5e49
branches:  trunk
changeset: 362410:419ff73f5e49
user:      leot <leot%pkgsrc.org@localhost>
date:      Sun May 14 16:03:23 2017 +0000

description:
Add PRINT_PLIST_AWK logic in order to dynamically generate ${PLIST.doc}
entries.

XXX: Probably `share/examples/rc.d/tor' entry should not be in PLIST,
XXX: but we can wait for the next tor update in order to get rid of it.

diffstat:

 net/tor/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 2d7186bd46db -r 419ff73f5e49 net/tor/Makefile
--- a/net/tor/Makefile  Sun May 14 15:22:57 2017 +0000
+++ b/net/tor/Makefile  Sun May 14 16:03:23 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.119 2017/05/02 11:16:02 wiz Exp $
+# $NetBSD: Makefile,v 1.120 2017/05/14 16:03:23 leot Exp $
 
 DISTNAME=              tor-0.3.0.6
 CATEGORIES=            net security
@@ -41,6 +41,9 @@
 CONF_FILES+=           ${PREFIX}/share/examples/tor/torrc.sample       \
                                ${PKG_SYSCONFDIR}/torrc
 
+PRINT_PLIST_AWK+=       /^man\/man/ { $$0 = "$${PLIST.doc}" $$0 }
+PRINT_PLIST_AWK+=       /^share\/doc/ { $$0 = "$${PLIST.doc}" $$0 }
+
 FILES_SUBST+=          PKG_HOME=${PKG_HOME.${TOR_USER}}
 FILES_SUBST+=          TOR_USER=${TOR_USER} TOR_GROUP=${TOR_GROUP}
 



Home | Main Index | Thread Index | Old Index