summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorJim Mock <jim@FreeBSD.org>2002-01-14 09:01:06 +0000
committerJim Mock <jim@FreeBSD.org>2002-01-14 09:01:06 +0000
commit66aa4c618b6c32a8809bd13f89c4e7cab33dcc62 (patch)
tree5803acee48342efe983ca01d11e03da64f736506 /textproc
parent- Update to sendmail-8.12.2 (diff)
New port of tnef2txt, a program to read application/ms-tnef files.
Notes
Notes: svn path=/head/; revision=53044
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/tnef2txt/Makefile28
-rw-r--r--textproc/tnef2txt/distinfo1
-rw-r--r--textproc/tnef2txt/files/patch-aa17
-rw-r--r--textproc/tnef2txt/pkg-comment1
-rw-r--r--textproc/tnef2txt/pkg-descr6
-rw-r--r--textproc/tnef2txt/pkg-plist3
7 files changed, 57 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index debfe01776c0..c74b5dc24637 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -247,6 +247,7 @@
SUBDIR += texi2html
SUBDIR += textutils
SUBDIR += tkdiff
+ SUBDIR += tnef2txt
SUBDIR += tth
SUBDIR += txt2html
SUBDIR += txt2man
diff --git a/textproc/tnef2txt/Makefile b/textproc/tnef2txt/Makefile
new file mode 100644
index 000000000000..b73b4d862481
--- /dev/null
+++ b/textproc/tnef2txt/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: tnef2txt
+# Date created: 14 Jan 2002
+# Whom: Jim Mock <jim@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= tnef2txt
+PORTVERSION= 1.4
+CATEGORIES= textproc converters
+MASTER_SITES= http://www.fiction.net/blong/programs/tnef2txt/
+
+MAINTAINER= jim@FreeBSD.org
+
+ALL_TARGET= tnef2txt
+
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/tnef2txt ${PREFIX}/bin
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${ECHO} "===> Installing README in ${PREFIX}/share/doc/tnef2txt"
+ @${MKDIR} ${PREFIX}/share/doc/tnef2txt && \
+ ${CHMOD} a+rx ${PREFIX}/share/doc/tnef2txt
+ @${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/tnef2txt
+.endif
+
+.include <bsd.port.mk>
diff --git a/textproc/tnef2txt/distinfo b/textproc/tnef2txt/distinfo
new file mode 100644
index 000000000000..b85fa9344e9a
--- /dev/null
+++ b/textproc/tnef2txt/distinfo
@@ -0,0 +1 @@
+MD5 (tnef2txt-1.4.tar.gz) = a32a9fe1d558f076c2b0d24b742661f6
diff --git a/textproc/tnef2txt/files/patch-aa b/textproc/tnef2txt/files/patch-aa
new file mode 100644
index 000000000000..e2de91f75c94
--- /dev/null
+++ b/textproc/tnef2txt/files/patch-aa
@@ -0,0 +1,17 @@
+--- Makefile.orig Mon Jan 14 00:25:02 2002
++++ Makefile Mon Jan 14 00:25:17 2002
+@@ -1,12 +1,12 @@
+
+-CC = gcc
++CC ?= gcc
+
+ # Possible platforms are SUN, HPUX, DEC, SGI, AIX, Linux and MSDOS
+ # The main definitions are for 32/16 bits and for byte order, the
+ # default is big endian. You can do -D__BYTE_ORDER 1234 for little
+ # endian
+ PLATFORM = -DHPUX
+-CFLAGS = -g -O2
++CFLAGS += -g -O2
+
+
+ tnef2txt: config.h tnef.h tnef.c
diff --git a/textproc/tnef2txt/pkg-comment b/textproc/tnef2txt/pkg-comment
new file mode 100644
index 000000000000..9ec9ddfaaeaa
--- /dev/null
+++ b/textproc/tnef2txt/pkg-comment
@@ -0,0 +1 @@
+A portable application/ms-tnef parser
diff --git a/textproc/tnef2txt/pkg-descr b/textproc/tnef2txt/pkg-descr
new file mode 100644
index 000000000000..9c2144dd47a0
--- /dev/null
+++ b/textproc/tnef2txt/pkg-descr
@@ -0,0 +1,6 @@
+tnef2txt is an application/ms-tnef parser. In addition to viewing the
+files, it can also dump them to disk.
+
+WWW: http://www.fiction.net/blong/programs/#tnef2txt
+
+- jim <jim@FreeBSD.org>
diff --git a/textproc/tnef2txt/pkg-plist b/textproc/tnef2txt/pkg-plist
new file mode 100644
index 000000000000..b1806372af84
--- /dev/null
+++ b/textproc/tnef2txt/pkg-plist
@@ -0,0 +1,3 @@
+bin/tnef2txt
+%%PORTDOCS%%share/doc/tnef2txt/README
+%%PORTDOCS%%@dirrm share/doc/tnef2txt