summaryrefslogtreecommitdiffstats
path: root/mail/msgconvert/Makefile
blob: 86c2e5f7078ded85c5f4d3ee2af3a0ebb7d5d639 (plain)
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
35
36
# Created by: Franz Klammer <klammer@webonaut.com>
# $FreeBSD$

PORTNAME=	msgconvert
PORTVERSION=	20060330
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=	p5-OLE-Storage_Lite>=0:${PORTSDIR}/devel/p5-OLE-Storage_Lite \
		p5-MIME-Tools>=0:${PORTSDIR}/mail/p5-MIME-Tools \
		p5-TimeDate>=0:${PORTSDIR}/devel/p5-TimeDate

NO_BUILD=	yes
NO_WRKSUBDIR=	yes

USES=		shebangfix perl5

EXTRACT_CMD=	${BZCAT}
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS=	> ${PORTNAME}.pl

PLIST_FILES=	bin/msgconvert.pl bin/msgconvert
SHEBANG_FILES=	${PORTNAME}.pl

do-install:
	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.pl \
		${STAGEDIR}${PREFIX}/bin/${PORTNAME}.pl
	${LN} -s ${PORTNAME}.pl ${STAGEDIR}${PREFIX}/bin/${PORTNAME}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud