freebsd-ports/mail/delatt/Makefile
Simon Barner 761ef67f55 Add delatt, a tool to strip attachments from email.
PR:		82513
Submitted by:	Emanuel Haupt <ehaupt@critical.ch>
2005-06-22 08:22:41 +00:00

37 lines
776 B
Makefile

# 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/
MAINTAINER= ehaupt@critical.ch
COMMENT= Strip attachments from email
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
USE_PERL5_RUN= yes
USE_REINPLACE= 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>