summaryrefslogtreecommitdiff
path: root/mail/swaks/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/swaks/Makefile')
-rw-r--r--mail/swaks/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/mail/swaks/Makefile b/mail/swaks/Makefile
new file mode 100644
index 00000000000..8e085a336c3
--- /dev/null
+++ b/mail/swaks/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1 2017/01/08 20:35:55 schmonz Exp $
+
+DISTNAME= swaks-20170101.0
+CATEGORIES= mail
+MASTER_SITES= ${HOMEPAGE}files/
+
+MAINTAINER= schmonz@NetBSD.org
+HOMEPAGE= http://www.jetmore.org/john/code/swaks/
+COMMENT= Featureful, flexible, scriptable SMTP test tool
+LICENSE= gnu-gpl-v2
+
+DEPENDS+= p5-MIME-Base64-[0-9]*:../../converters/p5-MIME-Base64
+DEPENDS+= p5-Digest-MD5-[0-9]*:../../security/p5-Digest-MD5
+DEPENDS+= p5-Digest-SHA-[0-9]*:../../security/p5-Digest-SHA
+#DEPENDS+= p5-Authen-NTLM (not in pkgsrc)
+DEPENDS+= p5-Authen-SASL-[0-9]*:../../security/p5-Authen-SASL
+DEPENDS+= p5-Net-DNS-[0-9]*:../../net/p5-Net-DNS
+DEPENDS+= p5-Time-Local-[0-9]*:../../time/p5-Time-Local
+
+USE_TOOLS+= perl:run
+USE_LANGUAGES= # none
+REPLACE_PERL= ${PKGBASE}
+
+NO_BUILD= yes
+
+INSTALLATION_DIRS= bin
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PKGBASE} ${DESTDIR}${PREFIX}/bin/${PKGBASE}
+
+.include "options.mk"
+
+.include "../../mk/bsd.pkg.mk"