e7dcb85d5f
- While I'm here: - Convert to options target helper - Add NO_ARCH - Bump PORTREVISION for dependency change With hat: perl
39 lines
984 B
Makefile
39 lines
984 B
Makefile
# Created by: Sergei Kolobov <sergei@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= t-prot
|
|
PORTVERSION= 2.101
|
|
PORTREVISION= 1
|
|
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-Locale-gettext>=0:devel/p5-Locale-gettext
|
|
|
|
NO_ARCH= yes
|
|
USES= perl5 shebangfix
|
|
NO_BUILD= yes
|
|
|
|
PORTDOCS= ChangeLog README TODO
|
|
PORTEXAMPLES= *
|
|
PLIST_FILES= man/man1/t-prot.1.gz bin/t-prot
|
|
SHEBANG_FILES= t-prot
|
|
|
|
OPTIONS_DEFINE= EXAMPLES DOCS
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/t-prot ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/t-prot.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
|
|
|
do-install-EXAMPLES-on:
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/contrib/* ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|