Bug 10707 - [ADD] port for doxygen
Summary: [ADD] port for doxygen
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-03-21 12:30 UTC by joep
Modified: 1999-06-10 01:28 UTC (History)
0 users

See Also:


Attachments
file.shar (5.93 KB, text/plain)
1999-03-21 12:30 UTC, joep
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description joep 1999-03-21 12:30:01 UTC
This is the port for the Doxygen documentation system
Comment 1 Sheldon Hearn freebsd_committer freebsd_triage 1999-03-28 18:01:13 UTC
State Changed
From-To: open->feedback

Please split patch-aa into one patchfile per file to be patched. 
USE_PERL5=	YES, not an explanation. 
Thanks. 

Comment 2 joep 1999-03-29 13:07:34 UTC
> Synopsis: [ADD] port for doxygen
> 
> State-Changed-From-To: open->feedback
> State-Changed-By: sheldonh
> State-Changed-When: Sun Mar 28 09:01:13 PST 1999
> State-Changed-Why: 
> Please split patch-aa into one patchfile per file to be patched.

Done. Do patches for different files always have to be in different patch
files ? The only thing I could find about this in the handbook is that
multiple patches on the same file should not be done by multiple patchfiles.

> USE_PERL5=	YES, not an explanation.

Sure.


Okay, here is the revised port for doxygen :

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	doxygen
#	doxygen/Makefile
#	doxygen/patches
#	doxygen/patches/patch-aa
#	doxygen/patches/patch-ab
#	doxygen/patches/patch-ac
#	doxygen/patches/patch-ad
#	doxygen/files
#	doxygen/files/md5
#	doxygen/pkg
#	doxygen/pkg/COMMENT
#	doxygen/pkg/PLIST
#	doxygen/pkg/DESCR
#
echo c - doxygen
mkdir -p doxygen > /dev/null 2>&1
echo x - doxygen/Makefile
sed 's/^X//' >doxygen/Makefile << 'END-of-doxygen/Makefile'
X# New ports collection makefile for:   doxygen
X# Version required:    0.4
X# Date created:        20 March 1998
X# Whom:                Joep Grooten <joep@di.nl>
X#
X# $Id$
X#
X
XDISTNAME=	doxygen-0.4.src
XPKGNAME=	doxygen-0.4
XCATEGORIES=	devel
XMASTER_SITES=	http://www.stack.nl/~dimitri/doxygen/dl/
X
XMAINTAINER=	joep@di.nl
X
XWRKSRC=         ${WRKDIR}/doxygen-0.4
X
XUSE_QT=		YES
X
XUSE_PERL5=	YES
XMAKE_ARGS=	freebsd-g++
X
Xdo-configure:
X	cd ${WRKSRC}/src; \
X	${MAKE} tmake \
X	TMAKE=../tmake/bin/tmake \
X	TMAKEPATH=../tmake/lib/freebsd-g++ \
X	PERL=${PERL}
X
Xdo-build:
X	@(cd ${WRKSRC}/src; ${MAKE})
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/bin/doxygen ${PREFIX}/bin
X	${INSTALL_PROGRAM} ${WRKSRC}/bin/doxytag ${PREFIX}/bin
X	${INSTALL_PROGRAM} ${WRKSRC}/bin/doxysearch ${PREFIX}/bin
X
X.include <bsd.port.mk>
END-of-doxygen/Makefile
echo c - doxygen/patches
mkdir -p doxygen/patches > /dev/null 2>&1
echo x - doxygen/patches/patch-aa
sed 's/^X//' >doxygen/patches/patch-aa << 'END-of-doxygen/patches/patch-aa'
X--- Makefile.orig	Sun Mar 28 20:02:05 1999
X+++ Makefile	Sat Mar 20 16:36:52 1999
X@@ -1,6 +1,6 @@
X MAKE = make  # name of the make tool to use
X TAR  = tar   # name of the GNU tar tool
X-PERL = perl  # name of the perl interpreter (version 5.0 or higher)
X+PERL = $(PERL5)  # name of the perl interpreter (version 5.0 or higher)
X TMAKE = ../tmake/bin/tmake
X 
X # for BSD-make
X@@ -242,3 +242,5 @@
X 	       src Makefile Makefile.windows INSTALL make.bat
X 
X FORCE:
X+
X+all:
END-of-doxygen/patches/patch-aa
echo x - doxygen/patches/patch-ab
sed 's/^X//' >doxygen/patches/patch-ab << 'END-of-doxygen/patches/patch-ab'
X--- src/doxygen.pro.orig	Sun Mar 28 20:03:45 1999
X+++ src/doxygen.pro	Sun Mar 21 12:24:16 1999
X@@ -29,7 +29,8 @@
X 	        cppvalue.cpp ce_lex.cpp ce_parse.cpp pre.cpp \
X 		tag.cpp filename.cpp declinfo.cpp defargs.cpp define.cpp
X win32:INCLUDEPATH += .
X-#unix:INCLUDEPATH += /usr/include
X+unix:INCLUDEPATH += /usr/local/include /usr/local/qt/include /usr/X11R6/include/X11/qt/
X+unix:TMAKE_LIBS += -L/usr/local/lib -L/usr/local/qt/lib -L/usr/X11R6/lib
X #unix:TMAKE_CFLAGS = -ansi -pedantic -D_POSIX_SOURCE
X TARGET       =	../bin/doxygen
X OBJECTS_DIR  =  ../objects
END-of-doxygen/patches/patch-ab
echo x - doxygen/patches/patch-ac
sed 's/^X//' >doxygen/patches/patch-ac << 'END-of-doxygen/patches/patch-ac'
X--- src/doxytag.pro.orig	Sun Mar 28 20:04:26 1999
X+++ src/doxytag.pro	Sun Mar 21 12:24:45 1999
X@@ -19,5 +19,6 @@
X SOURCES      =	doxytag.cpp suffixtree.cpp searchindex.cpp images.cpp
X TARGET       =	../bin/doxytag
X win32:INCLUDEPATH += .
X-#unix:INCLUDEPATH += /usr/include
X+unix:INCLUDEPATH += /usr/local/include /usr/local/qt/include /usr/X11R6/include/X11/qt/
X+unix:TMAKE_LIBS += -L/usr/local/lib -L/usr/local/qt/lib -L/usr/X11R6/lib
X OBJECTS_DIR  =  ../objects
END-of-doxygen/patches/patch-ac
echo x - doxygen/patches/patch-ad
sed 's/^X//' >doxygen/patches/patch-ad << 'END-of-doxygen/patches/patch-ad'
X--- tmake/bin/tmake.orig	Sun Mar 28 20:16:14 1999
X+++ tmake/bin/tmake	Sat Mar 20 12:28:08 1999
X@@ -1,4 +1,4 @@
X-#!/usr/bin/perl
X+#!/usr/local/bin/perl
X ############################################################################
X # $Id: tmake,v 1.53 1998/11/12 17:24:11 hanord Exp $
X #
X@@ -207,7 +207,7 @@
X sub check_unix {
X     my($r);
X     $r = 0;
X-    if ( -f "/bin/uname" ) {
X+    if ( -f "/usr/bin/uname" ) {
X 	$r = 1;
X 	(-f "\\bin\\uname") && ($r = 0);
X     }
END-of-doxygen/patches/patch-ad
echo c - doxygen/files
mkdir -p doxygen/files > /dev/null 2>&1
echo x - doxygen/files/md5
sed 's/^X//' >doxygen/files/md5 << 'END-of-doxygen/files/md5'
XMD5 (doxygen-0.4.src.tar.gz) = 6cee71d1331ba6f3019e3ee184663a6f
END-of-doxygen/files/md5
echo c - doxygen/pkg
mkdir -p doxygen/pkg > /dev/null 2>&1
echo x - doxygen/pkg/COMMENT
sed 's/^X//' >doxygen/pkg/COMMENT << 'END-of-doxygen/pkg/COMMENT'
Xa documentation system for C and C++.
END-of-doxygen/pkg/COMMENT
echo x - doxygen/pkg/PLIST
sed 's/^X//' >doxygen/pkg/PLIST << 'END-of-doxygen/pkg/PLIST'
Xbin/doxygen
Xbin/doxytag
Xbin/doxysearch
END-of-doxygen/pkg/PLIST
echo x - doxygen/pkg/DESCR
sed 's/^X//' >doxygen/pkg/DESCR << 'END-of-doxygen/pkg/DESCR'
XDoxygen is a documentation system for C and C++. It can generate an on-line
Xclass browser (in HTML) and/or an off-line reference manual (in LaTeX) from a
Xset of documented source files. The documentation is extracted directly from
Xthe sources.
X
Xhttp://www.stack.nl/~dimitri/doxygen
X
XJoep Grooten
Xjoep@di.nl
END-of-doxygen/pkg/DESCR
exit
Comment 3 Steve Price freebsd_committer freebsd_triage 1999-06-10 01:27:45 UTC
State Changed
From-To: feedback->closed

New port committed, thanks!