mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
63f3e3b0d4
- s/USE_APACHE= 20+/USE_APACHE= 22+/ - unify s/YES/yes/ - cleanup APACHE_VERSION <= 22 usage - add entry to MOVED with hat apache@
78 lines
1.9 KiB
Makefile
78 lines
1.9 KiB
Makefile
# New ports collection makefile for: qpsmtpd
|
|
# Date created: 1 January 2007
|
|
# Whom: Zane C. Bowers
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= qpsmtpd
|
|
PORTVERSION= 0.84
|
|
PORTREVISION= 6
|
|
CATEGORIES= mail perl5
|
|
MASTER_SITES= http://smtpd.develooper.com/files/
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= perl@FreeBSD.org
|
|
COMMENT= A flexible SMTP daemon written in Perl and featuring a plugin API
|
|
|
|
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}
|
|
|
|
OPTIONS_DEFINE= MODPERL
|
|
OPTIONS_DEFAULT=MODPERL
|
|
MOD_PERL_DESC= "Apache Support via mod_perl"
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MMODPERL}
|
|
USE_APACHE_RUN= 22+
|
|
RUN_DEPENDS+= ${APACHE_PKGNAMEPREFIX}mod_perl2>=0:${PORTSDIR}/www/mod_perl2
|
|
.endif
|
|
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN1= qpsmtpd-async.1
|
|
MAN3= Qpsmtpd::Command.3 \
|
|
Qpsmtpd::Constants.3 \
|
|
Qpsmtpd::DSN.3 \
|
|
Qpsmtpd::ConfigServer.3 \
|
|
Qpsmtpd::Transaction.3 \
|
|
Qpsmtpd::Address.3 \
|
|
Qpsmtpd.3 \
|
|
Qpsmtpd::Connection.3 \
|
|
Qpsmtpd::Postfix.3 \
|
|
Apache::Qpsmtpd.3
|
|
|
|
USE_RC_SUBR= qpsmtpd
|
|
|
|
SUB_LIST+= PERL=${PERL}
|
|
SUB_FILES+= pkg-message
|
|
|
|
pre-configure:
|
|
@${RM} ${WRKSRC}/plugins/milter
|
|
|
|
post-install:
|
|
@${MKDIR} ${DATADIR}/
|
|
@${MKDIR} ${DATADIR}/plugins
|
|
@(cd ${WRKSRC}/plugins/ && ${COPYTREE_SHARE} \* ${DATADIR}/plugins/)
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}/
|
|
@${INSTALL_DATA} ${WRKSRC}/README* ${DOCSDIR}/
|
|
.endif
|
|
.if !defined(NOPORTEXAMPLES)
|
|
@${MKDIR} ${EXAMPLESDIR}/
|
|
@(cd ${WRKSRC}/config.sample/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}/)
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|