2013-03-29 00:44:53 +00:00
|
|
|
# Created by: Zane C. Bowers
|
2007-01-09 21:09:17 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= qpsmtpd
|
2010-04-27 01:01:41 +00:00
|
|
|
PORTVERSION= 0.84
|
2012-07-24 19:24:22 +00:00
|
|
|
PORTREVISION= 6
|
2008-05-19 13:12:08 +00:00
|
|
|
CATEGORIES= mail perl5
|
2007-08-06 20:45:12 +00:00
|
|
|
MASTER_SITES= http://smtpd.develooper.com/files/
|
|
|
|
PKGNAMEPREFIX= p5-
|
2007-01-09 21:09:17 +00:00
|
|
|
|
2010-04-29 17:32:08 +00:00
|
|
|
MAINTAINER= perl@FreeBSD.org
|
2013-03-29 00:44:53 +00:00
|
|
|
COMMENT= Flexible SMTP daemon written in Perl and featuring a plugin API
|
2007-01-09 21:09:17 +00:00
|
|
|
|
2012-01-05 20:27:18 +00:00
|
|
|
BUILD_DEPENDS= spamd:${PORTSDIR}/mail/p5-Mail-SpamAssassin \
|
|
|
|
p5-Data-Dumper>=0:${PORTSDIR}/devel/p5-Data-Dumper \
|
|
|
|
p5-File-Temp>=0:${PORTSDIR}/devel/p5-File-Temp \
|
|
|
|
p5-Mail-Tools>=0:${PORTSDIR}/mail/p5-Mail-Tools \
|
|
|
|
p5-MIME-Base64>=0:${PORTSDIR}/converters/p5-MIME-Base64 \
|
|
|
|
p5-Net-DNS>=0.39:${PORTSDIR}/dns/p5-Net-DNS \
|
|
|
|
p5-Net-IP>=0:${PORTSDIR}/net-mgmt/p5-Net-IP \
|
|
|
|
p5-Time-HiRes>0:${PORTSDIR}/devel/p5-Time-HiRes
|
|
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
2010-04-30 22:12:26 +00:00
|
|
|
|
2012-07-24 19:24:22 +00:00
|
|
|
OPTIONS_DEFINE= MODPERL
|
|
|
|
OPTIONS_DEFAULT=MODPERL
|
|
|
|
MOD_PERL_DESC= "Apache Support via mod_perl"
|
2010-04-30 22:12:26 +00:00
|
|
|
|
2012-07-24 19:24:22 +00:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MMODPERL}
|
2012-08-18 14:29:08 +00:00
|
|
|
USE_APACHE_RUN= 22+
|
2012-07-01 05:42:55 +00:00
|
|
|
RUN_DEPENDS+= ${APACHE_PKGNAMEPREFIX}mod_perl2>=0:${PORTSDIR}/www/mod_perl2
|
2010-04-30 22:12:26 +00:00
|
|
|
.endif
|
2007-01-09 21:09:17 +00:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
2013-08-02 18:52:07 +00:00
|
|
|
USES= perl5
|
|
|
|
USE_PERL5= configure
|
2007-01-09 21:09:17 +00:00
|
|
|
|
2009-05-01 01:24:57 +00:00
|
|
|
MAN1= qpsmtpd-async.1
|
2007-08-06 20:45:12 +00:00
|
|
|
MAN3= Qpsmtpd::Command.3 \
|
|
|
|
Qpsmtpd::Constants.3 \
|
2007-01-09 21:09:17 +00:00
|
|
|
Qpsmtpd::DSN.3 \
|
2007-08-06 20:45:12 +00:00
|
|
|
Qpsmtpd::ConfigServer.3 \
|
2007-01-09 21:09:17 +00:00
|
|
|
Qpsmtpd::Transaction.3 \
|
|
|
|
Qpsmtpd::Address.3 \
|
|
|
|
Qpsmtpd.3 \
|
|
|
|
Qpsmtpd::Connection.3 \
|
|
|
|
Qpsmtpd::Postfix.3 \
|
|
|
|
Apache::Qpsmtpd.3
|
|
|
|
|
2008-12-25 14:55:17 +00:00
|
|
|
USE_RC_SUBR= qpsmtpd
|
2007-01-09 21:09:17 +00:00
|
|
|
|
2010-01-03 21:17:21 +00:00
|
|
|
SUB_LIST+= PERL=${PERL}
|
2009-05-01 01:24:57 +00:00
|
|
|
SUB_FILES+= pkg-message
|
|
|
|
|
2007-01-09 21:09:17 +00:00
|
|
|
pre-configure:
|
2007-08-06 20:45:12 +00:00
|
|
|
@${RM} ${WRKSRC}/plugins/milter
|
2007-01-09 21:09:17 +00:00
|
|
|
|
|
|
|
post-install:
|
2009-05-01 01:24:57 +00:00
|
|
|
@${MKDIR} ${DATADIR}/
|
2007-08-06 20:45:12 +00:00
|
|
|
@${MKDIR} ${DATADIR}/plugins
|
|
|
|
@(cd ${WRKSRC}/plugins/ && ${COPYTREE_SHARE} \* ${DATADIR}/plugins/)
|
|
|
|
.if !defined(NOPORTDOCS)
|
2009-05-01 01:24:57 +00:00
|
|
|
@${MKDIR} ${DOCSDIR}/
|
2007-08-07 17:12:40 +00:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/README* ${DOCSDIR}/
|
2007-08-06 20:45:12 +00:00
|
|
|
.endif
|
2009-05-01 01:24:57 +00:00
|
|
|
.if !defined(NOPORTEXAMPLES)
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}/
|
|
|
|
@(cd ${WRKSRC}/config.sample/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}/)
|
|
|
|
.endif
|
2007-01-09 21:09:17 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|