eee58d187e
Before, we had: site_perl : lib/perl5/site_perl/5.18 site_perl/perl_arch : lib/perl5/site_perl/5.18/mach perl_man3 : lib/perl5/5.18/man/man3 Now we have: site_perl : lib/perl5/site_perl site_arch : lib/perl5/site_perl/mach/5.18 perl_man3 : lib/perl5/site_perl/man/man3 Modules without any .so will be installed at the same place regardless of the Perl version, minimizing the upgrade when the major Perl version is changed. It uses a version dependent directory for modules with compiled bits. As PERL_ARCH is no longer needed in plists, it has been removed from PLIST_SUB. The USE_PERL5=fixpacklist keyword is removed, the .packlist file is now always removed, as is perllocal.pod. The old site_perl and site_perl/arch directories have been kept in the default Perl @INC for all Perl ports, and will be phased out as these old Perl versions expire. PR: 194969 Differential Revision: https://reviews.freebsd.org/D1019 Exp-run by: antoine Reviewed by: perl@ Approved by: portmgr
57 lines
1.6 KiB
Makefile
57 lines
1.6 KiB
Makefile
# Created by: Zane C. Bowers
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= qpsmtpd
|
|
PORTVERSION= 0.93
|
|
PORTREVISION= 1
|
|
CATEGORIES= mail perl5
|
|
MASTER_SITES= https://github.com/smtpd/qpsmtpd/archive/
|
|
PKGNAMEPREFIX= p5-
|
|
DISTFILES= v${PORTVERSION}${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= noc-ports@biglist.com
|
|
COMMENT= Flexible SMTP daemon written in Perl and featuring a plugin API
|
|
|
|
BUILD_DEPENDS= spamd:${PORTSDIR}/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 DOCS EXAMPLES
|
|
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
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
USES= perl5
|
|
USE_PERL5= configure
|
|
|
|
USE_RC_SUBR= qpsmtpd
|
|
|
|
SUB_LIST+= PERL=${PERL}
|
|
SUB_FILES+= pkg-message
|
|
|
|
pre-configure:
|
|
@${RM} ${WRKSRC}/plugins/milter
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}/plugins
|
|
(cd ${WRKSRC}/plugins && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/plugins)
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README* ${STAGEDIR}${DOCSDIR}
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
(cd ${WRKSRC}/config.sample/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
|
|
|
|
.include <bsd.port.mk>
|