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

DISTNAME=   mbx2mbox-0.1
CATEGORIES= mail
MASTER_SITES=   http://www.cs.virginia.edu/~dwc3q/code/ \
        ftp://maroon.webmaster.com/pub/mbx2mbox/
EXTRACT_SUFX=

MAINTAINER= josh@quick.net

EXTRACT_CMD=    ${CP}
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS= .
NO_WRKSUBDIR=   yes
NO_BUILD=   yes
USE_PERL5=  yes

post-patch:

    @${MV} ${WRKSRC}/${DISTNAME} ${WRKSRC}/${DISTNAME}.pre_sed
    @${SED} -e 's%/usr/bin/perl%${PERL}%' \
    ${WRKSRC}/${DISTNAME}.pre_sed > ${WRKSRC}/${DISTNAME}

do-install:
    ${INSTALL_SCRIPT} ${WRKDIR}/mbx2mbox-0.1 ${PREFIX}/bin/mbx2mbox

.include <bsd.port.mk>