summaryrefslogtreecommitdiff
path: root/mail/tnef/Makefile
blob: c605676d065b04e35282405712f17386287f3889 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $NetBSD: Makefile,v 1.5 2001/08/16 08:13:43 jlam Exp $
#

DISTNAME=	tnef-1.1
CATEGORIES=	mail
MASTER_SITES=	http://world.std.com/~damned/

MAINTAINER=	packages@netbsd.org
HOMEPAGE=	http://world.std.com/~damned/software.html
COMMENT=	decode MS-TNEF MIME attachments

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"