Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
Doxygen is a documentation system for C++, Java, IDL (Corba, Microsoft and
KDE-DCOP flavors) and C.
It can help you in three ways:
1. It can generate an on-line documentation browser (in HTML) and/or an
off-line reference manual (in LaTeX) from a set of documented source
files. There is also support for generating output in RTF (MS-Word),
PostScript, hyperlinked PDF, compressed HTML, and Unix man pages. The
documentation is extracted directly from the sources, which makes it
much easier to keep the documentation consistent with the source code.
2. Doxygen can be configured to extract the code structure from
undocumented source files. This can be very useful to quickly find your
way in large source distributions. The relations between the various
elements are be visualized by means of include dependency graphs,
inheritance diagrams, and collaboration diagrams, which are all
generated automatically.
3. You can even `abuse' doxygen for creating normal documentation
+85
View File
@@ -0,0 +1,85 @@
# $NetBSD: Makefile,v 1.102 2013/06/04 22:15:51 tron Exp $
DISTNAME= doxygen-1.8.4.src
PKGNAME= ${DISTNAME:S/.src//}
PKGREVISION= 3
CATEGORIES= devel
MASTER_SITES= ftp://ftp.stack.nl/pub/users/dimitri/ \
http://ftp.stack.nl/pub/users/dimitri/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.doxygen.org/
COMMENT= Documentation system for C++, Java, IDL and C
LICENSE= gnu-gpl-v2
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
UNLIMIT_RESOURCES+= datasize
USE_TOOLS+= gmake gs:run perl:run bison flex
USE_LANGUAGES= c c++
HAS_CONFIGURE= yes
CONFIGURE_ARGS+= --make ${GMAKE}
CONFIGURE_ARGS+= --perl ${PERL5}
CONFIGURE_ARGS+= --install ${INSTALL}
CONFIGURE_ARGS+= --dot ${PREFIX}/bin/dot
CONFIGURE_ARGS+= --prefix ${PREFIX}
CONFIGURE_ARGS+= --docdir ${PREFIX}/share/doc/doxygen
MAKE_ENV+= PKGSRC_CFLAGS=${CFLAGS:Q}
MAKE_FLAGS+= MAN1DIR=${PKGMANDIR}/man1
# Case Insensitive fs or Sensitive
PLIST_VARS+= ci cs
# pangocairo: basic ps/pdf support via PKG_BUILD_OPTIONS.graphviz
PLIST_VARS+= pangocairo nopangocairo
SUBST_CLASSES+= path
SUBST_STAGE.path= pre-configure
SUBST_FILES.path= doc/Makefile.in
SUBST_SED.path= -e "s|@EPSTOPDF@|${LOCALBASE}/bin/epstopdf|g"
SUBST_SED.path+= -e "s|@PYTHONBIN@|${PYTHONBIN}|g"
SUBST_CLASSES+= perlbin
SUBST_STAGE.perlbin= pre-configure
SUBST_MESSAGE.perlbin= Fixing hardcoded path to the Perl interpreter
SUBST_FILES.perlbin= examples/tag.cfg
SUBST_SED.perlbin= -e 's,^PERL_PATH.*,PERL_PATH = ${PERL5},'
SUBST_CLASSES+= epstopdf
SUBST_STAGE.epstopdf= pre-configure
SUBST_MESSAGE.epstopdf= Fixing path to epstopdf
SUBST_FILES.epstopdf= src/diagram.cpp src/docparser.cpp src/dot.cpp \
src/msc.cpp
SUBST_SED.epstopdf= -e 's,"epstopdf","${LOCALBASE}/bin/epstopdf",g'
# Just install the binary and the man page. (If the latex option
# is enabled, this target will be augmented.)
INSTALL_TARGET= install
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Darwin"
PLIST.ci= yes # case-insensitive
.else
PLIST.cs= yes # case-sensitive
.endif
.if ${OPSYS} == "DragonFly"
CONFIGURE_ARGS+= -platform freebsd-g++
.endif
post-patch:
touch ${WRKSRC}/src/doxytag.l
BUILDLINK_API_DEPENDS.graphviz+= graphviz>=2.12nb1
.include "options.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../graphics/graphviz/buildlink3.mk"
.if !empty(PKG_BUILD_OPTIONS.graphviz:Mpangocairo)
PLIST.pangocairo= yes
.else
PLIST.nopangocairo= yes
.endif
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"
+1515
View File
File diff suppressed because it is too large Load Diff
+12
View File
@@ -0,0 +1,12 @@
$NetBSD: distinfo,v 1.49.2.1 2013/08/21 12:51:24 tron Exp $
SHA1 (doxygen-1.8.4.src.tar.gz) = a363811b932e44d479addbadffcc8257cde60b44
RMD160 (doxygen-1.8.4.src.tar.gz) = 7087480667cb138c739fae54ca21f77e2099f4eb
Size (doxygen-1.8.4.src.tar.gz) = 6456090 bytes
SHA1 (patch-aa) = 74aa6e068c150d2e40c5a73723afd24d510f4538
SHA1 (patch-ab) = 1bd196c38786bb6b0b1817bb9575924ca234aee3
SHA1 (patch-ac) = 87c68a2ce598c10d90d775764f4c05739eb51435
SHA1 (patch-af) = 0942cc0fdcb49e74ce018d7e790dba36b21b4d08
SHA1 (patch-ah) = db6f117bf1faa3a1ed0b2ca9af81fc4f8d0913f9
SHA1 (patch-aj) = 1f4822364eb9aeb82084d30b0bc75af504da63f1
SHA1 (patch-tmake_lib_macosx-c++_tmake.conf) = f6f7414bf8e1c26264211c72991d8dc4222cc738
+50
View File
@@ -0,0 +1,50 @@
# $NetBSD: options.mk,v 1.7 2012/08/29 00:33:56 dsainty Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.doxygen
PKG_SUPPORTED_OPTIONS= latex
PKG_SUGGESTED_OPTIONS= latex
.include "../../mk/bsd.options.mk"
PLIST_VARS+= latex
.if !empty(PKG_OPTIONS:Mlatex)
PLIST.latex= yes
INSTALL_TARGET+= install_docs
# XXX Clearly separate what is build time vs runtime, and move
# build-time dependencies into USE_TOOLS framework.
BUILD_DEPENDS+= tex-epsf-[0-9]*:../../print/tex-epsf
DEPENDS+= dvipsk-[0-9]*:../../print/dvipsk
DEPENDS+= makeindexk-[0-9]*:../../textproc/makeindexk
DEPENDS+= tex-a4wide>=2010nb1:../../print/tex-a4wide
DEPENDS+= tex-ec-[0-9]*:../../fonts/tex-ec
DEPENDS+= tex-epstopdf-[0-9]*:../../graphics/tex-epstopdf
DEPENDS+= tex-latex-bin-[0-9]*:../../print/tex-latex-bin
DEPENDS+= tex-rsfs-[0-9]*:../../fonts/tex-rsfs
#
# Styles used by Doxygen output.
#
DEPENDS+= tex-colortbl-[0-9]*:../../print/tex-colortbl
DEPENDS+= tex-fancyhdr-[0-9]*:../../print/tex-fancyhdr
DEPENDS+= tex-float-[0-9]*:../../print/tex-float
DEPENDS+= tex-geometry-[0-9]*:../../print/tex-geometry
DEPENDS+= tex-graphics-[0-9]*:../../print/tex-graphics
DEPENDS+= tex-hyperref-[0-9]*:../../print/tex-hyperref
DEPENDS+= tex-latex-[0-9]*:../../print/tex-latex
DEPENDS+= tex-listings-[0-9]*:../../print/tex-listings
DEPENDS+= tex-multirow-[0-9]*:../../print/tex-multirow
DEPENDS+= tex-natbib-[0-9]*:../../print/tex-natbib
DEPENDS+= tex-oberdiek-[0-9]*:../../print/tex-oberdiek
DEPENDS+= tex-psnfss>=9.2anb2:../../fonts/tex-psnfss
DEPENDS+= tex-pspicture-[0-9]*:../../print/tex-pspicture
DEPENDS+= tex-sectsty-[0-9]*:../../print/tex-sectsty
DEPENDS+= tex-tocloft-[0-9]*:../../print/tex-tocloft
DEPENDS+= tex-tools-[0-9]*:../../print/tex-tools
DEPENDS+= tex-xcolor-[0-9]*:../../print/tex-xcolor
DEPENDS+= tex-xtab-[0-9]*:../../print/tex-xtab
.endif
+13
View File
@@ -0,0 +1,13 @@
$NetBSD: patch-aa,v 1.3 2008/11/11 00:44:12 wiz Exp $
--- tmake/lib/netbsd-g++/tmake.conf.orig 2006-07-21 19:54:13.000000000 +0000
+++ tmake/lib/netbsd-g++/tmake.conf
@@ -11,7 +11,7 @@ TMAKE_CC = gcc
TMAKE_CFLAGS =
TMAKE_CFLAGS_WARN_ON = -Wall -W
TMAKE_CFLAGS_WARN_OFF =
-TMAKE_CFLAGS_RELEASE = -O2
+TMAKE_CFLAGS_RELEASE = ${PKGSRC_CFLAGS}
TMAKE_CFLAGS_DEBUG = -g
TMAKE_CFLAGS_SHLIB = -fPIC
TMAKE_CFLAGS_YACC = -Wno-unused -Wno-parentheses
+32
View File
@@ -0,0 +1,32 @@
$NetBSD: patch-ab,v 1.13 2013/01/06 01:00:59 wiz Exp $
Convert $(INSTTOOL) to pkgsrc style Variables
--- Makefile.in.orig 2012-12-25 12:17:27.000000000 +0000
+++ Makefile.in
@@ -56,19 +56,19 @@ DATE=$(shell date "+%B %Y")
MAN1DIR = man/man1
install: doxywizard_install doxysearch_install
- $(INSTTOOL) -d $(DESTDIR)/$(INSTALL)/bin
- $(INSTTOOL) -m 755 bin/doxygen $(DESTDIR)/$(INSTALL)/bin
- $(INSTTOOL) -d $(DESTDIR)/$(INSTALL)/$(MAN1DIR)
+ $(BSD_INSTALL_PROGRAM_DIR) $(DESTDIR)/$(INSTALL)/bin
+ $(BSD_INSTALL_PROGRAM) bin/doxygen $(DESTDIR)/$(INSTALL)/bin
+ $(BSD_INSTALL_MAN_DIR) $(DESTDIR)/$(INSTALL)/$(MAN1DIR)
cat doc/doxygen.1 | sed -e "s/DATE/$(DATE)/g" -e "s/VERSION/$(VERSION)/g" > doxygen.1
- $(INSTTOOL) -m 644 doxygen.1 $(DESTDIR)/$(INSTALL)/$(MAN1DIR)/doxygen.1
+ $(BSD_INSTALL_MAN) doxygen.1 $(DESTDIR)/$(INSTALL)/$(MAN1DIR)/doxygen.1
rm doxygen.1
install_docs:
- $(INSTTOOL) -d $(DESTDIR)/$(DOCDIR)
+ $(BSD_INSTALL_DATA_DIR) $(DESTDIR)/$(DOCDIR)
$(MAKE) -C examples
$(MAKE) -C doc
$(MAKE) -C latex
- $(INSTTOOL) -m 644 latex/doxygen_manual.pdf $(DESTDIR)/$(DOCDIR)
+ $(BSD_INSTALL_DATA) latex/doxygen_manual.pdf $(DESTDIR)/$(DOCDIR)
cp -r examples $(DESTDIR)/$(DOCDIR)
cp -r html $(DESTDIR)/$(DOCDIR)
+15
View File
@@ -0,0 +1,15 @@
$NetBSD: patch-ac,v 1.9 2012/07/03 11:31:35 mef Exp $
Add DragonFly
--- qtools/qglobal.h.orig 2009-10-25 15:44:29.000000000 +0000
+++ qtools/qglobal.h
@@ -118,7 +121,7 @@
#define _OS_RELIANTUNIX_
#elif defined(linux) || defined(__linux) || defined(__linux__) || defined(__GNU__) || defined(__GLIBC__)
#define _OS_LINUX_
-#elif defined(__FreeBSD__)
+#elif defined(__FreeBSD__) || defined(__DragonFly__)
#define _OS_FREEBSD_
#elif defined(__NetBSD__)
#define _OS_NETBSD_
+21
View File
@@ -0,0 +1,21 @@
$NetBSD: patch-af,v 1.4 2009/09/27 01:30:38 minskim Exp $
--- doc/Makefile.in.orig 2008-12-06 13:16:23.000000000 +0000
+++ doc/Makefile.in
@@ -23,7 +23,7 @@ all: language FORCE
@cp Makefile.latex ../latex/Makefile
@sed -e "s/\$$VERSION/$(VERSION)/g" doxygen_manual.tex >../latex/doxygen_manual.tex
@sed -e "s/\$$VERSION/$(VERSION)/g" doxygen.sty >../latex/doxygen.sty
- @epstopdf doxygen_logo.eps --outfile=../latex/doxygen_logo.pdf
+ @@EPSTOPDF@ doxygen_logo.eps --outfile=../latex/doxygen_logo.pdf
clean:
rm -rf ../html ../latex *.bak
@@ -31,6 +31,6 @@ clean:
language: language.doc
language.doc: $(wildcard ../src/translator*.h) maintainers.txt language.tpl translator.py
- python translator.py
+ @PYTHONBIN@ translator.py
FORCE:
+15
View File
@@ -0,0 +1,15 @@
$NetBSD: patch-ah,v 1.4 2012/07/03 11:31:35 mef Exp $
--- src/dirdef.cpp.orig 2012-05-28 23:17:06.000000000 +0900
+++ src/dirdef.cpp 2012-06-23 11:52:57.000000000 +0900
@@ -108,7 +108,8 @@
{
//printf("DirDef::getOutputFileBase() %s->dir_%s\n",
// m_diskName.data(),encodeDirName(m_diskName).data());
- return "dir_"+encodeDirName(m_diskName);
+ //return "dir_"+encodeDirName(name());
+ return QCString().sprintf("dir_%06d",m_dirCount);
}
void DirDef::writeDetailedDescription(OutputList &ol,const QCString &title)
+14
View File
@@ -0,0 +1,14 @@
$NetBSD: patch-aj,v 1.3 2013/05/21 14:43:05 wiz Exp $
make build honor LDFLAGS
--- src/doxygen.pro.in.orig 2013-03-24 14:12:01.000000000 +0000
+++ src/doxygen.pro.in
@@ -19,6 +19,7 @@ CONFIG = console warn_on $extraopt
HEADERS = doxygen.h
SOURCES = main.cpp
unix:LIBS += -L../lib -ldoxygen -ldoxycfg -lqtools -lmd5 -lpthread %%SQLITE3_LIBS%% %%LIBCLANG_LIBS%%
+unix:TMAKE_LFLAGS += $(LDFLAGS)
win32:INCLUDEPATH += .
win32-mingw:LIBS += -L../lib -ldoxygen -ldoxycfg -lqtools -lmd5 -lpthread %%SQLITE3_LIBS%% %%LIBCLANG_LIBS%%
win32-msvc:LIBS += qtools.lib md5.lib doxygen.lib doxycfg.lib shell32.lib iconv.lib
@@ -0,0 +1,14 @@
$NetBSD: patch-tmake_lib_macosx-c++_tmake.conf,v 1.1.2.2 2013/08/21 12:51:24 tron Exp $
Drop an option that is unsupported by the default compiler in Mac OS 10.8.
--- tmake/lib/macosx-c++/tmake.conf.orig 2013-08-20 17:30:43.000000000 +0000
+++ tmake/lib/macosx-c++/tmake.conf
@@ -9,7 +9,7 @@ CONFIG = qt warn_on release
TMAKE_CC = cc
TMAKE_CFLAGS = -pipe
-TMAKE_CFLAGS_WARN_ON = -Wall -W -Wno-deprecated-declarations -Wno-invalid-source-encoding
+TMAKE_CFLAGS_WARN_ON = -Wall -W -Wno-deprecated-declarations
TMAKE_CFLAGS_WARN_OFF =
TMAKE_CFLAGS_RELEASE = -O2
TMAKE_CFLAGS_DEBUG = -g -fstack-protector