From e598307c74c3c16918572419ae2a8becfb319988 Mon Sep 17 00:00:00 2001 From: arved Date: Tue, 22 Apr 2003 14:15:27 +0000 Subject: Add WITHOUT_DOXYWIZARD knob PR: 50571 Submitted by: Stefan Farfeleder --- devel/doxygen/Makefile | 13 ++++++++----- devel/doxygen/pkg-plist | 2 +- 2 files changed, 9 insertions(+), 6 deletions(-) (limited to 'devel/doxygen') diff --git a/devel/doxygen/Makefile b/devel/doxygen/Makefile index 68e8577fd006..c1335d428ac5 100644 --- a/devel/doxygen/Makefile +++ b/devel/doxygen/Makefile @@ -33,27 +33,28 @@ MAKE_ARGS+= HAVE_LATEX=yes PLIST_SUB+= HAVE_LATEX="@comment " .endif # !defined(HAVE_LATEX) -.if defined(WITH_QT2) -BROKEN= "QT2 support has been removed" -.else # not QT2 +.if !defined(WITHOUT_DOXYWIZARD) USE_QT_VER= 3 QT_INC= ${X11BASE}/include QTNAME= qt-mt QT_OPENGL= THREADLIBS= ${PTHREAD_LIBS} CFLAGS+= ${PTHREAD_CFLAGS} -.endif # not QT2 # 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 +93,9 @@ do-install: ${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 \ diff --git a/devel/doxygen/pkg-plist b/devel/doxygen/pkg-plist index 59855b73eb26..0af2e1d8ca2a 100644 --- a/devel/doxygen/pkg-plist +++ b/devel/doxygen/pkg-plist @@ -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 -- cgit