# New ports collection makefile for:    adcomplain
# Date created: 13 Sep 1997
# Whom:         ache@FreeBSD.org
#
# $FreeBSD: ports/mail/adcomplain/Makefile,v 1.34 2004/02/06 13:11:37 trevor Exp $
#

PORTNAME=	adcomplain
PORTVERSION=	3.52
CATEGORIES=	mail news
MASTER_SITES=	http://www.rdrop.com/users/billmc/
DISTNAME=	${PORTNAME}.pl
EXTRACT_SUFX=	.uu

MAINTAINER=	ache@FreeBSD.org
COMMENT=	Complain about inappropriate commercial use (f.e. SPAM) of usenet/e-mail

USE_PERL5=	yes

EXTRACT_CMD=	/usr/bin/uudecode
EXTRACT_BEFORE_ARGS=	<
EXTRACT_AFTER_ARGS=	# empty
NO_WRKSUBDIR=	yes
NO_BUILD=	yes
PLIST_FILES=	bin/adcomplain

post-patch:
	cd ${WRKSRC}; \
	${CP} adcomplain.pl adcomplain.pl.old; \
	${SED} 's=%PERL5%=${PERL}=' < adcomplain.pl.old > adcomplain.pl

do-install:
	cd ${WRKSRC}; \
	${INSTALL_SCRIPT} adcomplain.pl ${PREFIX}/bin/adcomplain

.include <bsd.port.mk>


syntax highlighted by Code2HTML, v. 0.9.1