diff options
author | ijliao <ijliao@FreeBSD.org> | 2001-08-06 20:15:55 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2001-08-06 20:15:55 +0800 |
commit | 6a88b251edc6092c7d2ebe3c87f108fdd332777f (patch) | |
tree | ac91e2b635a3ae8ff717282fca6cfaec38db1622 /textproc/pdftohtml | |
parent | ded8e8fe47357d4520457e2549cb7998d9267177 (diff) | |
download | freebsd-ports-gnome-6a88b251edc6092c7d2ebe3c87f108fdd332777f.tar.gz freebsd-ports-gnome-6a88b251edc6092c7d2ebe3c87f108fdd332777f.tar.zst freebsd-ports-gnome-6a88b251edc6092c7d2ebe3c87f108fdd332777f.zip |
add pdftohtml
A command-line tool for converting pdf-files into html
PR: 27824
Submitted by: Soeren Boll Overgaard <boll@tolkien.dk>
Diffstat (limited to 'textproc/pdftohtml')
-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 |
7 files changed, 68 insertions, 0 deletions
diff --git a/textproc/pdftohtml/Makefile b/textproc/pdftohtml/Makefile new file mode 100644 index 000000000000..b446b28d7a51 --- /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 000000000000..c3ecbc2d017f --- /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 000000000000..ae9d62c45642 --- /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 000000000000..0695d64bb775 --- /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 000000000000..d785ba61adf1 --- /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 000000000000..45c1165c835e --- /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 000000000000..16bd196cde4b --- /dev/null +++ b/textproc/pdftohtml/pkg-plist @@ -0,0 +1,2 @@ +bin/pdftohtml +bin/pdftops |