aboutsummaryrefslogtreecommitdiffstats
path: root/mail/delatt/Makefile
blob: 03885fc0a2c241842bc0e28d837d52c5d02d2c6c (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
37
38
# 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/ \
        http://critical.ch/distfiles/ \
        http://energy.critical.ch/distfiles/

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=  yes
NO_BUILD=   yes

PLIST_FILES=    bin/delatt

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500806
IGNORE=     needs Perl 5.8.6 or above (lang/perl5.8)
.endif

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

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

.include <bsd.port.post.mk>