1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/mail/rlytest/Makefile
2014-02-26 09:37:59 +00:00

34 lines
756 B
Makefile

# Created by: Paul Chvostek <paul@it.ca>
# $FreeBSD$
PORTNAME= rlytest
PORTVERSION= 1.22
CATEGORIES= mail security
MASTER_SITES= http://www.unicom.com/files/
EXTRACT_SUFX= .gz
MAINTAINER= ports@FreeBSD.org
COMMENT= Test remote system for unsecured mail relay
EXTRACT_CMD= ${GZIP_CMD}
EXTRACT_BEFORE_ARGS= -dc
EXTRACT_AFTER_ARGS= > ${WRKDIR}/${PORTNAME}
NO_WRKSUBDIR= yes
USES= perl5
PLIST_FILES= bin/rlytest man/man1/rlytest.1.gz
post-patch:
@${REINPLACE_CMD} -e 's|^#!.*|#!${PERL}|' ${WRKSRC}/${PORTNAME}
do-build:
@cd ${WRKSRC} && pod2man ${PORTNAME} > ${PORTNAME}.1
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>