aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-04-22 22:15:27 +0800
committerarved <arved@FreeBSD.org>2003-04-22 22:15:27 +0800
commite598307c74c3c16918572419ae2a8becfb319988 (patch)
tree36b083215a2d050d41cb9a6b477919112a264da5
parentc1a82debd611f010a022baac77ab780f07da1c9b (diff)
downloadfreebsd-ports-gnome-e598307c74c3c16918572419ae2a8becfb319988.tar.gz
freebsd-ports-gnome-e598307c74c3c16918572419ae2a8becfb319988.tar.zst
freebsd-ports-gnome-e598307c74c3c16918572419ae2a8becfb319988.zip
Add WITHOUT_DOXYWIZARD knob
PR: 50571 Submitted by: Stefan Farfeleder <stefan@fafoe.dyndns.org>
-rw-r--r--devel/doxygen/Makefile13
-rw-r--r--devel/doxygen/pkg-plist2
2 files changed, 9 insertions, 6 deletions
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