aboutsummaryrefslogtreecommitdiff
path: root/mail/msgconvert
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2004-06-18 17:12:47 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2004-06-18 17:12:47 +0000
commit0cd218ab73c69464d0ba9c9a83d9bd7962a53b18 (patch)
tree8a31f7edfad53cb7a12e63d86d25c28617e83e70 /mail/msgconvert
parent6b331a89a33eb585699cac411a90ee3eebfbdd40 (diff)
downloadports-0cd218ab73c69464d0ba9c9a83d9bd7962a53b18.tar.gz
ports-0cd218ab73c69464d0ba9c9a83d9bd7962a53b18.zip
Notes
Diffstat (limited to 'mail/msgconvert')
-rw-r--r--mail/msgconvert/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/mail/msgconvert/Makefile b/mail/msgconvert/Makefile
index 2acc07db08f0..3d0907cbef44 100644
--- a/mail/msgconvert/Makefile
+++ b/mail/msgconvert/Makefile
@@ -7,6 +7,7 @@
PORTNAME= msgconvert
PORTVERSION= 20040531
+PORTREVISION= 1
CATEGORIES= mail perl5
MASTER_SITES= http://www.webonaut.com/distfiles/
DISTNAME= ${PORTNAME}-${PORTVERSION}.pl
@@ -17,17 +18,23 @@ COMMENT= Convert .MSG files to multipart MIME messages (mbox)
RUN_DEPENDS= ${SITE_PERL}/OLE/Storage_Lite.pm:${PORTSDIR}/devel/p5-OLE-Storage_Lite \
${SITE_PERL}/MIME/Words.pm:${PORTSDIR}/mail/p5-MIME-Tools \
- ${SITE_PERL}/Pod/Parser.pm:${PORTSDIR}/textproc/p5-PodParser
+ ${SITE_PERL}/Date/Format.pm:${PORTSDIR}/devel/p5-TimeDate
NO_BUILD= yes
NO_WRKSUBDIR= yes
USE_BZIP2= yes
USE_PERL5= yes
-EXTRACT_AFTER_ARGS= > ${PORTNAME}.pl
+EXTRACT_AFTER_ARGS= > ${PORTNAME}.pl
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.pl ${PREFIX}/bin/${PORTNAME}.pl
${LN} -s ${PREFIX}/bin/${PORTNAME}.pl ${PREFIX}/bin/${PORTNAME}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+RUN_DEPENDS+= ${SITE_PERL}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-PodParser
+.endif
+
+.include <bsd.port.post.mk>