New port of tnef2txt, a program to read application/ms-tnef files.

This commit is contained in:
Jim Mock 2002-01-14 09:01:06 +00:00
parent 56cf43809d
commit 66aa4c618b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=53044
7 changed files with 57 additions and 0 deletions

View File

@ -247,6 +247,7 @@
SUBDIR += texi2html
SUBDIR += textutils
SUBDIR += tkdiff
SUBDIR += tnef2txt
SUBDIR += tth
SUBDIR += txt2html
SUBDIR += txt2man

View File

@ -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>

View File

@ -0,0 +1 @@
MD5 (tnef2txt-1.4.tar.gz) = a32a9fe1d558f076c2b0d24b742661f6

View File

@ -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

View File

@ -0,0 +1 @@
A portable application/ms-tnef parser

View File

@ -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>

View File

@ -0,0 +1,3 @@
bin/tnef2txt
%%PORTDOCS%%share/doc/tnef2txt/README
%%PORTDOCS%%@dirrm share/doc/tnef2txt