aboutsummaryrefslogtreecommitdiffstats
path: root/security/pxytest/Makefile
blob: 56c22d2205b07c3ce3d180c4fefe19bbbcacf209 (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
# New ports collection makefile for:    pxytest
# Date created:             Fri Jun 13 05:57:43 EDT 2003
# Whom:                 Paul Chvostek <paul@it.ca>
#
# $FreeBSD$
#

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

MAINTAINER= paul+ports@it.ca
COMMENT=    Test remote system for unsecured mail proxies

USE_PERL5=  yes

NO_WRKSUBDIR=   yes

MAN1=       pxytest.1
PLIST_FILES=    bin/pxytest

pre-patch:
    @${SED} '1s:^#!/usr/bin/perl:#!${PERL}:' < ${_DISTDIR}${DISTFILES} > ${WRKSRC}/pxytest

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

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

.include <bsd.port.mk>