diff options
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/pdftohtml/Makefile | 25 | ||||
-rw-r--r-- | textproc/pdftohtml/distinfo | 1 | ||||
-rw-r--r-- | textproc/pdftohtml/files/patch-goo::Makefile | 16 | ||||
-rw-r--r-- | textproc/pdftohtml/files/patch-xpdf::Makefile | 17 | ||||
-rw-r--r-- | textproc/pdftohtml/pkg-comment | 1 | ||||
-rw-r--r-- | textproc/pdftohtml/pkg-descr | 6 | ||||
-rw-r--r-- | textproc/pdftohtml/pkg-plist | 2 |
8 files changed, 69 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 4142aaf667b..b6076054303 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -138,6 +138,7 @@ SUBDIR += p5-libxml SUBDIR += par SUBDIR += pardiff + SUBDIR += pdftohtml SUBDIR += perl2html SUBDIR += pspell SUBDIR += pspell-ispell diff --git a/textproc/pdftohtml/Makefile b/textproc/pdftohtml/Makefile new file mode 100644 index 00000000000..b446b28d7a5 --- /dev/null +++ b/textproc/pdftohtml/Makefile @@ -0,0 +1,25 @@ +# ex:ts=8 +# New ports collection makefile for: pdftohtml +# Date created: 1 Jun 2001 +# Whom: Soeren Boll Overgaard <boll@tolkien.dk> +# +# $FreeBSD$ +# + +PORTNAME= pdftohtml +PORTVERSION= 0.31 +CATEGORIES= textproc +MASTER_SITES= http://www.ra.informatik.uni-stuttgart.de/~gosho/pdftohtml/Download/ \ + http://ports.tolkien.dk/pdftohtml/ +DISTNAME= ${PORTNAME}_${PORTVERSION:S/./_/}_test + +MAINTAINER= boll@tolkien.dk + +ONLY_FOR_ARCHS= i386 +WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION:S/./_/} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/pdftohtml.bin ${PREFIX}/bin/pdftohtml + ${INSTALL_PROGRAM} ${WRKSRC}/pdftops.bin ${PREFIX}/bin/pdftops + +.include <bsd.port.mk> diff --git a/textproc/pdftohtml/distinfo b/textproc/pdftohtml/distinfo new file mode 100644 index 00000000000..c3ecbc2d017 --- /dev/null +++ b/textproc/pdftohtml/distinfo @@ -0,0 +1 @@ +MD5 (pdftohtml_0_31_test.tar.gz) = 04debc9f08233cb501f7b2e417a25397 diff --git a/textproc/pdftohtml/files/patch-goo::Makefile b/textproc/pdftohtml/files/patch-goo::Makefile new file mode 100644 index 00000000000..ae9d62c4564 --- /dev/null +++ b/textproc/pdftohtml/files/patch-goo::Makefile @@ -0,0 +1,16 @@ +--- goo/Makefile.orig Mon Aug 6 20:03:55 2001 ++++ goo/Makefile Mon Aug 6 20:04:26 2001 +@@ -2,11 +2,9 @@ + + srcdir = . + +-CFLAGS = -g -O2 -DHAVE_DIRENT_H=1 -DHAVE_REWINDDIR=1 -DHAVE_POPEN=1 -I$(srcdir) +-CXXFLAGS = -g -O2 -DHAVE_DIRENT_H=1 -DHAVE_REWINDDIR=1 -DHAVE_POPEN=1 -I$(srcdir) ++CFLAGS += -DHAVE_DIRENT_H=1 -DHAVE_REWINDDIR=1 -DHAVE_POPEN=1 -I$(srcdir) ++CXXFLAGS += -DHAVE_DIRENT_H=1 -DHAVE_REWINDDIR=1 -DHAVE_POPEN=1 -I$(srcdir) + +-CC = gcc +-CXX = c++ + AR = ar rc + RANLIB = ranlib + diff --git a/textproc/pdftohtml/files/patch-xpdf::Makefile b/textproc/pdftohtml/files/patch-xpdf::Makefile new file mode 100644 index 00000000000..0695d64bb77 --- /dev/null +++ b/textproc/pdftohtml/files/patch-xpdf::Makefile @@ -0,0 +1,17 @@ +--- xpdf/Makefile.orig Mon Aug 6 20:04:59 2001 ++++ xpdf/Makefile Mon Aug 6 20:05:29 2001 +@@ -8,13 +8,11 @@ + GOOLIBDIR = ../goo + + +-CXXFLAGS = -g -DHAVE_DIRENT_H=1 -DHAVE_REWINDDIR=1 -DHAVE_POPEN=1 -I$(GOOSRCDIR) -I$(srcdir) ++CXXFLAGS += -DHAVE_DIRENT_H=1 -DHAVE_REWINDDIR=1 -DHAVE_POPEN=1 -I$(GOOSRCDIR) -I$(srcdir) + + LDFLAGS = + + OTHERLIBS = +- +-CXX = c++ + + LIBPREFIX = lib + EXE = diff --git a/textproc/pdftohtml/pkg-comment b/textproc/pdftohtml/pkg-comment new file mode 100644 index 00000000000..d785ba61adf --- /dev/null +++ b/textproc/pdftohtml/pkg-comment @@ -0,0 +1 @@ +A command-line tool for converting pdf-files into html diff --git a/textproc/pdftohtml/pkg-descr b/textproc/pdftohtml/pkg-descr new file mode 100644 index 00000000000..45c1165c835 --- /dev/null +++ b/textproc/pdftohtml/pkg-descr @@ -0,0 +1,6 @@ +This is a port of pdftohtml, which converts pdf-files into nicely formatted +html, combined with png-images. +The HTML generated uses frames to emulate the contentlisting from the pdf. + +WWW: http://www.ra.informatik.uni-stuttgart.de/~gosho/pdftohtml/ +Author: Gueorgui Ovtcharov <pdftohtml@ralf.informatik.uni-stuttgart.de> diff --git a/textproc/pdftohtml/pkg-plist b/textproc/pdftohtml/pkg-plist new file mode 100644 index 00000000000..16bd196cde4 --- /dev/null +++ b/textproc/pdftohtml/pkg-plist @@ -0,0 +1,2 @@ +bin/pdftohtml +bin/pdftops |