aboutsummaryrefslogtreecommitdiffstats
path: root/mail/biabam/Makefile
blob: 8cb608063ea35e64546f53c65141e58bb5990515 (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
# New ports collection makefile for:    biabam
# Date created:     03 January 2001
# Whom:         George Reid <greid@ukug.uk.freebsd.org>
#
# $FreeBSD$
#

PORTNAME=   biabam
PORTVERSION=    0.9.7
CATEGORIES= mail
MASTER_SITES=   http://mmj.dk/biabam/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A command-line attachment mailer

RUN_DEPENDS=    bash:${PORTSDIR}/shells/bash2

USE_REINPLACE=  yes
NO_BUILD=   yes
PLIST_FILES=    bin/biabam

post-patch:
    @${REINPLACE_CMD} -e 's|\(#!\)\(/bin/bash\)|\1${LOCALBASE}\2|' \
        ${WRKSRC}/${PORTNAME}

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/biabam ${PREFIX}/bin

.include <bsd.port.mk>