2004-10-12 16:23:31 +02:00
|
|
|
# New ports collection makefile for: swaks
|
|
|
|
# Date created: 29 Sep 2004
|
|
|
|
# Whom: Oliver Eikemeier
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= swaks
|
2010-02-12 18:51:51 +01:00
|
|
|
PORTVERSION= 20100211.0
|
2004-10-12 16:23:31 +02:00
|
|
|
CATEGORIES= mail
|
2010-02-12 18:51:51 +01:00
|
|
|
MASTER_SITES= http://jetmore.org/john/code/swaks/
|
2004-10-12 16:23:31 +02:00
|
|
|
|
2009-01-29 00:25:21 +01:00
|
|
|
MAINTAINER= beat@FreeBSD.org
|
2004-10-12 16:23:31 +02:00
|
|
|
COMMENT= Swiss Army Knife SMTP transaction tester
|
|
|
|
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
|
2006-11-28 11:35:42 +01:00
|
|
|
OPTIONS= PERL_NET_DNS "Add MX lookup support" off \
|
|
|
|
PERL_NET_SSLEAY "Add TLS support" off \
|
|
|
|
PERL_AUTHEN_NTLM "Add support for AUTH NTLM" off
|
|
|
|
|
2004-10-12 16:23:31 +02:00
|
|
|
USE_PERL5_RUN= yes
|
|
|
|
|
2006-11-28 11:35:42 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(WITH_PERL_NET_DNS)
|
|
|
|
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_PERL_NET_SSLEAY)
|
|
|
|
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Net/SSLeay.pm:${PORTSDIR}/security/p5-Net-SSLeay
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_PERL_AUTHEN_NTLM)
|
|
|
|
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Authen/NTLM.pm:${PORTSDIR}/security/p5-Authen-NTLM
|
|
|
|
.endif
|
|
|
|
|
2004-10-12 16:23:31 +02:00
|
|
|
do-build:
|
|
|
|
@${SED} -e '1s|/usr/bin/perl|${PERL}|' \
|
2010-02-12 18:51:51 +01:00
|
|
|
${WRKSRC}/${PORTNAME} > ${WRKSRC}/${PORTNAME}.pl
|
2004-10-12 16:23:31 +02:00
|
|
|
|
|
|
|
do-install:
|
2007-08-04 13:41:30 +02:00
|
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin/${PORTNAME}
|
2004-10-12 16:23:31 +02:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
2006-11-28 11:35:42 +01:00
|
|
|
.include <bsd.port.post.mk>
|