aboutsummaryrefslogtreecommitdiff
path: root/mail/p5-qpsmtpd/Makefile
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2009-05-01 01:24:57 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2009-05-01 01:24:57 +0000
commitc5a8c79280c35de8a1d8a3ea8a20dabb6635b97a (patch)
tree5c2060c5c747fe85f08b23857ff50731217a58ed /mail/p5-qpsmtpd/Makefile
parenta32f6983f252337c3605764ef27487d70c0bb932 (diff)
Notes
Diffstat (limited to 'mail/p5-qpsmtpd/Makefile')
-rw-r--r--mail/p5-qpsmtpd/Makefile47
1 files changed, 13 insertions, 34 deletions
diff --git a/mail/p5-qpsmtpd/Makefile b/mail/p5-qpsmtpd/Makefile
index 991da176ba06..eb9121e6a8e5 100644
--- a/mail/p5-qpsmtpd/Makefile
+++ b/mail/p5-qpsmtpd/Makefile
@@ -6,32 +6,21 @@
#
PORTNAME= qpsmtpd
-PORTVERSION= 0.40
-PORTREVISION= 5
+PORTVERSION= 0.81
CATEGORIES= mail perl5
MASTER_SITES= http://smtpd.develooper.com/files/
PKGNAMEPREFIX= p5-
-DISTNAME= qpsmtpd-${PORTVERSION}
MAINTAINER= pgollucci@FreeBSD.org
COMMENT= A flexible SMTP daemon written in Perl and featuring a plugin API
-RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS \
- ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 \
- ${SITE_PERL}/Mail/Header.pm:${PORTSDIR}/mail/p5-Mail-Tools \
- ${SITE_PERL}/IO/Socket/SSL.pm:${PORTSDIR}/security/p5-IO-Socket-SSL \
- spamd:${PORTSDIR}/mail/p5-Mail-SpamAssassin \
- ${SITE_PERL}/${PERL_ARCH}/Net/DNS/Resolver.pm:${PORTSDIR}/dns/p5-Net-DNS \
- ${SITE_PERL}/Date/Parse.pm:${PORTSDIR}/devel/p5-TimeDate \
- ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \
- ${SITE_PERL}/${PERL_ARCH}/Geo/IP.pm:${PORTSDIR}/net/p5-Geo-IP \
- ${SITE_PERL}/Net/LDAP.pm:${PORTSDIR}/net/p5-perl-ldap \
- ${SITE_PERL}/Digest/HMAC_MD5.pm:${PORTSDIR}/security/p5-Digest-HMAC \
- ${SITE_PERL}/Clamd.pm:${PORTSDIR}/mail/p5-Clamd
+RUN_DEPENDS= spamd:${PORTSDIR}/mail/p5-Mail-SpamAssassin \
+ mod_perl2>=0:${PORTSDIR}/www/mod_perl2
WRKSRC= ${WRKDIR}/${DISTNAME}
PERL_CONFIGURE= yes
+MAN1= qpsmtpd-async.1
MAN3= Qpsmtpd::Command.3 \
Qpsmtpd::Constants.3 \
Qpsmtpd::DSN.3 \
@@ -45,33 +34,23 @@ MAN3= Qpsmtpd::Command.3 \
USE_RC_SUBR= qpsmtpd
+SUB_LIST+= PORTNAME=${PORTNAME}
+SUB_FILES+= pkg-message
+
pre-configure:
@${RM} ${WRKSRC}/plugins/milter
post-install:
- @${MKDIR} ${EXAMPLESDIR}
- @${MKDIR} ${DATADIR}
+ @${MKDIR} ${DATADIR}/
@${MKDIR} ${DATADIR}/plugins
@(cd ${WRKSRC}/plugins/ && ${COPYTREE_SHARE} \* ${DATADIR}/plugins/)
- @(cd ${WRKSRC}/config.sample/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}/)
.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${DOCSDIR}/
@${INSTALL_DATA} ${WRKSRC}/README* ${DOCSDIR}/
.endif
- @${ECHO_MSG}
- @${ECHO_MSG}
- @${ECHO_MSG} '*****************************************************************'
- @${ECHO_MSG}
- @${ECHO_MSG} "Please read http://wiki.qpsmtpd.org/ for more info about"
- @${ECHO_MSG} "installation."
- @${ECHO_MSG}
- @${ECHO_MSG} "The example config can be found in "${PREFIX}"/share/examples/"${PORTNAME}"/"
- @${ECHO_MSG}
- @${ECHO_MSG} "The plugins can be found in "${PREFIX}"/share/"${PORTNAME}"/plugins/"
- @${ECHO_MSG}
- @${ECHO_MSG} "This port does also not make any assumptions about what user you"
- @${ECHO_MSG} "wish to use or install location."
- @${ECHO_MSG}
- @${ECHO_MSG} '*****************************************************************'
+.if !defined(NOPORTEXAMPLES)
+ @${MKDIR} ${EXAMPLESDIR}/
+ @(cd ${WRKSRC}/config.sample/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}/)
+.endif
.include <bsd.port.mk>