aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mbx2mbox/Makefile
blob: 2aa62255bbd8aacf4c217710ce5c9ae392c77586 (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
# New ports collection makefile for:    mbx2mbox
# Version required: 0.32
# Date created:     23 November 1998
# Whom:         Josh Gilliam <josh@quick.net>
#
# $FreeBSD$
#

DISTNAME=   mbx2mbox-0.32
CATEGORIES= mail
MASTER_SITES=   http://www.cs.virginia.edu/~dwc3q/code/

MAINTAINER= ports@FreeBSD.org

NO_BUILD=   yes
USE_PERL5=  yes

post-patch:
    @${PERL} -pi.in -e "s|/usr/bin/perl|${PERL}|g" ${WRKSRC}/mbx2mbox

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/mbx2mbox ${PREFIX}/bin
.if !defined(NOPORTDOCS)
    @${MKDIR} ${PREFIX}/share/doc/mbx2mbox
    ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/mbx2mbox
.endif

.include <bsd.port.mk>