aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/tnef2txt
diff options
context:
space:
mode:
authorjim <jim@FreeBSD.org>2002-01-14 17:01:06 +0800
committerjim <jim@FreeBSD.org>2002-01-14 17:01:06 +0800
commit8d695ba3289dad732aa5462fc67abff22d1f6ae2 (patch)
tree7ad3a5ba5195f954592f6348b553505d0d68c51f /textproc/tnef2txt
parentf2eecc504f4c831fe438e4f2953c162f6fe94fc3 (diff)
downloadfreebsd-ports-gnome-8d695ba3289dad732aa5462fc67abff22d1f6ae2.tar.gz
freebsd-ports-gnome-8d695ba3289dad732aa5462fc67abff22d1f6ae2.tar.zst
freebsd-ports-gnome-8d695ba3289dad732aa5462fc67abff22d1f6ae2.zip
New port of tnef2txt, a program to read application/ms-tnef files.
Diffstat (limited to 'textproc/tnef2txt')
-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
6 files changed, 56 insertions, 0 deletions
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