From 66aa4c618b6c32a8809bd13f89c4e7cab33dcc62 Mon Sep 17 00:00:00 2001 From: Jim Mock Date: Mon, 14 Jan 2002 09:01:06 +0000 Subject: New port of tnef2txt, a program to read application/ms-tnef files. --- textproc/tnef2txt/Makefile | 28 ++++++++++++++++++++++++++++ textproc/tnef2txt/distinfo | 1 + textproc/tnef2txt/files/patch-aa | 17 +++++++++++++++++ textproc/tnef2txt/pkg-comment | 1 + textproc/tnef2txt/pkg-descr | 6 ++++++ textproc/tnef2txt/pkg-plist | 3 +++ 6 files changed, 56 insertions(+) create mode 100644 textproc/tnef2txt/Makefile create mode 100644 textproc/tnef2txt/distinfo create mode 100644 textproc/tnef2txt/files/patch-aa create mode 100644 textproc/tnef2txt/pkg-comment create mode 100644 textproc/tnef2txt/pkg-descr create mode 100644 textproc/tnef2txt/pkg-plist (limited to 'textproc/tnef2txt') 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 +# +# $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 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 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 -- cgit v1.2.3