[77280] trunk/dports/graphics/ftgl/Portfile

Ryan Schmidt ryandesign at macports.org
Fri Mar 25 15:28:13 PDT 2011


On Mar 25, 2011, at 10:14, jmr at macports.org wrote:

> Revision: 77280
>          http://trac.macports.org/changeset/77280
> Author:   jmr at macports.org
> Date:     2011-03-25 08:14:12 -0700 (Fri, 25 Mar 2011)
> Log Message:
> -----------
> ftgl: move docs to a variant (#22427) which also depends on ImageMagick (#26407)
> 
> Modified Paths:
> --------------
>    trunk/dports/graphics/ftgl/Portfile
> 
> Modified: trunk/dports/graphics/ftgl/Portfile
> ===================================================================
> --- trunk/dports/graphics/ftgl/Portfile	2011-03-25 12:47:00 UTC (rev 77279)
> +++ trunk/dports/graphics/ftgl/Portfile	2011-03-25 15:14:12 UTC (rev 77280)
> @@ -22,8 +22,7 @@
> 
> depends_lib		port:freetype
> 
> -depends_build		bin:doxygen:doxygen \
> -			port:gsed
> +depends_build		port:gsed
> 
> worksrcdir		${name}-${my_version}
> 
> @@ -34,5 +33,21 @@
> # Skip building the example program by failing to find GLUT
> configure.args		--with-glut-inc=/dev/null --with-glut-lib=/dev/null
> 
> +variant doc description {build documentation} {
> +    depends_build-append	bin:doxygen:doxygen \
> +				bin:dvips:texlive-basic \
> +				bin:pdflatex:texlive-latex \
> +				bin:epstopdf:texlive-fontutils \
> +				bin:convert:ImageMagick

I'm curious why you didn't write this dependency as "port:ImageMagick", as was suggested in #22427, which would match our guidelines of using our own libraries, not others that might already be installed. I understand the exemption for TeX ports (not sure about doxygen), but we've never had such an exemption for ImageMagick before.





More information about the macports-dev mailing list