Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jul 2014 23:59:27 -0400
From:      Adam Weinberger <adamw@adamw.org>
To:        "Vanilla I. Shu" <vanilla@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r360340 - head/www/llgal
Message-ID:  <C3645281-8992-44D9-907C-0177B007AAD9@adamw.org>
In-Reply-To: <201407030311.s633BMP2073248@svn.freebsd.org>
References:  <201407030311.s633BMP2073248@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2 Jul, 2014, at 23:11, Vanilla I. Shu <vanilla@FreeBSD.org> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C3645281-8992-44D9-907C-0177B007AAD9>