1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

- Update to 2.99

- it now uses p5-Getopt-Long instead of the deprecated p5-Getopt-Mixed
- Respect NOPORTEXAMPLES

PR:		ports/145579
Submitted by:	Lars Engels <lme@FreeBSD.org>
This commit is contained in:
Sergei Kolobov 2010-08-08 21:51:48 +00:00
parent 2a8d73be51
commit dc179ae00d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=258959
3 changed files with 19 additions and 15 deletions

View File

@ -6,8 +6,7 @@
#
PORTNAME= t-prot
PORTVERSION= 2.5
PORTREVISION= 2
PORTVERSION= 2.99
CATEGORIES= mail
MASTER_SITES= http://www.escape.de/~tolot/mutt/t-prot/downloads/ \
${MASTER_SITE_LOCAL}
@ -16,7 +15,7 @@ MASTER_SITE_SUBDIR= sergei
MAINTAINER= sergei@FreeBSD.org
COMMENT= TOFU Protection - Display Filter for RFC822 messages
RUN_DEPENDS= ${SITE_PERL}/Getopt/Mixed.pm:${PORTSDIR}/devel/p5-Getopt-Mixed
RUN_DEPENDS= ${SITE_PERL}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long
USE_PERL5= yes
NO_BUILD= yes
@ -27,8 +26,10 @@ 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}

View File

@ -1,3 +1,3 @@
MD5 (t-prot-2.5.tar.gz) = 2ff61e5a823c9eea9f04f4e6a1e5e8ed
SHA256 (t-prot-2.5.tar.gz) = 7047b8f6175796708624c7a1d88ef5d2126bcd782c8b7cac13b235c42518f234
SIZE (t-prot-2.5.tar.gz) = 41136
MD5 (t-prot-2.99.tar.gz) = 4538aa006fbfc4911ab4d4e428731614
SHA256 (t-prot-2.99.tar.gz) = e5da301fd4ce2981f447bcfcb5bdb5b1dcb6e06379634fd71b27d9ddc508e2aa
SIZE (t-prot-2.99.tar.gz) = 46905

View File

@ -4,12 +4,15 @@ bin/t-prot
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/TODO
%%PORTDOCS%%@dirrm %%DOCSDIR%%
%%EXAMPLESDIR%%/README.examples
%%EXAMPLESDIR%%/README.patches
%%EXAMPLESDIR%%/filter_innd.pl
%%EXAMPLESDIR%%/muttrc.t-prot
%%EXAMPLESDIR%%/t-prot-r1.238-gpg126.diff
%%EXAMPLESDIR%%/t-prot-r1.246-mutt1512.diff
%%EXAMPLESDIR%%/t-prot.sl
%%EXAMPLESDIR%%/t-prot.sl-slang2.diff
@dirrm %%EXAMPLESDIR%%
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README.examples
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README.patches
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/filter_innd.pl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mailcap.t-prot
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/muttrc.t-prot
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/muttrc.t-prot.m1512
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/nailrc.t-prot
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/t-prot-r1.238-gpg126.diff
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/t-prot-r1.279-mutt1512.diff
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/t-prot.sl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/t-prot.sl-slang2.diff
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%