summaryrefslogtreecommitdiffstats
path: root/mail/adcomplain/Makefile
blob: ca3f1860920bf72eb699916952b9cc0df0dcc2ef (plain)
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
# New ports collection makefile for:    adcomplain
# Date created: 13 Sep 1997
# Whom:         ache@FreeBSD.org
#
# $FreeBSD$
#

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

USE_PERL5=	yes

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

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>
OpenPOWER on IntegriCloud