aboutsummaryrefslogtreecommitdiffstats
path: root/mail/msgconvert/Makefile
blob: bb72a01cc6b0c27e7db4496619b25c9446d574ce (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# New ports collection makefile for:    msgconvert
# Date created:             12 Jan 2003
# Whom:                 Franz Klammer <klammer@webonaut.com>
#
# $FreeBSD$
#

PORTNAME=   msgconvert
PORTVERSION=    20040104
CATEGORIES= mail perl5
MASTER_SITES=   http://www.webonaut.com/distfiles/
PKGNAMEPREFIX=  p5-
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}/Pod/Parser.pm:${PORTSDIR}/textproc/p5-PodParser

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.mk>