summaryrefslogtreecommitdiffstats
path: root/mail/pop-before-smtp/Makefile
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-10-06 03:25:48 +0000
committeredwin <edwin@FreeBSD.org>2003-10-06 03:25:48 +0000
commitb95c1ac9f206336d14cd290cbe75ca9b3eec7b01 (patch)
tree9ef0f79d0cafdff3f2f4706c0b4b8620fd440576 /mail/pop-before-smtp/Makefile
parentd880beb356c674251f7c0ef3acb90a9e5aa1bbd1 (diff)
downloadFreeBSD-ports-b95c1ac9f206336d14cd290cbe75ca9b3eec7b01.zip
FreeBSD-ports-b95c1ac9f206336d14cd290cbe75ca9b3eec7b01.tar.gz
New Port: mail/pop-before-smtp - smtp authentication tool
A log parser to identify valid POP/IMAP logins for later smtp authentication PR: ports/49944 Submitted by: Eric W. Bates <ericx@vineyard.net>
Diffstat (limited to 'mail/pop-before-smtp/Makefile')
-rw-r--r--mail/pop-before-smtp/Makefile66
1 files changed, 66 insertions, 0 deletions
diff --git a/mail/pop-before-smtp/Makefile b/mail/pop-before-smtp/Makefile
new file mode 100644
index 0000000..ed67b4d
--- /dev/null
+++ b/mail/pop-before-smtp/Makefile
@@ -0,0 +1,66 @@
+# New ports collection makefile for: pop-before-smtp
+# Date created: March 7, 2003
+# Whom: Eric W. Bates
+#
+# $FreeBSD$
+#
+
+PORTNAME= pop-before-smtp
+PORTVERSION= 1.32
+CATEGORIES= mail perl5
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= popbsmtp
+
+MAINTAINER= ericx@vineyard.net
+COMMENT= A log parser to identify valid POP/IMAP logins for later smtp
+
+RUN_DEPENDS= ${SITE_PERL}/File/Tail.pm:${PORTSDIR}/devel/p5-File-Tail \
+ ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes \
+ ${SITE_PERL}/Net/Netmask.pm:${PORTSDIR}/net/p5-Net-Netmask \
+ ${SITE_PERL}/Date/Parse.pm:${PORTSDIR}/devel/p5-TimeDate \
+ ${SITE_PERL}/Date/Format.pm:${PORTSDIR}/devel/p5-TimeDate
+
+NO_BUILD= yes
+USE_PERL5= yes
+USE_REINPLACE= yes
+
+PKGMESSAGE= ${WRKDIR}/.pkg-message
+
+DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
+
+# Override this as you see fit
+POPBSMTP_RC_SCRIPT?= ${PREFIX}/etc/rc.d/pop-before-smtp.sh.sample
+
+post-patch:
+ @${REINPLACE_CMD} 's|^#!/usr/bin/perl|#!${PERL}|; \
+ s|/etc/postfix/pop-before-smtp|${PREFIX}/etc/postfix/pop-before-smtp|g;' \
+ ${WRKSRC}/pop-before-smtp
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/pop-before-smtp ${PREFIX}/sbin
+ ${INSTALL_SCRIPT} \
+ ${WRKSRC}/pop-before-smtp-conf.pl \
+ ${PREFIX}/etc/pop-before-smtp-conf.pl.sample
+ @${SED} -e "s|%PREFIX%|${PREFIX}|g" \
+ < ${FILESDIR}/pop-before-smtp.sh > ${POPBSMTP_RC_SCRIPT}
+ @${CHMOD} 755 ${POPBSMTP_RC_SCRIPT}
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for file in COPYING ChangeLog README TODO
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
+.for file in README.QUICKSTART README.rootless-install
+ ${INSTALL_DATA} ${WRKSRC}/contrib/${file} ${DOCSDIR}
+.endfor
+ @${MKDIR} ${DOCSDIR}/popa3d
+.for file in README popa3d-0.4.patch
+ ${INSTALL_DATA} ${WRKSRC}/contrib/popa3d/${file} ${DOCSDIR}/popa3d
+.endfor
+.endif
+
+post-install:
+ @${SED} -e "s|%PREFIX%|${PREFIX}|" \
+ ${.CURDIR}/pkg-message > ${PKGMESSAGE}
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
OpenPOWER on IntegriCloud