blob: 5260c2e84efe714e28504450554b0af10102a52b (
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
35
|
# 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
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>
|