summaryrefslogtreecommitdiff
path: root/mail/tnef/Makefile
diff options
context:
space:
mode:
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"