mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- Update to 1.8.2 [1]
- Convert to new options framework Submitted by: Naram Qashat <cyberbotx@cyberbotx.com> (maintainer) PR: ports/170574 [1] Approved by: bapt (mentor)
This commit is contained in:
parent
1129612b2c
commit
e8037f2483
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=302547
@ -6,8 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= doxygen
|
||||
PORTVERSION= 1.8.0
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 1.8.2
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ftp://ftp.stack.nl/pub/users/dimitri/ \
|
||||
http://ftp.stack.nl/pub/users/dimitri/
|
||||
@ -44,8 +43,9 @@ TMPDOCDEST= ${WRKDIR}/tmpdocdest
|
||||
|
||||
PLIST_FILES= bin/doxygen
|
||||
|
||||
OPTIONS= DOXYWIZARD "Enable doxywizard" on \
|
||||
LATEX "Enable LaTeX support" on
|
||||
OPTIONS_DEFINE= DOXYWIZARD LATEX
|
||||
OPTIONS_DEFAULT=DOXYWIZARD LATEX
|
||||
DOXYWIZARD_DESC= Doxywizard support (requires QT4)
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
@ -54,31 +54,31 @@ ALL_TARGET+= docs
|
||||
USE_PYTHON_BUILD= yes
|
||||
BUILD_DEPENDS+= dot:${PORTSDIR}/graphics/graphviz
|
||||
|
||||
.if !defined(WITHOUT_LATEX)
|
||||
.if ${PORT_OPTIONS:MLATEX}
|
||||
ALL_TARGET+= pdf
|
||||
BUILD_DEPENDS+= dvips:${PORTSDIR}/print/dvipsk-tetex \
|
||||
latex:${PORTSDIR}/print/teTeX
|
||||
USE_GHOSTSCRIPT_BUILD= yes
|
||||
MAKE_ARGS+= HAVE_LATEX=yes
|
||||
.endif # !defined(WITHOUT_LATEX)
|
||||
.endif # LATEX
|
||||
.endif # !defined(NOPORTDOCS)
|
||||
|
||||
.if !defined(WITHOUT_DOXYWIZARD)
|
||||
.if ${PORT_OPTIONS:MDOXYWIZARD}
|
||||
USE_QT4= corelib gui xml qmake_build moc_build rcc_build
|
||||
|
||||
# Need this in env for build
|
||||
QTDIR?= ${QT_PREFIX}
|
||||
CONFIGURE_ENV= QTDIR="${QTDIR}"
|
||||
CONFIGURE_ARGS+=--with-doxywizard
|
||||
.endif # !defined(WITHOUT_DOXYWIZARD)
|
||||
.endif # DOXYWIZARD
|
||||
|
||||
.if ${MACHINE_ARCH:L} == alpha
|
||||
CONFIGURE_ARGS+= --enable-langs no
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_DOXYWIZARD)
|
||||
.if ${PORT_OPTIONS:MDOXYWIZARD}
|
||||
PLIST_FILES+= bin/doxywizard
|
||||
.endif # !defined(WITHOUT_DOXYWIZARD)
|
||||
.endif # DOXYWIZARD
|
||||
|
||||
pre-configure:
|
||||
@cd ${WRKSRC};for pro in src/*.pro.in addon/doxywizard/doxywizard.pro.in;do \
|
||||
@ -124,9 +124,9 @@ pre-install:
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/doxygen ${PREFIX}/bin/
|
||||
.if !defined(WITHOUT_DOXYWIZARD)
|
||||
.if ${PORT_OPTIONS:MDOXYWIZARD}
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/doxywizard ${PREFIX}/bin/
|
||||
.endif # !defined(WITHOUT_DOXYWIZARD)
|
||||
.endif # DOXYWIZARD
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${PREFIX}/share/doc/doxygen
|
||||
${TAR} -C ${TMPDOCDEST} -cf - doxygen \
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (doxygen-1.8.0.src.tar.gz) = 70fa9034bbe964654e95bdeffcefeb28cd4bf2f73dea8b951143f3cbd19cd533
|
||||
SIZE (doxygen-1.8.0.src.tar.gz) = 5636443
|
||||
SHA256 (doxygen-1.8.2.src.tar.gz) = 5258244e3e225511dbacbbc58be958f114c11e35461a893473d356182b949d54
|
||||
SIZE (doxygen-1.8.2.src.tar.gz) = 6063256
|
||||
|
Loading…
Reference in New Issue
Block a user