summaryrefslogtreecommitdiff
path: root/mail/t-prot/Makefile
blob: e7c612ad7036e81fd55e8f1ecdb4a67f06ba8418 (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
31
32
33
34
35
36
37
38
# New ports collection makefile for:	t-prot
# Date created:		2004-10-03
# Whom:			Sergei Kolobov <sergei@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	t-prot
PORTVERSION=	2.101
CATEGORIES=	mail
MASTER_SITES=	http://www.escape.de/~tolot/mutt/t-prot/downloads/ \
		LOCAL/sergei

MAINTAINER=	torres.g.alex@gmail.com
COMMENT=	TOFU Protection - Display Filter for RFC822 messages

RUN_DEPENDS=	p5-Getopt-Long>=0:${PORTSDIR}/devel/p5-Getopt-Long \
	p5-Locale-gettext>=0:${PORTSDIR}/devel/p5-Locale-gettext

USES=		perl5
NO_BUILD=	yes

MAN1=		t-prot.1
DOCS=		ChangeLog README TODO

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/t-prot ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/t-prot.1 ${MAN1PREFIX}/man/man1
.if !defined(NOPORTEXAMPLES)
	@${MKDIR} ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/contrib/* ${EXAMPLESDIR}
.endif
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>