summaryrefslogtreecommitdiff
path: root/mail/tnef/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-08-16 08:13:43 +0000
committerjlam <jlam@pkgsrc.org>2001-08-16 08:13:43 +0000
commit9560477f95b153380be7befce5902a42bc5f066c (patch)
tree096526a99dcbdc3ea590a489abe6b532d6da4625 /mail/tnef/Makefile
parent074c5b4843a7552f4f2b5ccee68bca5df5d8770a (diff)
downloadpkgsrc-9560477f95b153380be7befce5902a42bc5f066c.tar.gz
Update mail/tnef to 1.1. Changes from version 0.16 include:
* man page * bug fixes * parsing of MAPI attributes * long filenames available
Diffstat (limited to 'mail/tnef/Makefile')
-rw-r--r--mail/tnef/Makefile22
1 files changed, 19 insertions, 3 deletions
diff --git a/mail/tnef/Makefile b/mail/tnef/Makefile
index 7519217e7af..c605676d065 100644
--- a/mail/tnef/Makefile
+++ b/mail/tnef/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2001/02/17 18:25:07 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2001/08/16 08:13:43 jlam Exp $
#
-DISTNAME= tnef-0.16
+DISTNAME= tnef-1.1
CATEGORIES= mail
MASTER_SITES= http://world.std.com/~damned/
@@ -9,6 +9,22 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://world.std.com/~damned/software.html
COMMENT= decode MS-TNEF MIME attachments
-GNU_CONFIGURE= YES
+USE_BUILDLINK_ONLY= # defined
+GNU_CONFIGURE= # defined
+
+# Change references to tnef.3 to tnef.1.
+post-extract:
+ cd ${WRKSRC}; ${MV} doc/tnef.3 doc/tnef.1
+
+post-patch:
+ cd ${WRKSRC}; for file in doc/Makefile.in; do \
+ ${MV} -f $${file} $${file}.fixme; \
+ ${SED} -e "s|man3|man1|g" -e "s|\.3|.1|g" \
+ $${file}.fixme > $${file}; \
+ if [ -x $${file}.fixme ]; then \
+ ${CHMOD} +x $${file}; \
+ fi; \
+ ${RM} -f $${file}.fixme; \
+ done
.include "../../mk/bsd.pkg.mk"