aboutsummaryrefslogtreecommitdiffstats
path: root/mail/exipick/Makefile
blob: cbe9c846a08d2c086495c49572ea3f33afe9f001 (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
35
36
# New ports collection makefile for:    exipick
# Date created:             29 Sep 2004
# Whom:                 Vsevolod Stakhov <vsevolod@highsecure.ru>
#
# $FreeBSD$
#

PORTNAME=   exipick
PORTVERSION=    20060307.1
CATEGORIES= mail
MASTER_SITES=   http://jetmore.org/john/code/
DISTNAME=   ${PORTNAME}.${PORTVERSION}
EXTRACT_SUFX=

MAINTAINER= ports@FreeBSD.org
COMMENT=    Display messages from Exim queue based on a variety of criteria

PLIST_FILES=    bin/${PORTNAME}

USE_PERL5_RUN=  yes

do-extract:
    @${RM} -rf ${WRKDIR}
    @${MKDIR} ${WRKSRC}
    @${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME} ${WRKSRC}

do-build:
    @${SED} -e '1s|/usr/bin/perl|${PERL}|' \
        ${WRKSRC}/${DISTNAME} > ${WRKSRC}/${PORTNAME}.pl

do-install:
    @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl \
        ${DESTDIR}${PREFIX}/bin/${PORTNAME}
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>