aboutsummaryrefslogtreecommitdiff
path: root/textproc/pdftohtml
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2007-04-20 21:13:41 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2007-04-20 21:13:41 +0000
commit0bafca98cb011e67dc6d4a9ea6e22a76699d40e7 (patch)
treee6577aafee00314fcb1cf1d37ca6bcc214def341 /textproc/pdftohtml
parent63d6df9599ea22c1e6896665bc2840ff5d941cc6 (diff)
downloadports-0bafca98cb011e67dc6d4a9ea6e22a76699d40e7.tar.gz
ports-0bafca98cb011e67dc6d4a9ea6e22a76699d40e7.zip
This package doesn't really require X11 or Motif.
Make it respecting CFLAGS while I am here.
Notes
Notes: svn path=/head/; revision=190494
Diffstat (limited to 'textproc/pdftohtml')
-rw-r--r--textproc/pdftohtml/Makefile2
-rw-r--r--textproc/pdftohtml/files/patch-fofi::Makefile14
-rw-r--r--textproc/pdftohtml/files/patch-splash::Makefile14
-rw-r--r--textproc/pdftohtml/files/patch-src::Makefile14
4 files changed, 43 insertions, 1 deletions
diff --git a/textproc/pdftohtml/Makefile b/textproc/pdftohtml/Makefile
index fbd5f06c2461..9e142fb76e01 100644
--- a/textproc/pdftohtml/Makefile
+++ b/textproc/pdftohtml/Makefile
@@ -8,6 +8,7 @@
PORTNAME= pdftohtml
PORTVERSION= 0.39
+PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -17,7 +18,6 @@ COMMENT= A command-line tool for converting pdf-files into html
USE_GHOSTSCRIPT_RUN= yes
USE_GMAKE= yes
-USE_MOTIF= yes
PLIST_FILES= bin/pdftohtml
diff --git a/textproc/pdftohtml/files/patch-fofi::Makefile b/textproc/pdftohtml/files/patch-fofi::Makefile
new file mode 100644
index 000000000000..da7cee0ad0d8
--- /dev/null
+++ b/textproc/pdftohtml/files/patch-fofi::Makefile
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- fofi/Makefile
++++ fofi/Makefile
+@@ -14,7 +14,7 @@
+ GOOSRCDIR = $(srcdir)/../goo
+ GOOLIBDIR = ../goo
+
+-CXXFLAGS = -DHAVE_CONFIG_H -I.. -I$(GOOSRCDIR) -I$(srcdir)
++CXXFLAGS += -DHAVE_CONFIG_H -I.. -I$(GOOSRCDIR) -I$(srcdir)
+
+ CXX = g++
+ AR = ar rc
diff --git a/textproc/pdftohtml/files/patch-splash::Makefile b/textproc/pdftohtml/files/patch-splash::Makefile
new file mode 100644
index 000000000000..b868bc8a84de
--- /dev/null
+++ b/textproc/pdftohtml/files/patch-splash::Makefile
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- splash/Makefile
++++ splash/Makefile
+@@ -16,7 +16,7 @@
+ FOFISRCDIR = $(srcdir)/../fofi
+ FOFILIBDIR = ../fofi
+
+-CXXFLAGS = -DHAVE_CONFIG_H -I.. -I$(GOOSRCDIR) -I$(FOFISRCDIR) -I$(srcdir)
++CXXFLAGS += -DHAVE_CONFIG_H -I.. -I$(GOOSRCDIR) -I$(FOFISRCDIR) -I$(srcdir)
+
+ CXX = g++
+ AR = ar rc
diff --git a/textproc/pdftohtml/files/patch-src::Makefile b/textproc/pdftohtml/files/patch-src::Makefile
new file mode 100644
index 000000000000..d3ba7fb85d02
--- /dev/null
+++ b/textproc/pdftohtml/files/patch-src::Makefile
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- src/Makefile
++++ src/Makefile
+@@ -11,7 +11,7 @@
+ SPLASHSRCDIR = ../splash
+ SPLASHLIBDIR = ../splash
+
+-CXXFLAGS = -DHAVE_CONFIG_H -DHAVE_DIRENT_H=1 -I.. -DHAVE_REWINDDIR=1 -DHAVE_POPEN=1 -I.. -I$(GOOSRCDIR) -I$(XPDFSRCDIR) -I$(FOFISRCDIR) -I$(SPLASHSRCDIR) -I$(srcdir) -I/usr/X11R6/include
++CXXFLAGS += -DHAVE_CONFIG_H -DHAVE_DIRENT_H=1 -I.. -DHAVE_REWINDDIR=1 -DHAVE_POPEN=1 -I.. -I$(GOOSRCDIR) -I$(XPDFSRCDIR) -I$(FOFISRCDIR) -I$(SPLASHSRCDIR) -I$(srcdir) -I/usr/X11R6/include
+
+ LDFLAGS =
+