aboutsummaryrefslogtreecommitdiff
path: root/mail/t-prot
diff options
context:
space:
mode:
authorSergei Kolobov <sergei@FreeBSD.org>2010-08-08 21:51:48 +0000
committerSergei Kolobov <sergei@FreeBSD.org>2010-08-08 21:51:48 +0000
commitdc179ae00db6a2615048e2b73e13ce006fd7a7c3 (patch)
treec3ff4f2625f0128f85b2dde6a3c7194f140cde3e /mail/t-prot
parent2a8d73be515eeb1ef97d4c18662fc9810d15b8ca (diff)
downloadports-dc179ae00db6a2615048e2b73e13ce006fd7a7c3.tar.gz
ports-dc179ae00db6a2615048e2b73e13ce006fd7a7c3.zip
- 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>
Notes
Notes: svn path=/head/; revision=258959
Diffstat (limited to 'mail/t-prot')
-rw-r--r--mail/t-prot/Makefile7
-rw-r--r--mail/t-prot/distinfo6
-rw-r--r--mail/t-prot/pkg-plist21
3 files changed, 19 insertions, 15 deletions
diff --git a/mail/t-prot/Makefile b/mail/t-prot/Makefile
index 4bd7e09de463..c00c43a9cfb9 100644
--- a/mail/t-prot/Makefile
+++ b/mail/t-prot/Makefile
@@ -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}
diff --git a/mail/t-prot/distinfo b/mail/t-prot/distinfo
index 0785c5160fbc..c88472a8f35c 100644
--- a/mail/t-prot/distinfo
+++ b/mail/t-prot/distinfo
@@ -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
diff --git a/mail/t-prot/pkg-plist b/mail/t-prot/pkg-plist
index 414f8e675b63..fae15185e357 100644
--- a/mail/t-prot/pkg-plist
+++ b/mail/t-prot/pkg-plist
@@ -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%%