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

5
textproc/xml2doc/DESCR Normal file
View File

@@ -0,0 +1,5 @@
xml2doc is an xml files processor tool, that allows you to write
documents in a simple XML way and then output then in various
formats (pdf,html,txt,manpage,...). In first term is intended to
be a lightweight version of DocBook, but smaller (20KB against
100MB), faster, easy to learn, and very flexible.

26
textproc/xml2doc/Makefile Normal file
View File

@@ -0,0 +1,26 @@
# $NetBSD: Makefile,v 1.20 2013/02/16 11:24:40 wiz Exp $
#
DISTNAME= xml2doc-20030510
PKGREVISION= 12
CATEGORIES= textproc
MASTER_SITES= http://xml2doc.sourceforge.net/src/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://xml2doc.sourceforge.net/
COMMENT= Xml to document formats converter
WRKSRC= ${WRKDIR}/xml2doc
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
USE_TOOLS+= gmake
CFLAGS+= -I${BUILDLINK_PREFIX.libxml2}/include/libxml2
CFLAGS+= -I${BUILDLINK_PREFIX.pdflib}/include
LDFLAGS+= -L${BUILDLINK_PREFIX.libxml2}/lib
LDFLAGS+= -L${BUILDLINK_PREFIX.pdflib}/lib
.include "../../print/pdflib/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

13
textproc/xml2doc/PLIST Normal file
View File

@@ -0,0 +1,13 @@
@comment $NetBSD: PLIST,v 1.3 2009/06/14 18:17:34 joerg Exp $
bin/xml2doc
share/doc/xml2doc/BUGS
share/doc/xml2doc/README
share/doc/xml2doc/TODO
share/doc/xml2doc/examples/align.xml
share/doc/xml2doc/examples/colors.xml
share/doc/xml2doc/examples/font.xml
share/doc/xml2doc/examples/images.xml
share/doc/xml2doc/examples/manpage.xml
share/doc/xml2doc/examples/sep.xml
share/doc/xml2doc/examples/list.xml
man/man1/xml2doc.1

View File

@@ -0,0 +1,8 @@
$NetBSD: distinfo,v 1.4 2010/07/07 00:29:32 joerg Exp $
SHA1 (xml2doc-20030510.tgz) = 2453ff5437c40974f8804fe5907e483792ae6d2a
RMD160 (xml2doc-20030510.tgz) = d2f7d13ace6dc0a68a3ca4aec993ca78b18930e6
Size (xml2doc-20030510.tgz) = 53307 bytes
SHA1 (patch-aa) = ca63abf9c7decaec9eb4dcf0afc448378f217060
SHA1 (patch-ab) = 880e18a8aada22160ae069986ef5f98e8fdea6a2
SHA1 (patch-ac) = 1b387078c52f17bc2a82a0b43bb3352dcba968fb

View File

@@ -0,0 +1,34 @@
$NetBSD: patch-aa,v 1.2 2010/07/07 00:29:32 joerg Exp $
--- doc/Makefile.in.orig 2003-05-10 14:44:26.000000000 +0000
+++ doc/Makefile.in
@@ -6,10 +6,8 @@ all:
build:
@printf "\e[32mBuilding documentation...\e[0m\n"
- export PATH=$(PATH):$(PWD)/src/ ;
- for A in *.xml; do xml2doc -oP $$A $$A.pdf ; done ;
- xml2doc -oM manpage.xml manpage.man ;
- gzip manpage.man ;
+ for A in *.xml; do ../src/xml2doc -oP $$A $$A.pdf ; done ;
+ ../src/xml2doc -oM manpage.xml manpage.man;
@printf "\e[32mDONE\e[0m\n"
mrproper: clean
@@ -20,11 +18,11 @@ clean:
install: build
@printf "\e[32mInstalling documentation...\e[0m\n"
- @mkdir -p $(PREFIX)/share/man/man1
- cp -f manpage.man.gz $(PREFIX)/share/man/man1/xml2doc.1.gz
- gzip -f $(PREFIX)/share/man/man1/xml2doc.1
- @mkdir -p $(PREFIX)/share/doc/xml2doc
- for A in $(DOCS); do cp -f $$A $(PREFIX)/share/doc/xml2doc/ ;done
+ @mkdir -p ${DESTDIR}$(PREFIX)/${PKGMANDIR}/man1
+ $(BSD_INSTALL_MAN) manpage.man ${DESTDIR}$(PREFIX)/${PKGMANDIR}/man1/xml2doc.1
+ @$(BSD_INSTALL_DATA_DIR) ${DESTDIR}$(PREFIX)/share/doc/xml2doc
+ for A in $(DOCS); do $(BSD_INSTALL_DATA) $$A \
+ ${DESTDIR}$(PREFIX)/share/doc/xml2doc/ ;done
remove:
@printf "\e[32mDeinstalling documentation...\e[0m\n"

View File

@@ -0,0 +1,32 @@
$NetBSD: patch-ab,v 1.2 2010/07/07 00:29:32 joerg Exp $
--- src/Makefile.in.orig 2003-05-03 01:37:38.000000000 +0000
+++ src/Makefile.in
@@ -11,13 +11,9 @@ PREFIX=@PREFIX@
CC=gcc
OBJ=main.o defs.o parse.o parse_include.o parse_info.o parse_img.o parse_t.o parse_page.o parse_default.o parse_bookmark.o parse_add.o parse_list.o parse_sep.o output_t.o output_doc.o output_img.o output_info.o output_page.o output_sep.o output_list.o parm.o
-IPATH=-I/usr/pkg/include/libxml2 -I/usr/include/libxml2 -I. -I/usr/pkg/include -I/usr/local/include
-LPATH=-L/usr/pkg/lib -L/usr/local/lib
-CFLAGS+=-Wall -c $(IPATH) $(I_PDF)\
- -DVERSION=\"$(VERSION)\" $(DEBUG)\
- -fno-asm -funroll-all-loops -fstrength-reduce -frerun-loop-opt \
- -x c -fshort-enums
-LFLAGS=-lxml2 $(L_PDF) $(LPATH)
+CFLAGS+=-c -I. $(I_PDF)\
+ -DVERSION=\"$(VERSION)\" $(DEBUG)
+LFLAGS=$(LDFLAGS) -lxml2 $(L_PDF) $(LPATH)
BIN=xml2doc
all:
@@ -25,8 +21,8 @@ all:
install: build
@printf "\e[32mInstalling binaries...\e[0m\n"
- mkdir -p $(PREFIX)/bin
- install -m 0755 ./$(BIN) $(PREFIX)/bin/$(BIN)
+ mkdir -p ${DESTDIR}$(PREFIX)/bin
+ install -m 0755 ./$(BIN) ${DESTDIR}$(PREFIX)/bin/$(BIN)
remove:
@printf "\e[32mDeinstalling binaries...\e[0m\n"

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-ac,v 1.1 2010/07/07 00:29:32 joerg Exp $
--- examples/Makefile.in.orig 2010-07-07 00:27:14.000000000 +0000
+++ examples/Makefile.in
@@ -15,8 +15,8 @@ clean:
install:
@printf "\e[32mInstalling examples...\e[0m\n"
- mkdir -p $(PREFIX)/share/doc/xml2doc/examples
- cp -f *.xml $(PREFIX)/share/doc/xml2doc/examples
+ mkdir -p ${DESTDIR}$(PREFIX)/share/doc/xml2doc/examples
+ cp -f *.xml ${DESTDIR}$(PREFIX)/share/doc/xml2doc/examples
remove:
@printf "\e[32mDeinstalling examples...\e[0m\n"