freebsd-ports/mail/msgconvert/Makefile
Yen-Ming Lee 0cd218ab73 - add missing dependency to devel/p5-TimeDate
- set p5-PodParser as a conditional dependency
- bump PORTREVISION

PR:		68070
Submitted by:	Franz Klammer <klammer@webonaut.com>, leeym
Reviewed by:	Franz Klammer <klammer@webonaut.com>
2004-06-18 17:12:47 +00:00

40 lines
1 KiB
Makefile

# New ports collection makefile for: msgconvert
# Date created: 12 Jan 2003
# Whom: Franz Klammer <klammer@webonaut.com>
#
# $FreeBSD$
#
PORTNAME= msgconvert
PORTVERSION= 20040531
PORTREVISION= 1
CATEGORIES= mail perl5
MASTER_SITES= http://www.webonaut.com/distfiles/
DISTNAME= ${PORTNAME}-${PORTVERSION}.pl
EXTRACT_SUFX= .bz2
MAINTAINER= klammer@webonaut.com
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}/Date/Format.pm:${PORTSDIR}/devel/p5-TimeDate
NO_BUILD= yes
NO_WRKSUBDIR= yes
USE_BZIP2= yes
USE_PERL5= yes
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.pre.mk>
.if ${PERL_LEVEL} < 500601
RUN_DEPENDS+= ${SITE_PERL}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-PodParser
.endif
.include <bsd.port.post.mk>