aboutsummaryrefslogtreecommitdiffstats
path: root/mail/t-prot/Makefile
blob: 13dc2a27a709a9ea80e2efe31fa9c70a354827b1 (plain) (blame)
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
39
# New ports collection makefile for:    t-prot
# Date created:     2004-10-03
# Whom:         Sergei Kolobov <sergei@FreeBSD.org>
#
# $FreeBSD$
#

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

MAINTAINER= sergei@FreeBSD.org
COMMENT=    TOFU Protection - Display Filter for RFC822 messages

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

USE_PERL5=  yes
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>