Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Sep 2001 18:26:28 -0400
From:      Dave Chapeskie <bsdport@ddm.wox.org>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        dwcjr@freebsd.org
Subject:   ports/30943: [MAINTAINER UPDATE] doxygen 1.2.10_1 -> 1.2.11
Message-ID:  <20010930182627.A8084@ddm.wox.org>

next in thread | raw e-mail | index | archive | help

>Number:         30943
>Category:       ports
>Synopsis:       [MAINTAINER UPDATE] doxygen 1.2.10_1 -> 1.2.11
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 30 15:30:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Dave Chapeskie
>Release:        FreeBSD 4.4-RELEASE i386
>Organization:
DDM Consulting
>Environment:
System: FreeBSD rama.ddm.wox.org 4.4-RELEASE FreeBSD 4.4-RELEASE #1: Thu Sep 20 13:39:29 EDT 2001 dchapes@rama.ddm.wox.org:/usr/obj/usr/src/sys/RAMA i386

>Description:

Sorry that this patch is right on the heels of the last changes to the
port.  I was unaware that a new release was going to be out so soon.
I took the opportunity to make some small improvements to the port
building.


Here's what's changed by the attached patch:

- Update to 1.2.11

- Update URL in package description

- Add an ECHO_MSG when HAVE_LATEX is not defined

- Add latex and dvipdfm to BUILD_DEPENDS if HAVE_LATEX is defined

- Patch the latex manual to not override the paper size default, the
  LaTeX installed article.cls should have the correct default instead.

- Patch the doc build process to use dvipdfm instead of ps2pdf because
  the later would require another big dependency, namely ghostscript.


A reminder:  HAVE_LATEX was added because most people are fine with just
the HTML documentation and the latex package is a _huge_ requirement for
the *.dvi, *.ps, and *.pdf formats.  Perhaps HAVE_LATEX wasn't the best
name for the variable; feel free to change it (or request me to submit
patches) to WANT_LATEX, WITH_LATEX, or reverse the logic and make it
WITHOUT_LATEX.

>How-To-Repeat:
>Fix:

Index: Makefile
===================================================================
RCS file: /cvs/FreeBSD/ports/devel/doxygen/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- Makefile	2001/09/29 22:21:07	1.13
+++ Makefile	2001/09/30 22:13:26
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	doxygen
-PORTVERSION=	1.2.10
-PORTREVISION=	1
+PORTVERSION=	1.2.11
 CATEGORIES=	devel
 MASTER_SITES=	ftp://ftp.stack.nl/pub/users/dimitri/
 EXTRACT_SUFX=	.src.tar.gz
@@ -30,9 +29,17 @@
 ALL_TARGET=	all docs
 .ifdef HAVE_LATEX
 ALL_TARGET+=	ps
+BUILD_DEPENDS+=	latex:${PORTSDIR}/print/teTeX \
+		dvipdfm:${PORTSDIR}/print/dvipdfm
 PLIST_SUB+=	HAVE_LATEX=""
 .else
 PLIST_SUB+=	HAVE_LATEX="@comment "
+pre-everything::
+	@${ECHO_MSG}
+	@${ECHO_MSG} "If you want DVI, Postscript, and PDF documentation"
+	@${ECHO_MSG} "in addition to the HTML documentation,"
+	@${ECHO_MSG} "hit Ctrl-C right now and use \"make HAVE_LATEX=yes\""
+	@${ECHO_MSG}
 .endif
 .endif
 
@@ -57,8 +64,10 @@
 		${TAR} -C ${PREFIX}/share/doc/doxygen --unlink -xf -
 .ifdef HAVE_LATEX
 	${INSTALL_DATA} ${WRKSRC}/latex/doxygen_manual.dvi \
-			${PREFIX}/share/doc/doxygen
-	${INSTALL_DATA} ${WRKSRC}/latex/doxygen_manual.ps \
+			${WRKSRC}/latex/doxygen_manual.pdf \
+			${WRKSRC}/latex/doxygen_manual.ps \
+			${WRKSRC}/latex/archoverview.eps \
+			${WRKSRC}/latex/doxygen_logo.eps \
 			${PREFIX}/share/doc/doxygen
 .endif
 .endif
