diff options
author | jim <jim@FreeBSD.org> | 2002-01-14 17:01:06 +0800 |
---|---|---|
committer | jim <jim@FreeBSD.org> | 2002-01-14 17:01:06 +0800 |
commit | 8d695ba3289dad732aa5462fc67abff22d1f6ae2 (patch) | |
tree | 7ad3a5ba5195f954592f6348b553505d0d68c51f | |
parent | f2eecc504f4c831fe438e4f2953c162f6fe94fc3 (diff) | |
download | freebsd-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.
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/tnef2txt/Makefile | 28 | ||||
-rw-r--r-- | textproc/tnef2txt/distinfo | 1 | ||||
-rw-r--r-- | textproc/tnef2txt/files/patch-aa | 17 | ||||
-rw-r--r-- | textproc/tnef2txt/pkg-comment | 1 | ||||
-rw-r--r-- | textproc/tnef2txt/pkg-descr | 6 | ||||
-rw-r--r-- | textproc/tnef2txt/pkg-plist | 3 |
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 |