pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/tor



Module Name:    pkgsrc
Committed By:   leot
Date:           Sun May 14 16:03:23 UTC 2017

Modified Files:
        pkgsrc/net/tor: Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.119 -r1.120 pkgsrc/net/tor/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/tor/Makefile
diff -u pkgsrc/net/tor/Makefile:1.119 pkgsrc/net/tor/Makefile:1.120
--- pkgsrc/net/tor/Makefile:1.119       Tue May  2 11:16:02 2017
+++ pkgsrc/net/tor/Makefile     Sun May 14 16:03:23 2017
@@ -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 @@ CONFIGURE_ARGS+=      --localstatedir=${VARBA
 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