summaryrefslogtreecommitdiffstats
path: root/textproc/antiword/files
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2001-11-20 20:33:28 +0000
committerpetef <petef@FreeBSD.org>2001-11-20 20:33:28 +0000
commit05cf5e983f1c812e4bb9e20b65f260ea7e6d1e57 (patch)
tree11422e7d7250481467ed75a4dceacdb1d00541f5 /textproc/antiword/files
parent4aaf7d5efeb204b12fe9b3be8f2812b5bf87746b (diff)
downloadFreeBSD-ports-05cf5e983f1c812e4bb9e20b65f260ea7e6d1e57.zip
FreeBSD-ports-05cf5e983f1c812e4bb9e20b65f260ea7e6d1e57.tar.gz
- update to 0.32
- update MAINTAINER email address - sort pkg-plist - support NOPORTDOCS - respect CC/CFLAGS PR: 31522 Submitted by: maintainer (partially)
Diffstat (limited to 'textproc/antiword/files')
-rw-r--r--textproc/antiword/files/patch-Makefile.Linux29
-rw-r--r--textproc/antiword/files/patch-aa24
-rw-r--r--textproc/antiword/files/patch-antiword.h11
3 files changed, 40 insertions, 24 deletions
diff --git a/textproc/antiword/files/patch-Makefile.Linux b/textproc/antiword/files/patch-Makefile.Linux
new file mode 100644
index 0000000..4153a5b
--- /dev/null
+++ b/textproc/antiword/files/patch-Makefile.Linux
@@ -0,0 +1,29 @@
+--- Makefile.Linux.orig Sat Jul 21 15:58:03 2001
++++ Makefile.Linux Sat Nov 3 15:30:36 2001
+@@ -2,7 +2,7 @@
+ # Makefile for antiword (Linux version)
+ #
+
+-CC = gcc
++CC ?= gcc
+ LD = gcc
+
+ # must be equal to DEBUG or NDEBUG
+@@ -12,7 +12,7 @@
+
+ LDLIBS =
+
+-CFLAGS = -Wall -pedantic $(OPT) -D$(DB)
++CFLAGS += -Wall -pedantic -D$(DB)
+ LDFLAGS =
+
+ OBJS =\
+@@ -27,7 +27,7 @@
+ antiword\
+ kantiword
+
+-INSTALL_DIR = $(HOME)/bin
++INSTALL_DIR = $(PREFIX)/bin
+
+ all: $(PROGS)
+
diff --git a/textproc/antiword/files/patch-aa b/textproc/antiword/files/patch-aa
deleted file mode 100644
index e843198..0000000
--- a/textproc/antiword/files/patch-aa
+++ /dev/null
@@ -1,24 +0,0 @@
---- antiword.h.orig Thu Nov 30 03:54:14 2000
-+++ antiword.h Sun Dec 17 05:44:49 2000
-@@ -41,7 +41,9 @@
- #endif /* __riscos */
- #endif /* !PATH_MAX */
-
-+#ifndef SIZE_T_MAX
- #define SIZE_T_MAX (size_t)UINT_MAX
-+#endif
-
- #if defined(__riscos)
- #define FILE_SEPARATOR "."
---- Makefile.orig Sun Dec 17 05:45:07 2000
-+++ Makefile Sun Dec 17 05:45:47 2000
-@@ -43,8 +43,7 @@
-
- kantiword: Unix-only/KDE-only/kantiword.sh
- @rm -f $@
-- echo "#!/bin/sh" > $@
-- cat $? >> $@
-+ @cat $? >> $@
- @chmod 750 $@
-
- .c.o:
diff --git a/textproc/antiword/files/patch-antiword.h b/textproc/antiword/files/patch-antiword.h
new file mode 100644
index 0000000..6efb054
--- /dev/null
+++ b/textproc/antiword/files/patch-antiword.h
@@ -0,0 +1,11 @@
+--- antiword.h.orig Sat Oct 27 08:35:52 2001
++++ antiword.h Sat Oct 27 08:36:13 2001
+@@ -143,7 +143,7 @@
+ #define ANTIWORD_DIR "antiword"
+ #define FONTNAMES_FILE "fontname.txt"
+ #else
+-#define GLOBAL_ANTIWORD_DIR "/opt/antiword/share"
++#define GLOBAL_ANTIWORD_DIR "%%PREFIX%%/share/antiword"
+ #define ANTIWORD_DIR ".antiword"
+ #define FONTNAMES_FILE "fontnames"
+ #endif /* __dos */
OpenPOWER on IntegriCloud