1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Add WITHOUT_DOXYWIZARD knob

PR:		50571
Submitted by:	Stefan Farfeleder <stefan@fafoe.dyndns.org>
This commit is contained in:
Tilman Keskinoz 2003-04-22 14:15:27 +00:00
parent 448e3bb2ce
commit 6aad6154ae
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=79457
2 changed files with 9 additions and 6 deletions

View File

@ -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 \

View File

@ -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