doc build with AFPL Ghostscript 8.14

Chris Pepper pepper at reppep.com
Tue Jul 13 18:06:06 UTC 2004


At 10:55 PM +0900 2004/07/11, Hiroki Sato wrote:
>Hi,
>
>  I made a patch to solve a doc build problem when AFPL Ghostscript 8.14
>  is used.  This patch should be compatible with both of GNU Ghostscript
>  7.07, which the docproj port depends on via graphics/peps, and gs 8.14.
>  The problem was that graphics/peps cannot be used with gs 8.14.  After
>  applying this patch, peps is no longer used.

	Don't forget to strike the peps comment

>@@ -184,8 +197,10 @@
>  # relative path when the arguments are passed by peps; realpath will
>  # correct the problem.
>  .pic.png: ${.TARGET:S/.png$/.eps/}
>-	${EPS2PNG} ${EPS2PNGOPTS} -o ${.TARGET} \
>-	`${REALPATH} ${.TARGET:S/.png$/.eps/}`
>+	${EPSGEOM} -offset ${EPSGEOMOPTS} ${.TARGET:S/.png$/.eps/} \
>+		| ${EPS2PNM} ${EPS2PNMOPTS} \
>+		-g`${EPSGEOM} -geom ${EPSGEOMOPTS} 
>${.TARGET:S/.png$/.eps/}` - \
>+		| ${PNMTOPNG} > ${.TARGET}


						Chris
--
Chris Pepper:               <http://www.reppep.com/~pepper/>
Rockefeller University:     <http://www.rockefeller.edu/>



More information about the freebsd-doc mailing list