mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
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
42 lines
1.8 KiB
Makefile
42 lines
1.8 KiB
Makefile
# Created by: janos.mohacsi@bsd.hu
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= anomy-sanitizer
|
|
PORTVERSION= 1.76
|
|
PORTREVISION= 6
|
|
CATEGORIES= mail security
|
|
MASTER_SITES= http://mailtools.anomy.net/dist/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Sanitize and clean incoming/outgoing mail
|
|
|
|
USES= perl5 shebangfix
|
|
SHEBANG_FILES= bin/sanitizer.pl bin/simplify.pl
|
|
NO_BUILD= yes
|
|
WRKSRC= ${WRKDIR}/anomy
|
|
DOCS= CHANGELOG.sanitizer CREDITS README.sanitizer sanitizer.html
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/Anomy/Sanitizer/
|
|
${INSTALL_DATA} ${WRKSRC}/bin/Anomy/HTMLCleaner.pm ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/Anomy
|
|
${INSTALL_DATA} ${WRKSRC}/bin/Anomy/Log.pm ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/Anomy
|
|
${INSTALL_DATA} ${WRKSRC}/bin/Anomy/MIMEStream.pm ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/Anomy
|
|
${INSTALL_DATA} ${WRKSRC}/bin/Anomy/Sanitizer.pm ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/Anomy
|
|
${INSTALL_DATA} ${WRKSRC}/bin/Anomy/Sanitizer/FProt.pm ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/Anomy/Sanitizer/
|
|
${INSTALL_DATA} ${WRKSRC}/bin/Anomy/Sanitizer/FileTypes.pm ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/Anomy/Sanitizer/
|
|
${INSTALL_DATA} ${WRKSRC}/bin/Anomy/Sanitizer/MacroScanner.pm ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/Anomy/Sanitizer/
|
|
${INSTALL_DATA} ${WRKSRC}/bin/Anomy/Sanitizer/Scoring.pm ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/Anomy/Sanitizer/
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/sanitizer.pl ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/simplify.pl ${STAGEDIR}${PREFIX}/bin
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${FILESDIR}/sanitizer.cfg.sample ${STAGEDIR}${PREFIX}/etc/
|
|
@${ECHO_MSG} ""
|
|
@${ECHO_MSG} "Sample config installed at ${PREFIX}/etc/sanitizer.cfg.sample"
|
|
@${ECHO_MSG} ""
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|