summaryrefslogtreecommitdiff
path: root/mail/tnef/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2001-08-16 08:13:43 +0000
committerjlam <jlam>2001-08-16 08:13:43 +0000
commit93a37fcf181d5259b67c464e197fa3f6b1eefb4b (patch)
tree096526a99dcbdc3ea590a489abe6b532d6da4625 /mail/tnef/Makefile
parent417e4aeb04a2bf3ac322319d1c924970a2178b9a (diff)
downloadpkgsrc-93a37fcf181d5259b67c464e197fa3f6b1eefb4b.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"