From owner-svn-ports-all@FreeBSD.ORG Thu Jul 3 03:59:38 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 848B8BA7; Thu, 3 Jul 2014 03:59:38 +0000 (UTC) Received: from apnoea.adamw.org (apnoea.adamw.org [204.109.59.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5E1072645; Thu, 3 Jul 2014 03:59:38 +0000 (UTC) Received: from [192.168.192.25] (dhcp-108-170-169-12.cable.user.start.ca [108.170.169.12]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by apnoea.adamw.org (Postfix) with ESMTPSA id 8CFDA12B01E; Wed, 2 Jul 2014 23:59:29 -0400 (EDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: svn commit: r360340 - head/www/llgal From: Adam Weinberger In-Reply-To: <201407030311.s633BMP2073248@svn.freebsd.org> Date: Wed, 2 Jul 2014 23:59:27 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: <201407030311.s633BMP2073248@svn.freebsd.org> To: "Vanilla I. Shu" X-Mailer: Apple Mail (2.1878.6) Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 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, 03 Jul 2014 03:59:38 -0000 On 2 Jul, 2014, at 23:11, Vanilla I. Shu wrote: > URL: http://svnweb.freebsd.org/changeset/ports/360340 > QAT: https://qat.redports.org/buildarchive/r360340/ >=20 > = =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/www/llgal/Makefile Thu Jul 3 02:57:13 2014 = (r360339) > +++ head/www/llgal/Makefile Thu Jul 3 03:11:21 2014 = (r360340) > @@ -40,13 +39,13 @@ post-configure: > ${PERL5} -pi -e 's/ = doc_(perl|site|\$$\(INSTALLDIRS\))_install//' ${WRKSRC}/lib/Makefile >=20 > post-install: > - ${INSTALL_DATA} ${WRKSRC}/llgal.1 ${MAN1PREFIX}/man/man1 > - ${INSTALL_DATA} ${WRKSRC}/llgalrc.5 ${MAN5PREFIX}/man/man5 > -.if !defined(NOPORTDOCS) > - @${MKDIR} ${DOCSDIR} > - ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR} > - ${INSTALL_DATA} ${WRKSRC}/doc/llgalrc ${DOCSDIR} > - @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} examples ${DOCSDIR}) > + ${INSTALL_DATA} ${WRKSRC}/llgal.1 = ${STAGEDIR}${MAN1PREFIX}/man/man1 > + ${INSTALL_DATA} ${WRKSRC}/llgalrc.5 = ${STAGEDIR}${MAN5PREFIX}/man/man5 > +.if ${PORT_OPTIONS:MDOCS} > + @${MKDIR} ${STAGEDIR}${DOCSDIR} > + ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR} > + ${INSTALL_DATA} ${WRKSRC}/doc/llgalrc ${STAGEDIR}${DOCSDIR} > + @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} examples = ${STAGEDIR}${DOCSDIR}) > .endif You know, if we are really going to do a giant stage-all-the-things = party, we should probably improve the scattered documentation of how to = stage properly. There are plenty of changes that have taken place that = are not documented anywhere, or are documented unclearly. I submit to = you three FAQ=92s that will probably help lots of people, two of which = are based on changes that never got noted anywhere, not even in = /usr/ports/CHANGES: Q: How do I package empty directories? A: Just list them in pkg-plist. =93@dirrm an/empty/directory=94 Q: How do I handle files outside of $PREFIX? A: Just list them in pkg-plist. =93/var/some/filename=94 Q: When should I use =93.if ${PORT_OPTIONS:MDOCS}=94 during = do-install/post-install? A: No. # Adam --=20 Adam Weinberger adamw@adamw.org http://www.adamw.org