ports/66993: Add GraphViz support to ImageMagick, fix dependency, take maintainership

Arjan van Leeuwen avleeuwen at piwebs.com
Fri May 21 14:00:42 UTC 2004


>Number:         66993
>Category:       ports
>Synopsis:       Add GraphViz support to ImageMagick, fix dependency, take maintainership
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 21 07:00:29 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Arjan van Leeuwen
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:


System: FreeBSD 5.2-CURRENT #0: Sat May 15 03:27:56 CEST 2004
    root at vincent.piwebs.com:/usr/obj/usr/src/sys/AMD760



>Description:


The graphics/ImageMagick port will install with GraphViz dot
support if GraphViz is installed, but the library dependency is
not registered, leading to problems if GraphViz is later
removed.

Add a tunable to allow people to select if they want GraphViz 
support (default off).

Take maintainership.


>How-To-Repeat:





>Fix:


--- ImageMagick.diff begins here ---
diff -urN /usr/ports/graphics/ImageMagick/Makefile ImageMagick/Makefile
--- /usr/ports/graphics/ImageMagick/Makefile	Fri May 21 12:05:57 2004
+++ ImageMagick/Makefile	Fri May 21 15:47:02 2004
@@ -25,7 +25,7 @@
 MASTER_SITE_SUBDIR=	${PORTNAME:L} ${PORTNAME}
 DISTNAME=	${PORTNAME}-${PORTVERSION:R}-${PORTVERSION:E}
 
-MAINTAINER=	ports at FreeBSD.org
+MAINTAINER=	avleeuwen at piwebs.com
 COMMENT=	Image processing tools
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
@@ -140,6 +140,13 @@
 LIB_DEPENDS+=	jasper.4:${PORTSDIR}/graphics/jasper
 .else
 CONFIGURE_ARGS+=	--without-jp2
+.endif
+
+# GraphViz dot graphs
+.if defined(WITH_IMAGEMAGICK_DOT)
+LIB_DEPENDS+=		dotneato.0:${PORTSDIR}/graphics/graphviz
+.else
+CONFIGURE_ARGS+=	--without-dot
 .endif
 
 # LCMS (Little CMS) color management
--- ImageMagick.diff ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list