2007-01-09 22:09:17 +01:00
|
|
|
# New ports collection makefile for: qpsmtpd
|
|
|
|
# Date created: 1 January 2007
|
|
|
|
# Whom: Zane C. Bowers
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= qpsmtpd
|
2010-04-27 03:01:41 +02:00
|
|
|
PORTVERSION= 0.84
|
2012-01-05 21:27:18 +01:00
|
|
|
PORTREVISION= 5
|
2008-05-19 15:12:08 +02:00
|
|
|
CATEGORIES= mail perl5
|
2007-08-06 22:45:12 +02:00
|
|
|
MASTER_SITES= http://smtpd.develooper.com/files/
|
|
|
|
PKGNAMEPREFIX= p5-
|
2007-01-09 22:09:17 +01:00
|
|
|
|
2010-04-29 19:32:08 +02:00
|
|
|
MAINTAINER= perl@FreeBSD.org
|
2007-01-09 22:09:17 +01:00
|
|
|
COMMENT= A flexible SMTP daemon written in Perl and featuring a plugin API
|
|
|
|
|
2012-01-05 21:27:18 +01: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-05-01 00:12:26 +02:00
|
|
|
|
|
|
|
OPTIONS = MODPERL "Enable Apache Support via mod_perl" On
|
|
|
|
|
|
|
|
.ifdef WITH_MODPERL
|
2012-07-01 07:42:55 +02:00
|
|
|
USE_APACHE= 20+
|
|
|
|
RUN_DEPENDS+= ${APACHE_PKGNAMEPREFIX}mod_perl2>=0:${PORTSDIR}/www/mod_perl2
|
2010-05-01 00:12:26 +02:00
|
|
|
.endif
|
2007-01-09 22:09:17 +01:00
|
|
|
|
2009-12-26 23:20:35 +01:00
|
|
|
MAKE_JOBS_SAFE= yes
|
2009-05-16 08:27:56 +02:00
|
|
|
|
2007-01-09 22:09:17 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
|
2009-05-01 03:24:57 +02:00
|
|
|
MAN1= qpsmtpd-async.1
|
2007-08-06 22:45:12 +02:00
|
|
|
MAN3= Qpsmtpd::Command.3 \
|
|
|
|
Qpsmtpd::Constants.3 \
|
2007-01-09 22:09:17 +01:00
|
|
|
Qpsmtpd::DSN.3 \
|
2007-08-06 22:45:12 +02:00
|
|
|
Qpsmtpd::ConfigServer.3 \
|
2007-01-09 22:09:17 +01:00
|
|
|
Qpsmtpd::Transaction.3 \
|
|
|
|
Qpsmtpd::Address.3 \
|
|
|
|
Qpsmtpd.3 \
|
|
|
|
Qpsmtpd::Connection.3 \
|
|
|
|
Qpsmtpd::Postfix.3 \
|
|
|
|
Apache::Qpsmtpd.3
|
|
|
|
|
2008-12-25 15:55:17 +01:00
|
|
|
USE_RC_SUBR= qpsmtpd
|
2007-01-09 22:09:17 +01:00
|
|
|
|
2010-01-03 22:17:21 +01:00
|
|
|
SUB_LIST+= PERL=${PERL}
|
2009-05-01 03:24:57 +02:00
|
|
|
SUB_FILES+= pkg-message
|
|
|
|
|
2007-01-09 22:09:17 +01:00
|
|
|
pre-configure:
|
2007-08-06 22:45:12 +02:00
|
|
|
@${RM} ${WRKSRC}/plugins/milter
|
2007-01-09 22:09:17 +01:00
|
|
|
|
|
|
|
post-install:
|
2009-05-01 03:24:57 +02:00
|
|
|
@${MKDIR} ${DATADIR}/
|
2007-08-06 22:45:12 +02:00
|
|
|
@${MKDIR} ${DATADIR}/plugins
|
|
|
|
@(cd ${WRKSRC}/plugins/ && ${COPYTREE_SHARE} \* ${DATADIR}/plugins/)
|
|
|
|
.if !defined(NOPORTDOCS)
|
2009-05-01 03:24:57 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}/
|
2007-08-07 19:12:40 +02:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/README* ${DOCSDIR}/
|
2007-08-06 22:45:12 +02:00
|
|
|
.endif
|
2009-05-01 03:24:57 +02:00
|
|
|
.if !defined(NOPORTEXAMPLES)
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}/
|
|
|
|
@(cd ${WRKSRC}/config.sample/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}/)
|
|
|
|
.endif
|
2007-01-09 22:09:17 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|