From owner-svn-ports-all@freebsd.org Thu Jul 20 12:23:10 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EDAD6C31B53; Thu, 20 Jul 2017 12:23:10 +0000 (UTC) (envelope-from adamw@adamw.org) Received: from apnoea.adamw.org (apnoea.adamw.org [104.225.5.94]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "apnoea.adamw.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6925A6914D; Thu, 20 Jul 2017 12:23:09 +0000 (UTC) (envelope-from adamw@adamw.org) Received: by apnoea.adamw.org (OpenSMTPD) with ESMTPSA id b95b5154 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Thu, 20 Jul 2017 06:23:02 -0600 (MDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: svn commit: r446255 - head/ftp/wget From: Adam Weinberger In-Reply-To: <201707200959.v6K9xXZB054747@repo.freebsd.org> Date: Thu, 20 Jul 2017 06:23:00 -0600 Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <201707200959.v6K9xXZB054747@repo.freebsd.org> To: Vasil Dimov X-Mailer: Apple Mail (2.3273) X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jul 2017 12:23:11 -0000 > On 20 Jul, 2017, at 3:59, Vasil Dimov wrote: >=20 > Author: vd > Date: Thu Jul 20 09:59:33 2017 > New Revision: 446255 > URL: https://svnweb.freebsd.org/changeset/ports/446255 >=20 > Log: > ftp/wget: Make installing docs optional >=20 > Submitted by: jkim >=20 > Modified: > head/ftp/wget/Makefile > head/ftp/wget/pkg-plist >=20 > Modified: head/ftp/wget/Makefile > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- head/ftp/wget/Makefile Thu Jul 20 09:39:07 2017 = (r446254) > +++ head/ftp/wget/Makefile Thu Jul 20 09:59:33 2017 = (r446255) > @@ -15,37 +15,41 @@ LICENSE_FILE=3D ${WRKSRC}/COPYING > TEST_DEPENDS=3D p5-HTTP-Daemon>=3D0:www/p5-HTTP-Daemon \ > p5-IO-Socket-SSL>=3D0:security/p5-IO-Socket-SSL >=20 > -USES=3D charsetfix cpe iconv makeinfo perl5 tar:xz > -USE_PERL5=3D build > +USES=3D charsetfix cpe iconv tar:xz > CPE_VENDOR=3D gnu > GNU_CONFIGURE=3D yes > OPTIONS_SUB=3D yes >=20 > OPTIONS_RADIO=3D SSL > OPTIONS_RADIO_SSL=3DGNUTLS OPENSSL > -OPTIONS_DEFINE=3D IPV6 NLS IDN METALINK PCRE PSL > -OPTIONS_DEFAULT=3DOPENSSL IDN > +OPTIONS_DEFINE=3D DOCS IDN IPV6 METALINK NLS PCRE PSL > +OPTIONS_DEFAULT=3DDOCS IDN OPENSSL >=20 > -PCRE_DESC=3D Support Perl regular expressions in addition to POSIX > +DOCS_DESC=3D Install sample config file, info page and man page > +DOCS_INFO=3D wget > +DOCS_USE=3D PERL5=3Dbuild > +DOCS_USES=3D makeinfo perl5 >=20 > -IPV6_CONFIGURE_ENABLE=3D ipv6 > - > -NLS_USES=3D gettext > -NLS_CONFIGURE_ENABLE=3D nls > -NLS_CPPFLAGS=3D -I${LOCALBASE}/include > -NLS_LDFLAGS=3D -L${LOCALBASE}/lib > - > IDN_LIB_DEPENDS=3D libidn2.so:dns/libidn2 \ > libunistring.so:devel/libunistring > IDN_CPPFLAGS=3D -I${LOCALBASE}/include > IDN_LDFLAGS=3D -L${LOCALBASE}/lib > IDN_CONFIGURE_ENABLE=3D iri > -IDN_CONFIGURE_ON=3D --with-libidn=3D${LOCALBASE} = --with-libunistring-prefix=3D${LOCALBASE} > +IDN_CONFIGURE_ON=3D --with-libidn=3D${LOCALBASE} \ > + --with-libunistring-prefix=3D${LOCALBASE} > IDN_CONFIGURE_OFF=3D --with-included-libunistring >=20 > +IPV6_CONFIGURE_ENABLE=3D ipv6 > + > METALINK_CONFIGURE_WITH=3Dmetalink > METALINK_LIB_DEPENDS=3D libmetalink.so:misc/libmetalink >=20 > +NLS_USES=3D gettext > +NLS_CONFIGURE_ENABLE=3D nls > +NLS_CPPFLAGS=3D -I${LOCALBASE}/include > +NLS_LDFLAGS=3D -L${LOCALBASE}/lib > + > +PCRE_DESC=3D Support Perl regular expressions in addition to = POSIX > PCRE_LIB_DEPENDS=3D libpcre.so:devel/pcre > PCRE_CPPFLAGS=3D -I${LOCALBASE}/include > PCRE_LDFLAGS=3D -L${LOCALBASE}/lib > @@ -71,15 +75,18 @@ LDFLAGS+=3D -L${LOCALBASE}/lib > CONFIGURE_ARGS+=3D--without-ssl > .endif >=20 > -INFO=3D wget > - > TEST_TARGET=3D check >=20 > -post-patch: > +post-patch-DOCS-off: > + ${REINPLACE_CMD} -e '/^SUBDIRS =3D / s/ doc / /' = ${WRKSRC}/Makefile.in > + > +post-patch-DOCS-on: > ${REINPLACE_CMD} -e 's,WGETRC =3D = $$(sysconfdir)/wgetrc,&.sample,' \ > ${WRKSRC}/doc/Makefile.in > ${REINPLACE_CMD} -e = 's,/usr/local/etc/wgetrc,${PREFIX}/etc/wgetrc,' \ > - ${WRKSRC}/doc/sample.wgetrc* ${WRKSRC}/doc/wget.texi = ${WRKSRC}/doc/wget.info > + ${WRKSRC}/doc/sample.wgetrc* \ > + ${WRKSRC}/doc/wget.info \ > + ${WRKSRC}/doc/wget.texi >=20 > .include >=20 >=20 > Modified: head/ftp/wget/pkg-plist > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- head/ftp/wget/pkg-plist Thu Jul 20 09:39:07 2017 = (r446254) > +++ head/ftp/wget/pkg-plist Thu Jul 20 09:59:33 2017 = (r446255) > @@ -1,6 +1,6 @@ > bin/wget > -etc/wgetrc.sample > -man/man1/wget.1.gz > +%%DOCS%%etc/wgetrc.sample > +%%DOCS%%man/man1/wget.1.gz Manpages should never be controlled by DOCS. The manage should be = installed unconditionally. # Adam --=20 Adam Weinberger adamw@adamw.org https://www.adamw.org