1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/mail/swaks/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

34 lines
897 B
Makefile

# Created by: Oliver Eikemeier
# $FreeBSD$
PORTNAME= swaks
PORTVERSION= 20130209.0
CATEGORIES= mail
MASTER_SITES= http://jetmore.org/john/code/swaks/
MAINTAINER= beat@FreeBSD.org
COMMENT= Swiss Army Knife SMTP transaction tester
LICENSE= GPLv2
PLIST_FILES= bin/${PORTNAME}
OPTIONS_DEFINE= PERL_NET_DNS PERL_NET_SSLEAY PERL_AUTHEN_NTLM
PERL_NET_DNS_DESC= Add MX lookup support
PERL_NET_SSLEAY_DESC= Add TLS support
PERL_AUTHEN_NTLM_DESC= Add support for AUTH NTLM
USES= perl5 shebangfix
SHEBANG_FILES= ${PORTNAME}
USE_PERL5= run
NO_BUILD= yes
PERL_NET_DNS_RUN_DEPENDS= p5-Net-DNS>=0:${PORTSDIR}/dns/p5-Net-DNS
PERL_NET_SSLEAY_RUN_DEPENDS= p5-Net-SSLeay>=0:${PORTSDIR}/security/p5-Net-SSLeay
PERL_AUTHEN_NTLM_RUN_DEPENDS= p5-Authen-NTLM>=0:${PORTSDIR}/security/p5-Authen-NTLM
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>