1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Add ytnef 2.6, unpack data in MS Outlook TNEF format

Submitted by:	Rodrigo Graeff <delphus@gmail.com> by email
This commit is contained in:
Renato Botelho 2006-02-21 21:35:13 +00:00
parent 529ed7dc50
commit be0d42fd32
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=156626
4 changed files with 61 additions and 0 deletions

View File

@ -93,5 +93,6 @@
SUBDIR += uulib
SUBDIR += vda2fbd
SUBDIR += xdeview
SUBDIR += ytnef
.include <bsd.port.subdir.mk>

42
converters/ytnef/Makefile Normal file
View File

@ -0,0 +1,42 @@
# New ports collection makefile for: ytnef
# Date created: 21 Feb 2005
# Whom: Rodrigo Graeff <delphus@gmail.com>
#
# $FreeBSD$
#
PORTNAME= ytnef
PORTVERSION= 2.6
CATEGORIES= converters mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= delphus@gmail.com
COMMENT= Unpack data in MS Outlook TNEF format
LIB_DEPENDS= ytnef.0:${PORTSDIR}/devel/libytnef
USE_PERL5_RUN= yes
GNU_CONFIGURE= yes
USE_GETOPT_LONG=yes
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
PLIST_FILES= bin/ytnef bin/ytnefprocess.pl bin/ytnefprint
PORTDOCS= AUTHORS NEWS README
post-patch:
@${REINPLACE_CMD} -e 's|^#!/usr/bin/perl|#!${PERL}|' \
${WRKSRC}/src/ytnef/ytnefprocess.pl
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (ytnef-2.6.tar.gz) = 572830ff0664a2abc3e7aea79040c338
SHA256 (ytnef-2.6.tar.gz) = 9addfcb7c412cdc3a2dc0c350e2130816633a35b3de37f1047d55e345dea99dc
SIZE (ytnef-2.6.tar.gz) = 94146

View File

@ -0,0 +1,15 @@
This program decodes those annoying application/ms-tnef MIME attachments that
Microsoft mail servers helpfully use to encapsulate your already MIME encoded
attachments.
Due to the proliferation of Microsoft Outlook and Exchange mail servers,
more and more mail is encapsulated into this format.
The YTNEF program allows one to unpack the attachments which were encapsulated
into the YTNEF attachment. Thus alleviating the need to use Microsoft Outlook
to view them.
Now supports winmail.dat Outlook files
Author: Randall Hand <randall.hand@gmail.com>
WWW: http://ytnef.sourceforge.net/