aboutsummaryrefslogtreecommitdiffstats
path: root/security/pxytest/Makefile
blob: c727b94d2362117f4756f4b03e0c70a7f11b2607 (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
# Created by: Paul Chvostek <paul@it.ca>
# $FreeBSD$

PORTNAME=   pxytest
PORTVERSION=    1.36
CATEGORIES= security
MASTER_SITES=   http://www.unicom.com/files/
EXTRACT_SUFX=   .gz

MAINTAINER= ports@FreeBSD.org
COMMENT=    Test remote system for unsecured mail proxies

EXTRACT_CMD=    ${GZIP_CMD}
EXTRACT_BEFORE_ARGS=    -dc
EXTRACT_AFTER_ARGS= > ${WRKDIR}/${PORTNAME}

NO_WRKSUBDIR=   yes

USES=       perl5

MAN1=       pxytest.1
PLIST_FILES=    bin/pxytest

NO_STAGE=   yes
post-patch:
    @${REINPLACE_CMD} -e \
        's:^#!.*:#!${PERL}:' ${WRKSRC}/${PORTNAME}

do-build:
    @cd ${WRKSRC} && pod2man ${PORTNAME} > ${PORTNAME}.1

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

.include <bsd.port.mk>