summaryrefslogtreecommitdiff
path: root/mail/mb2md
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2005-03-13 09:33:46 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2005-03-13 09:33:46 +0000
commit00181d03965c841f42e5c18b499e7eb80c6c4cbf (patch)
tree68323e8177fe51f748e56999638b6ce13d4e6cb0 /mail/mb2md
parentUpdate MASTER_SITES and WWW: line (diff)
Update to version 3.20
PR: ports/78739 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=131063
Diffstat (limited to 'mail/mb2md')
-rw-r--r--mail/mb2md/Makefile21
-rw-r--r--mail/mb2md/distinfo4
2 files changed, 14 insertions, 11 deletions
diff --git a/mail/mb2md/Makefile b/mail/mb2md/Makefile
index 048c58097e7b..c55db66c1e29 100644
--- a/mail/mb2md/Makefile
+++ b/mail/mb2md/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= mb2md
-PORTVERSION= 3.10
+PORTVERSION= 3.20
CATEGORIES= mail
MASTER_SITES= http://batleth.sapienti-sat.org/projects/mb2md/
DISTNAME= ${PORTNAME}-${PORTVERSION}.pl
@@ -17,16 +17,19 @@ COMMENT= Converts mbox mailboxes to Maildir
RUN_DEPENDS= ${SITE_PERL}/Date/Parse.pm:${PORTSDIR}/devel/p5-TimeDate
-PLIST_FILES= bin/mb2md
-USE_PERL5_RUN= yes
EXTRACT_CMD= ${GZIP_CMD} -cd
-EXTRACT_AFTER_ARGS=>${DISTNAME}
-WRKSRC= ${.CURDIR}
+EXTRACT_AFTER_ARGS= > ${WRKDIR}/${PORTNAME}
+
+NO_WRKSUBDIR= yes
+NO_BUILD= yes
+USE_PERL5_RUN= yes
+
+PLIST_FILES= bin/mb2md
-NO_BUILD= true
-INSTALL_TARGET= real-install
+post-patch:
+ @${PERL} -pi -e 's|/usr/bin/perl|${PERL}|g' ${WRKSRC}/${PORTNAME}
-real-install:
- @${INSTALL_SCRIPT} ${WRKDIR}/${DISTNAME} ${PREFIX}/bin/${PORTNAME}
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.include <bsd.port.mk>
diff --git a/mail/mb2md/distinfo b/mail/mb2md/distinfo
index 3b0c0489ff25..69e11419418a 100644
--- a/mail/mb2md/distinfo
+++ b/mail/mb2md/distinfo
@@ -1,2 +1,2 @@
-MD5 (mb2md-3.10.pl.gz) = b9a8cf81cd5c15ed1e04216661ad1122
-SIZE (mb2md-3.10.pl.gz) = 14781
+MD5 (mb2md-3.20.pl.gz) = b47eaa6ae4231a42f4a15564a08eb439
+SIZE (mb2md-3.20.pl.gz) = 14977