pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/tor Introduce ${PLIST.doc}.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8810ff6cc224
branches:  trunk
changeset: 362391:8810ff6cc224
user:      alnsn <alnsn%pkgsrc.org@localhost>
date:      Sat May 13 20:25:44 2017 +0000

description:
Introduce ${PLIST.doc}.

It should fix a build with PKG_OPTIONS.tor=-doc.

diffstat:

 net/tor/PLIST      |  18 +++++++++---------
 net/tor/options.mk |   5 ++++-
 2 files changed, 13 insertions(+), 10 deletions(-)

diffs (55 lines):

diff -r ba8c6694ee69 -r 8810ff6cc224 net/tor/PLIST
--- a/net/tor/PLIST     Sat May 13 09:20:30 2017 +0000
+++ b/net/tor/PLIST     Sat May 13 20:25:44 2017 +0000
@@ -1,16 +1,16 @@
-@comment $NetBSD: PLIST,v 1.12 2014/06/07 09:11:36 wiz Exp $
+@comment $NetBSD: PLIST,v 1.13 2017/05/13 20:25:44 alnsn Exp $
 bin/tor
 bin/tor-gencert
 bin/tor-resolve
 bin/torify
-man/man1/tor-gencert.1
-man/man1/tor-resolve.1
-man/man1/tor.1
-man/man1/torify.1
-share/doc/tor/tor-gencert.html
-share/doc/tor/tor-resolve.html
-share/doc/tor/tor.html
-share/doc/tor/torify.html
+${PLIST.doc}man/man1/tor-gencert.1
+${PLIST.doc}man/man1/tor-resolve.1
+${PLIST.doc}man/man1/tor.1
+${PLIST.doc}man/man1/torify.1
+${PLIST.doc}share/doc/tor/tor-gencert.html
+${PLIST.doc}share/doc/tor/tor-resolve.html
+${PLIST.doc}share/doc/tor/tor.html
+${PLIST.doc}share/doc/tor/torify.html
 share/examples/rc.d/tor
 share/examples/tor/torrc.sample
 share/tor/geoip
diff -r ba8c6694ee69 -r 8810ff6cc224 net/tor/options.mk
--- a/net/tor/options.mk        Sat May 13 09:20:30 2017 +0000
+++ b/net/tor/options.mk        Sat May 13 20:25:44 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.7 2015/05/23 08:53:11 bsiegert Exp $
+# $NetBSD: options.mk,v 1.8 2017/05/13 20:25:44 alnsn Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.tor
 PKG_SUPPORTED_OPTIONS= doc
@@ -6,6 +6,8 @@
 
 .include "../../mk/bsd.options.mk"
 
+PLIST_VARS+=           doc
+
 ###
 ### This enables the build of manual pages. It requires asciidoc
 ### at build time, which comes with a tail of dependencies and
@@ -14,6 +16,7 @@
 .if !empty(PKG_OPTIONS:Mdoc)
 BUILD_DEPENDS+=                asciidoc>=8.3.3:../../textproc/asciidoc
 CONFIGURE_ARGS+=       --enable-asciidoc
+PLIST.doc=             yes
 .else
 CONFIGURE_ARGS+=       --disable-asciidoc
 .endif



Home | Main Index | Thread Index | Old Index