ports/50571: [patch] Add knob to disable doxywizard in devel/doxygen

Stefan Farfeleder stefan at fafoe.dyndns.org
Thu Apr 3 18:00:35 UTC 2003


>Number:         50571
>Category:       ports
>Synopsis:       [patch] Add knob to disable doxywizard in devel/doxygen
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 03 10:00:32 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Stefan Farfeleder
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD frog.fafoe 5.0-CURRENT FreeBSD 5.0-CURRENT #13: Wed Apr 2 19:19:16 CEST 2003 freebsd at frog.fafoe:/freebsd/frog/obj/freebsd/frog/src/sys/FROG i386


	
>Description:
"Doxywizard is a GUI front-end for creating and editing configuration files
that are used by doxygen."

Since I don't want to use this GUI and it is the only reason doxygen depends on
Qt which I haven't installed, here is a patch to disable building doxywizard by
setting the WITHOUT_DOXYWIZARD variable.
	
>How-To-Repeat:
	
>Fix:

	

--- doxygen.diff begins here ---
Index: Makefile
===================================================================
RCS file: /usr/home/ncvs/ports/devel/doxygen/Makefile,v
retrieving revision 1.27
diff -u -r1.27 Makefile
--- Makefile	7 Mar 2003 06:00:17 -0000	1.27
+++ Makefile	3 Apr 2003 17:39:53 -0000
@@ -33,6 +33,7 @@
 PLIST_SUB+=	HAVE_LATEX="@comment "
 .endif # !defined(HAVE_LATEX)
 
+.if !defined(WITHOUT_DOXYWIZARD)
 .if defined(WITH_QT2)
 BROKEN=	"QT2 support has been removed"
 .else # not QT2
@@ -47,13 +48,17 @@
 # Need this in env for build
 QTDIR?=		${X11BASE}
 CONFIGURE_ENV+=	QTDIR="${QTDIR}"
+CONFIGURE_ARGS+=--with-doxywizard
+.else # !WITHOUT_DOXYWIZARD
+PLIST_SUB+=	HAVE_DOXYWIZARD="@comment "
+.endif # !WITHOUT_DOXYWIZARD
 
 USE_PERL5=	yes
 HAS_CONFIGURE=	yes
 USE_GMAKE=	yes
 QT_NONSTANDARD=	yes	# non-standard configure arguments
 CONFIGURE_ARGS+=--prefix ${PREFIX} --perl ${PERL} --make ${GMAKE} \
-		--with-doxywizard --install ${INSTALL}
+		--install ${INSTALL}
 
 .if !defined(NOPORTDOCS) && !defined(HAVE_LATEX)
 pre-everything::
@@ -92,7 +97,9 @@
 	${INSTALL_PROGRAM} ${WRKSRC}/bin/doxygen ${PREFIX}/bin
 	${INSTALL_PROGRAM} ${WRKSRC}/bin/doxytag ${PREFIX}/bin
 	${INSTALL_PROGRAM} ${WRKSRC}/bin/doxysearch ${PREFIX}/bin
+.ifndef WITHOUT_DOXYWIZARD
 	${INSTALL_PROGRAM} ${WRKSRC}/bin/doxywizard ${PREFIX}/bin
+.endif
 .ifndef NOPORTDOCS
 	${MKDIR} ${PREFIX}/share/doc/doxygen/html
 	${TAR} -C ${WRKSRC} --exclude '*/_*' -cf - html \
Index: pkg-plist
===================================================================
RCS file: /usr/home/ncvs/ports/devel/doxygen/pkg-plist,v
retrieving revision 1.10
diff -u -r1.10 pkg-plist
--- pkg-plist	16 Oct 2002 10:26:18 -0000	1.10
+++ pkg-plist	3 Apr 2003 17:35:01 -0000
@@ -1,7 +1,7 @@
 bin/doxygen
 bin/doxysearch
 bin/doxytag
-bin/doxywizard
+%%HAVE_DOXYWIZARD%%bin/doxywizard
 %%PORTDOCS%%%%HAVE_LATEX%%share/doc/doxygen/archoverview.eps
 %%PORTDOCS%%%%HAVE_LATEX%%share/doc/doxygen/doxygen_logo.eps
 %%PORTDOCS%%%%HAVE_LATEX%%share/doc/doxygen/doxygen_manual.dvi
--- doxygen.diff ends here ---


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



More information about the freebsd-ports-bugs mailing list