aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mb2md
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2005-03-13 17:33:46 +0800
committerkrion <krion@FreeBSD.org>2005-03-13 17:33:46 +0800
commit714d80403d129e7137e9d1fe97a39654565df4b8 (patch)
tree99aec24bb5f9aa0359d53592c633b20f59c58e78 /mail/mb2md
parent56d21709e4cae99edb85015b9d5f2ae6361a7ce5 (diff)
downloadfreebsd-ports-gnome-714d80403d129e7137e9d1fe97a39654565df4b8.tar.gz
freebsd-ports-gnome-714d80403d129e7137e9d1fe97a39654565df4b8.tar.zst
freebsd-ports-gnome-714d80403d129e7137e9d1fe97a39654565df4b8.zip
Update to version 3.20
PR: ports/78739 Submitted by: Ports Fury
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