aboutsummaryrefslogtreecommitdiffstats
path: root/mail/delatt/Makefile
blob: ac6ca090ed98f4a5928d28f2257b60295d3e8594 (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
# New ports collection makefile for:    delatt
# Date created:             22 Jun 2005
# Whom:                 Emanuel Haupt <ehaupt@critical.ch>
#
# $FreeBSD$
#

PORTNAME=   delatt
DISTVERSION=    1.1.3
CATEGORIES= mail
MASTER_SITES=   http://danborn.net/delatt/ \
        CRITICAL

MAINTAINER= ehaupt@FreeBSD.org
COMMENT=    Strip attachments from email

RUN_DEPENDS=    ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64

USE_PERL5_RUN=  5.8.6+
NO_BUILD=   yes

PLIST_FILES=    bin/delatt

post-patch:
    ${REINPLACE_CMD} -e 's|^#!/usr/bin/perl|#!${PERL}|' \
        ${WRKSRC}/${PORTNAME}

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

.include <bsd.port.mk>