aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/pdftohtml
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2002-06-18 16:15:26 +0800
committerpat <pat@FreeBSD.org>2002-06-18 16:15:26 +0800
commite363f03cd0cfc47c864f9132943127e07123b7d5 (patch)
tree24a1c43b1d393832853d2c710be703d5c64e8eed /textproc/pdftohtml
parent969c6d9863fd5795bc9ebebcf1dc8e83ad0178d9 (diff)
downloadfreebsd-ports-gnome-e363f03cd0cfc47c864f9132943127e07123b7d5.tar.gz
freebsd-ports-gnome-e363f03cd0cfc47c864f9132943127e07123b7d5.tar.zst
freebsd-ports-gnome-e363f03cd0cfc47c864f9132943127e07123b7d5.zip
Update to 0.34
PR: 39456 Submitted by: maintainer
Diffstat (limited to 'textproc/pdftohtml')
-rw-r--r--textproc/pdftohtml/Makefile12
-rw-r--r--textproc/pdftohtml/distinfo2
-rw-r--r--textproc/pdftohtml/files/patch-goo::Makefile18
-rw-r--r--textproc/pdftohtml/files/patch-src::Makefile18
-rw-r--r--textproc/pdftohtml/files/patch-xpdf::Makefile22
5 files changed, 10 insertions, 62 deletions
diff --git a/textproc/pdftohtml/Makefile b/textproc/pdftohtml/Makefile
index f4b7aeedf1e4..0d572376870a 100644
--- a/textproc/pdftohtml/Makefile
+++ b/textproc/pdftohtml/Makefile
@@ -7,10 +7,9 @@
#
PORTNAME= pdftohtml
-PORTVERSION= 0.33a
+PORTVERSION= 0.34
CATEGORIES= textproc
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
- http://ports.tolkien.dk/pdftohtml/
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}_${PORTVERSION:S/./_/}
@@ -19,6 +18,13 @@ MAINTAINER= erwin@lansing.dk
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_GMAKE= yes
+pre-patch:
+.for file in goo/Makefile xpdf/Makefile
+ @${MV} ${WRKSRC}/${file} ${WRKSRC}/${file}.orig
+ @${SED} -e "s|-O2||; s|-g||" ${WRKSRC}/${file}.orig \
+ > ${WRKSRC}/${file}
+.endfor
+
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/pdftohtml ${PREFIX}/bin
diff --git a/textproc/pdftohtml/distinfo b/textproc/pdftohtml/distinfo
index 5d77ed9e8763..af5f705869d6 100644
--- a/textproc/pdftohtml/distinfo
+++ b/textproc/pdftohtml/distinfo
@@ -1 +1 @@
-MD5 (pdftohtml_0_33a.tar.gz) = 9910fb38210be5ea3ec2acc485244fdc
+MD5 (pdftohtml_0_34.tar.gz) = f124178552a2e6a5b37b89643e679718
diff --git a/textproc/pdftohtml/files/patch-goo::Makefile b/textproc/pdftohtml/files/patch-goo::Makefile
deleted file mode 100644
index a7ae08b348d8..000000000000
--- a/textproc/pdftohtml/files/patch-goo::Makefile
+++ /dev/null
@@ -1,18 +0,0 @@
---- goo/Makefile.orig Sun Apr 21 18:26:03 2002
-+++ goo/Makefile Tue Apr 23 23:14:45 2002
-@@ -11,11 +11,11 @@
-
- srcdir = .
-
--CFLAGS = -g -O2 -DHAVE_CONFIG_H -I.. -I$(srcdir)
--CXXFLAGS = -g -O2 -DHAVE_CONFIG_H -I.. -I$(srcdir)
-+CFLAGS += -DHAVE_CONFIG_H -I.. -I$(srcdir)
-+CXXFLAGS += -DHAVE_CONFIG_H -I.. -I$(srcdir)
-
--CC = gcc
--CXX = c++
-+CC ?= cc
-+CXX ?= c++
- AR = ar rc
- RANLIB = ranlib
-
diff --git a/textproc/pdftohtml/files/patch-src::Makefile b/textproc/pdftohtml/files/patch-src::Makefile
deleted file mode 100644
index 2e810053b9b7..000000000000
--- a/textproc/pdftohtml/files/patch-src::Makefile
+++ /dev/null
@@ -1,18 +0,0 @@
---- src/Makefile.orig Sun Apr 21 18:25:42 2002
-+++ src/Makefile Tue Apr 23 23:14:08 2002
-@@ -10,13 +10,13 @@
- GOOLIBDIR = ../goo
-
-
--CXXFLAGS = -g -DHAVE_DIRENT_H=1 -I.. -DHAVE_REWINDDIR=1 -DHAVE_POPEN=1 -I$(GOOSRCDIR) -I$(SRCDIR) -I$(XPDFSRCDIR)
-+CXXFLAGS += -DHAVE_DIRENT_H=1 -I.. -DHAVE_REWINDDIR=1 -DHAVE_POPEN=1 -I$(GOOSRCDIR) -I$(SRCDIR) -I$(XPDFSRCDIR)
-
- LDFLAGS =
-
- OTHERLIBS =
-
--CXX = c++
-+CC ?= cc
-
- LIBPREFIX = lib
- EXE =
diff --git a/textproc/pdftohtml/files/patch-xpdf::Makefile b/textproc/pdftohtml/files/patch-xpdf::Makefile
deleted file mode 100644
index 96ce9bd5e023..000000000000
--- a/textproc/pdftohtml/files/patch-xpdf::Makefile
+++ /dev/null
@@ -1,22 +0,0 @@
---- xpdf/Makefile.orig Sun Apr 21 18:25:54 2002
-+++ xpdf/Makefile Tue Apr 23 23:02:09 2002
-@@ -9,16 +9,15 @@
-
- SHELL = /bin/sh
-
--prefix = /usr/local
- srcdir = .
-
- GOOSRCDIR = $(srcdir)/../goo
- GOOLIBDIR = ../goo
-
--CXXFLAGS = -g -O2 -DHAVE_CONFIG_H -I.. -I$(GOOSRCDIR) -I$(srcdir)
-+CXXFLAGS += -DHAVE_CONFIG_H -I.. -I$(GOOSRCDIR) -I$(srcdir)
-
--CC = gcc
--CXX = c++
-+CC ?= cc
-+CXX ?= c++
- AR = ar rc
- RANLIB = ranlib
-