mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +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
39 lines
1.2 KiB
Makefile
39 lines
1.2 KiB
Makefile
# Created by: Cheng-Lung Sung <clsung@dragon2.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= Mail-Graph
|
|
PORTVERSION= 0.14
|
|
PORTREVISION= 8
|
|
CATEGORIES= mail perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= perl@FreeBSD.org
|
|
COMMENT= Perl module for drawing graphical stats for mails/spams
|
|
|
|
RUN_DEPENDS= p5-GD>=0:${PORTSDIR}/graphics/p5-GD \
|
|
p5-GD-Graph>=0:${PORTSDIR}/graphics/p5-GD-Graph \
|
|
p5-GD-TextUtil>=0:${PORTSDIR}/graphics/p5-GD-TextUtil \
|
|
p5-Date-Calc>=0:${PORTSDIR}/devel/p5-Date-Calc
|
|
BUILD_DEPENDS:= ${RUN_DEPENDS}
|
|
|
|
USES= perl5 shebangfix
|
|
USE_PERL5= configure
|
|
EXAMPLESCRIPT= samples/*pl
|
|
EXAMPLEDUMMY= samples/index/dummy.txt
|
|
EXAMPLEOUTPUT= samples/output/w3c.png samples/output/spam.css
|
|
EXAMPLEARCHIVE= samples/archive/*.gz
|
|
|
|
SHEBANG_FILES= samples/*.pl
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/archive \
|
|
${STAGEDIR}${EXAMPLESDIR}/index ${STAGEDIR}${EXAMPLESDIR}/output
|
|
(cd ${WRKSRC} && \
|
|
${INSTALL_SCRIPT} ${EXAMPLESCRIPT} ${STAGEDIR}${EXAMPLESDIR} && \
|
|
${INSTALL_SCRIPT} ${EXAMPLEDUMMY} ${STAGEDIR}${EXAMPLESDIR}/index && \
|
|
${INSTALL_SCRIPT} ${EXAMPLEOUTPUT} ${STAGEDIR}${EXAMPLESDIR}/output && \
|
|
${INSTALL_SCRIPT} ${EXAMPLEARCHIVE} ${STAGEDIR}${EXAMPLESDIR}/archive)
|
|
|
|
.include <bsd.port.mk>
|