2013-03-29 00:44:53 +00:00
|
|
|
# Created by: Zane C. Bowers
|
2007-01-09 21:09:17 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= qpsmtpd
|
2014-06-27 20:41:43 +00:00
|
|
|
PORTVERSION= 0.93
|
2015-05-18 17:07:45 +00:00
|
|
|
DISTVERSIONPREFIX= v
|
2017-06-21 18:53:21 +00:00
|
|
|
PORTREVISION= 3
|
2008-05-19 13:12:08 +00:00
|
|
|
CATEGORIES= mail perl5
|
2007-08-06 20:45:12 +00:00
|
|
|
PKGNAMEPREFIX= p5-
|
2007-01-09 21:09:17 +00:00
|
|
|
|
2014-06-27 20:41:43 +00:00
|
|
|
MAINTAINER= noc-ports@biglist.com
|
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
|
|
|
|
2016-04-01 14:16:16 +00:00
|
|
|
BUILD_DEPENDS= spamd:mail/spamassassin \
|
|
|
|
p5-Mail-Tools>=0:mail/p5-Mail-Tools \
|
|
|
|
p5-Net-DNS>=0.39:dns/p5-Net-DNS \
|
2017-06-21 18:53:21 +00:00
|
|
|
p5-Net-IP>=0:net-mgmt/p5-Net-IP
|
2012-01-05 20:27:18 +00:00
|
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
2010-04-30 22:12:26 +00:00
|
|
|
|
2014-02-06 12:09:50 +00:00
|
|
|
OPTIONS_DEFINE= MODPERL DOCS EXAMPLES
|
2012-07-24 19:24:22 +00:00
|
|
|
OPTIONS_DEFAULT=MODPERL
|
|
|
|
MOD_PERL_DESC= "Apache Support via mod_perl"
|
2010-04-30 22:12:26 +00:00
|
|
|
|
2015-05-18 17:07:45 +00:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= smtpd
|
|
|
|
|
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+
|
2016-04-01 14:16:16 +00:00
|
|
|
RUN_DEPENDS+= ${APACHE_PKGNAMEPREFIX}mod_perl2>=0:www/mod_perl2
|
2010-04-30 22:12:26 +00:00
|
|
|
.endif
|
2007-01-09 21:09:17 +00:00
|
|
|
|
2013-08-02 18:52:07 +00:00
|
|
|
USES= perl5
|
|
|
|
USE_PERL5= configure
|
2015-12-21 20:54:31 +00:00
|
|
|
NO_ARCH= yes
|
2007-01-09 21:09:17 +00:00
|
|
|
|
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:
|
2014-02-06 12:09:50 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}/plugins
|
|
|
|
(cd ${WRKSRC}/plugins && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/plugins)
|
2015-12-21 20:54:31 +00:00
|
|
|
|
|
|
|
post-install-DOCS-on:
|
2014-02-06 12:09:50 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README* ${STAGEDIR}${DOCSDIR}
|
2015-12-21 20:54:31 +00:00
|
|
|
|
|
|
|
post-install-EXAMPLES-on:
|
2014-02-06 12:09:50 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
(cd ${WRKSRC}/config.sample/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
|
2007-01-09 21:09:17 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|