freebsd-ports/mail/rlytest/Makefile
Mathieu Arnold 7c47779cb9 Fix usage of ${PERL5}.
${PERL5} points to a specific version of perl, say, perl5.22.1, it is
fine to use it in a ports Makefile to do Perly things, but ports using
it must use ${PERL}, that points to /usr/local/bin/perl so that if the
minor version is updated, the shebang keep working.

While there, make some ports use shebangfix, regen a few patches, and
bump PORTREVISION where a shebang went from PERL5 to PERL.

PR:		205367
With hat:	portmgr
Sponsored by:	Absolight
2015-12-17 17:19:48 +00:00

32 lines
716 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= > ${WRKSRC}/${PORTNAME}
NO_WRKSUBDIR= yes
USES= perl5 shebangfix
SHEBANG_FILES= ${PORTNAME}
PLIST_FILES= bin/rlytest man/man1/rlytest.1.gz
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>