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

13
textproc/catdoc/DESCR Normal file
View File

@@ -0,0 +1,13 @@
catdoc behaves much like cat(1) but reads MS-Word file and produces
human-readable text on standard output. Optionally it can use
latex(1) escape sequences for characters which have special meaning
for LaTeX. It also makes some effort to recognize MS-Word tables,
although it never tries to write correct headers for LaTeX tabular
environment.
This package also includes catppt and xls2csv. The catppt utility
reads MS-PowerPoint presentations and outputs its content to stdout.
The xls2csv utility reads MS-Excel spreadsheets and outputs its
content as comma-separated values to stdout. Numbers are printed
without delimiters and strings are enclosed in the double quotes.
Double-quotes inside string are doubled.

11
textproc/catdoc/Makefile Normal file
View File

@@ -0,0 +1,11 @@
# $NetBSD: Makefile,v 1.31 2013/06/16 09:08:52 ryoon Exp $
#
.include "Makefile.common"
CONFIGURE_ARGS+= --disable-wordview
CONFIGURE_ENV+= enable_wordview=no
CONFIGURE_ENV+= man1dir=${PREFIX}/${PKGMANDIR}/man1
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"

View File

@@ -0,0 +1,25 @@
# $NetBSD: Makefile.common,v 1.18 2013/06/16 09:10:23 ryoon Exp $
#
DISTNAME= catdoc_0.94.4.orig
PKGNAME= ${DISTNAME:S/_/-/:S/.orig//}
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/main/c/catdoc/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://alioth.debian.org/projects/catdoc/
COMMENT= Converts MS Word, Excel and Powerpoint files to plain text
LICENSE= gnu-gpl-v2
DISTINFO_FILE= ${.CURDIR}/../../textproc/catdoc/distinfo
PATCHDIR= ${.CURDIR}/../../textproc/catdoc/patches
WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/:S/.orig//}
USE_FEATURES= glob
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --libdir=${PREFIX}/share
CONFIGURE_ARGS+= --with-install-root=${DESTDIR}
CPPFLAGS+= -Dunix -D__unix

66
textproc/catdoc/PLIST Normal file
View File

@@ -0,0 +1,66 @@
@comment $NetBSD: PLIST,v 1.5 2013/06/16 09:08:52 ryoon Exp $
bin/catdoc
bin/catppt
bin/xls2csv
man/man1/catdoc.1
man/man1/catppt.1
man/man1/xls2csv.1
share/applications/wordview.desktop
share/catdoc/8859-1.txt
share/catdoc/8859-10.txt
share/catdoc/8859-11.txt
share/catdoc/8859-13.txt
share/catdoc/8859-14.txt
share/catdoc/8859-15.txt
share/catdoc/8859-2.txt
share/catdoc/8859-3.txt
share/catdoc/8859-4.txt
share/catdoc/8859-5.txt
share/catdoc/8859-6.txt
share/catdoc/8859-7.txt
share/catdoc/8859-8.txt
share/catdoc/8859-9.txt
share/catdoc/ascii.replchars
share/catdoc/ascii.specchars
share/catdoc/big5.txt
share/catdoc/cns11643.txt
share/catdoc/cp1250.txt
share/catdoc/cp1251.txt
share/catdoc/cp1252.txt
share/catdoc/cp1253.txt
share/catdoc/cp1254.txt
share/catdoc/cp1255.txt
share/catdoc/cp1256.txt
share/catdoc/cp1257.txt
share/catdoc/cp1258.txt
share/catdoc/cp437.txt
share/catdoc/cp850.txt
share/catdoc/cp852.txt
share/catdoc/cp855.txt
share/catdoc/cp857.txt
share/catdoc/cp860.txt
share/catdoc/cp861.txt
share/catdoc/cp862.txt
share/catdoc/cp863.txt
share/catdoc/cp864.txt
share/catdoc/cp865.txt
share/catdoc/cp866.txt
share/catdoc/cp869.txt
share/catdoc/cp874.txt
share/catdoc/hangul.txt
share/catdoc/jis0201.txt
share/catdoc/jis0208.txt
share/catdoc/jis0212.txt
share/catdoc/koi8-r.txt
share/catdoc/koi8-u.txt
share/catdoc/mac-arabic.txt
share/catdoc/mac-centeuro.txt
share/catdoc/mac-cyrillic.txt
share/catdoc/mac-greek.txt
share/catdoc/mac-hebrew.txt
share/catdoc/mac-roman.txt
share/catdoc/shiftjis.txt
share/catdoc/tex.replchars
share/catdoc/tex.specchars
share/catdoc/us-ascii.txt
share/pixmaps/wordview.xpm

9
textproc/catdoc/distinfo Normal file
View File

@@ -0,0 +1,9 @@
$NetBSD: distinfo,v 1.10 2013/06/16 09:08:52 ryoon Exp $
SHA1 (catdoc_0.94.4.orig.tar.gz) = 26c9addb221543288c013ecadf4f6fb0c9eca13e
RMD160 (catdoc_0.94.4.orig.tar.gz) = 719c1030fa9506c2402a6e2dcd1335ae7594e1a9
Size (catdoc_0.94.4.orig.tar.gz) = 679156 bytes
SHA1 (patch-Makefile.in) = 68860b5f8f48471bfddc66803ac027d56d8ae78a
SHA1 (patch-ac) = 054c786d0b047302b89f5f8e2847481a115a40f8
SHA1 (patch-desktop_Makefile.in) = da1d4903d0b236af684f97f72b8d6f16b7c925a3
SHA1 (patch-doc_Makefile.in) = dfe11be92aa209e2d282719678eeb63928088747

View File

@@ -0,0 +1,18 @@
$NetBSD: patch-Makefile.in,v 1.1 2013/06/16 09:08:52 ryoon Exp $
* Install mn pages in doc directory.
--- Makefile.in.orig 2012-12-03 17:59:19.000000000 +0000
+++ Makefile.in
@@ -9,9 +9,10 @@ all:
done
install:
- for i in src doc charsets desktop; do\
+ for i in src charsets desktop; do\
(cd $$i; $(MAKE) install);\
done
+ cd doc && ${MAKE} install-catdoc
clean:
for i in src doc charsets desktop; do\
(cd $$i; $(MAKE) clean);\

View File

@@ -0,0 +1,20 @@
$NetBSD: patch-ac,v 1.7 2013/06/16 09:08:52 ryoon Exp $
--- src/Makefile.in.orig 2012-12-03 17:59:19.000000000 +0000
+++ src/Makefile.in
@@ -74,12 +74,12 @@ OBJPPT=catppt.o pptparse.o $(COMMONOBJ)
# $(CC) -c $(CFLAGS) $*
all: @buildtargets@
catdoc: $(OBJ)
- $(CC) -o catdoc $(OBJ)
+ $(CC) -o catdoc $(OBJ) ${LIBS}
xls2csv: $(OBJXLS)
- $(CC) -o xls2csv $(OBJXLS) -lm
+ $(CC) -o xls2csv $(OBJXLS) -lm ${LIBS}
catppt: $(OBJPPT)
- $(CC) -o catppt $(OBJPPT) -lm
+ $(CC) -o catppt $(OBJPPT) -lm ${LIBS}
install: @installtargets@
install-catdoc:catdoc xls2csv catppt

View File

@@ -0,0 +1,22 @@
$NetBSD: patch-desktop_Makefile.in,v 1.1 2013/06/16 09:08:52 ryoon Exp $
* Create target directory with standard way.
* DESTDIR support.
--- desktop/Makefile.in.orig 2012-12-03 17:59:19.000000000 +0000
+++ desktop/Makefile.in
@@ -20,10 +20,10 @@ all:
clean:
install: all
- ../mkinstalldirs $(prefix)$(desktopdir)
- ../mkinstalldirs $(prefix)$(iconsdir)
- $(INSTALL) -m 644 wordview.desktop $(prefix)$(desktopdir)/wordview.desktop
- $(INSTALL) -m 644 wordview.xpm $(prefix)$(iconsdir)/wordview.xpm
+ ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(prefix)$(desktopdir)
+ ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(prefix)$(iconsdir)
+ ${BSD_INSTALL_DATA} wordview.desktop ${DESTDIR}$(prefix)$(desktopdir)/wordview.desktop
+ ${BSD_INSTALL_DATA} wordview.xpm ${DESTDIR}$(prefix)$(iconsdir)/wordview.xpm
distclean: clean
rm Makefile

View File

@@ -0,0 +1,29 @@
$NetBSD: patch-doc_Makefile.in,v 1.1 2013/06/16 09:08:52 ryoon Exp $
* Enable man page installation.
--- doc/Makefile.in.orig 2012-12-03 17:59:19.000000000 +0000
+++ doc/Makefile.in
@@ -24,14 +24,14 @@ dosdoc: catdoc.txt catdoc.ps xls2csv.txt
clean:
rm build
#install: @installtargets@
-#install-catdoc: catdoc.1 xls2csv.1 catppt.1
-# ../mkinstalldirs $(installroot)$(mandir)
-# $(INSTALL) -m 644 catdoc.1 $(installroot)$(mandir)/catdoc$(manext)
-# $(INSTALL) -m 644 xls2csv.1 $(installroot)$(mandir)/xls2csv$(manext)
-# $(INSTALL) -m 644 catppt.1 $(installroot)$(mandir)/catppt$(manext)
-#install-wordview:
-# ../mkinstalldirs $(installroot)$(mandir)
-# $(INSTALL) -m 644 wordview.1 $(installroot)$(mandir)/wordview$(manext)
+install-catdoc: catdoc.1 xls2csv.1 catppt.1
+ ${BSD_INSTALL_MAN_DIR} $(installroot)$(mandir)
+ ${BSD_INSTALL_MAN} catdoc.1 $(installroot)$(mandir)/catdoc$(manext)
+ ${BSD_INSTALL_MAN} xls2csv.1 $(installroot)$(mandir)/xls2csv$(manext)
+ ${BSD_INSTALL_MAN} catppt.1 $(installroot)$(mandir)/catppt$(manext)
+install-wordview:
+ ${BSD_INSTALL_MAN_DIR} $(installroot)$(mandir)
+ ${BSD_INSTALL_MAN} wordview.1 $(installroot)$(mandir)/wordview$(manext)
# Following rules are primarily for developers use. I doubt that you
# need to rebuild these versions of documentation
distclean: catppt.txt catppt.ps catdoc.1 catdoc.txt catdoc.ps xls2csv.1 xls2csv.txt xls2csv.ps