Index: distinfo
===================================================================
RCS file: /cvs/FreeBSD/ports/devel/doxygen/distinfo,v
retrieving revision 1.5
diff -u -r1.5 distinfo
--- distinfo	2001/09/25 14:50:04	1.5
+++ distinfo	2001/09/30 19:41:16
@@ -1 +1 @@
-MD5 (doxygen-1.2.10.src.tar.gz) = 16b6d5a2ceb9629f46695cb01069f115
+MD5 (doxygen-1.2.11.src.tar.gz) = a913f6bd9771eb89682e968933369776
Index: pkg-descr
===================================================================
RCS file: /cvs/FreeBSD/ports/devel/doxygen/pkg-descr,v
retrieving revision 1.2
diff -u -r1.2 pkg-descr
--- pkg-descr	2001/01/28 19:50:35	1.2
+++ pkg-descr	2001/09/30 19:38:01
@@ -3,7 +3,4 @@
 set of documented source files. The documentation is extracted directly from
 the sources.
 
-WWW: http://www.stack.nl/~dimitri/doxygen/
-
-Joep Grooten
-joep@di.nl
+WWW: http://www.doxygen.org/
Index: pkg-plist
===================================================================
RCS file: /cvs/FreeBSD/ports/devel/doxygen/pkg-plist,v
retrieving revision 1.4
diff -u -r1.4 pkg-plist
--- pkg-plist	2001/09/29 22:21:07	1.4
+++ pkg-plist	2001/09/30 22:15:18
@@ -2,7 +2,10 @@
 bin/doxytag
 bin/doxysearch
 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
+%%PORTDOCS%%%%HAVE_LATEX%%share/doc/doxygen/doxygen_manual.pdf
 %%PORTDOCS%%%%HAVE_LATEX%%share/doc/doxygen/doxygen_manual.ps
 %%PORTDOCS%%share/doc/doxygen/examples/afterdoc.cfg
 %%PORTDOCS%%share/doc/doxygen/examples/afterdoc.h
@@ -298,6 +301,8 @@
 %%PORTDOCS%%share/doc/doxygen/examples/template/html/functions.html
 %%PORTDOCS%%share/doc/doxygen/examples/template/html/hierarchy.html
 %%PORTDOCS%%share/doc/doxygen/examples/template/html/index.html
+%%PORTDOCS%%share/doc/doxygen/html/arch.html
+%%PORTDOCS%%share/doc/doxygen/html/archoverview.gif
 %%PORTDOCS%%share/doc/doxygen/html/autolink.html
 %%PORTDOCS%%share/doc/doxygen/html/commands.html
 %%PORTDOCS%%share/doc/doxygen/html/config.html
Index: files/patch-ag
===================================================================
RCS file: patch-ag
diff -N patch-ag
--- /dev/null	Sun Sep 30 18:01:55 2001
+++ patch-ag	Sun Sep 30 17:26:01 2001
@@ -0,0 +1,16 @@
+--- doc/Makefile.latex.orig	Mon Mar 19 14:27:39 2001
++++ doc/Makefile.latex	Sun Sep 30 17:25:54 2001
+@@ -12,10 +12,10 @@
+ # Documents produced by Doxygen are derivative works derived from the
+ # input used in their production; they are not affected by this license.
+ 
+-all: doxygen_manual.pdf
++all: doxygen_manual.ps doxygen_manual.pdf
+ 
+-doxygen_manual.pdf: doxygen_manual.ps
+-	ps2pdf doxygen_manual.ps doxygen_manual.pdf
++doxygen_manual.pdf: doxygen_manual.dvi
++	dvipdfm -o doxygen_manual.pdf doxygen_manual.dvi
+ 
+ doxygen_manual.ps: doxygen_manual.dvi
+ 	dvips -o doxygen_manual.ps doxygen_manual.dvi
Index: files/patch-ah
===================================================================
RCS file: patch-ah
diff -N patch-ah
--- /dev/null	Sun Sep 30 18:01:55 2001
+++ patch-ah	Sun Sep 30 17:42:07 2001
@@ -0,0 +1,12 @@
+--- doc/doxygen_manual.tex.orig	Tue Sep 11 12:56:42 2001
++++ doc/doxygen_manual.tex	Sun Sep 30 17:32:23 2001
+@@ -12,8 +12,7 @@
+ % Documents produced by Doxygen are derivative works derived from the
+ % input used in their production; they are not affected by this license.
+ 
+-\documentclass[a4paper,ps2pdf]{article}
+-\usepackage{a4wide}
++\documentclass{article}
+ \usepackage{makeidx}
+ \usepackage{fancyhdr}
+ \usepackage{float}

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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010930182627.A8084>