summaryrefslogtreecommitdiff
path: root/mail/rlytest/Makefile
blob: 5fcfcf8c064ae4d8c4ff6b7c9a11f066896d7fe8 (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:	rlytest
# Date created:		16 January 1999
# Whom:			Paul Chvostek <paul@it.ca>
#
# $FreeBSD$
#

PORTNAME=	rlytest
PORTVERSION=	1.22
CATEGORIES=	mail security
MASTER_SITES=	http://www.unicom.com/sw/rlytest/
DISTNAME=	${PORTNAME}
EXTRACT_SUFX=
EXTRACT_ONLY=   # defined

MAINTAINER=	paul@it.ca
COMMENT=	Test an SMTP host for third-party relay

USE_PERL5=	yes

NO_WRKSUBDIR=   yes

MAN1=           rlytest.1

pre-patch:
	perl -pe 's,^#!/usr/local/bin/perl$$,#!/usr/bin/perl,' < ${_DISTDIR}${DISTFILES} > ${WRKSRC}/rlytest

do-build:
	pod2man ${WRKSRC}/rlytest > ${WRKSRC}/rlytest.1

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/rlytest ${PREFIX}/bin/
	${INSTALL_MAN} ${WRKSRC}/rlytest.1 ${PREFIX}/man/man1/

post-install:
	${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>