1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/www/p5-Jifty/Makefile
Mathieu Arnold eee58d187e Change the way Perl modules are installed, update the default Perl to 5.18.
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
2014-11-26 13:08:24 +00:00

111 lines
5.6 KiB
Makefile

# Created by: Anton Berezin <tobez@FreeBSD.org>
# $FreeBSD$
PORTNAME= Jifty
PORTVERSION= 1.10518
PORTREVISION= 2
CATEGORIES= www perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:SARTAK
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Jifty -- Just Do It -- Yet another web framework
BUILD_DEPENDS= p5-App-CLI>=0.03:${PORTSDIR}/devel/p5-App-CLI \
p5-CGI-Cookie-Splitter>=0:${PORTSDIR}/www/p5-CGI-Cookie-Splitter \
p5-CGI-Emulate-PSGI>=0.06:${PORTSDIR}/www/p5-CGI-Emulate-PSGI \
p5-CSS-Squish>=0.05:${PORTSDIR}/textproc/p5-CSS-Squish \
p5-Cache-Cache>0:${PORTSDIR}/devel/p5-Cache-Cache \
p5-Calendar-Simple>0:${PORTSDIR}/devel/p5-Calendar-Simple \
p5-Carp-Clan>=0:${PORTSDIR}/devel/p5-Carp-Clan \
p5-Class-Accessor>0:${PORTSDIR}/devel/p5-Class-Accessor \
p5-Class-Accessor-Named>=0:${PORTSDIR}/devel/p5-Class-Accessor-Named \
p5-Class-Container>0:${PORTSDIR}/devel/p5-Class-Container \
p5-Class-Data-Inheritable>0:${PORTSDIR}/devel/p5-Class-Data-Inheritable \
p5-Class-Trigger>=0.12:${PORTSDIR}/devel/p5-Class-Trigger \
p5-Clone>0:${PORTSDIR}/devel/p5-Clone \
p5-Crypt-CBC>0:${PORTSDIR}/security/p5-Crypt-CBC \
p5-Crypt-Rijndael>0:${PORTSDIR}/security/p5-Crypt-Rijndael \
p5-DBD-SQLite>=1.11:${PORTSDIR}/databases/p5-DBD-SQLite \
p5-Data-Page>0:${PORTSDIR}/databases/p5-Data-Page \
p5-Data-UUID>0:${PORTSDIR}/devel/p5-Data-UUID \
p5-Date-Manip>0:${PORTSDIR}/devel/p5-Date-Manip \
p5-DateTime>0:${PORTSDIR}/devel/p5-DateTime \
p5-Devel-Cover>0:${PORTSDIR}/devel/p5-Devel-Cover \
p5-Email-Folder>0:${PORTSDIR}/mail/p5-Email-Folder \
p5-Email-LocalDelivery>0:${PORTSDIR}/mail/p5-Email-LocalDelivery \
p5-Email-MIME>0:${PORTSDIR}/mail/p5-Email-MIME \
p5-Email-MIME-CreateHTML>0:${PORTSDIR}/mail/p5-Email-MIME-CreateHTML \
p5-Email-MIME-ContentType>0:${PORTSDIR}/mail/p5-Email-MIME-ContentType \
p5-Email-Send>=2.00:${PORTSDIR}/mail/p5-Email-Send \
p5-Email-Simple>=2.100:${PORTSDIR}/mail/p5-Email-Simple \
p5-Exporter-Lite>0:${PORTSDIR}/devel/p5-Exporter-Lite \
p5-File-Find-Rule>0:${PORTSDIR}/devel/p5-File-Find-Rule \
p5-File-MMagic>0:${PORTSDIR}/devel/p5-File-MMagic \
p5-File-ShareDir>=0.04:${PORTSDIR}/devel/p5-File-ShareDir \
p5-Hash-MultiValue>=0.05:${PORTSDIR}/devel/p5-Hash-MultiValue \
p5-HTML-Lint>0:${PORTSDIR}/www/p5-HTML-Lint \
p5-HTML-Mason>=1.31.0.1:${PORTSDIR}/www/p5-HTML-Mason \
p5-HTML-Parser>0:${PORTSDIR}/www/p5-HTML-Parser \
p5-HTTP-Server-Simple-Recorder>0:${PORTSDIR}/www/p5-HTTP-Server-Simple-Recorder \
p5-HTTP-Server-Simple>=0.26:${PORTSDIR}/www/p5-HTTP-Server-Simple \
p5-HTML-TreeBuilder-XPath>=0:${PORTSDIR}/www/p5-HTML-TreeBuilder-XPath \
p5-Hash-Merge>0:${PORTSDIR}/textproc/p5-Hash-Merge \
p5-Hook-LexWrap>0:${PORTSDIR}/devel/p5-Hook-LexWrap \
p5-IO-Handle-Util>=0:${PORTSDIR}/devel/p5-IO-Handle-Util \
p5-IPC-PubSub>=0.23:${PORTSDIR}/devel/p5-IPC-PubSub \
p5-IPC-Run3>0:${PORTSDIR}/devel/p5-IPC-Run3 \
p5-Jifty-DBI>=0.57:${PORTSDIR}/databases/p5-Jifty-DBI \
p5-JSON-XS>=2.27:${PORTSDIR}/converters/p5-JSON-XS \
p5-Locale-Maketext-Lexicon>=0.60:${PORTSDIR}/devel/p5-Locale-Maketext-Lexicon \
p5-Log-Log4perl>=1.04:${PORTSDIR}/devel/p5-Log-Log4perl \
p5-MIME-Types>0:${PORTSDIR}/mail/p5-MIME-Types \
p5-Module-Install>=0.50:${PORTSDIR}/devel/p5-Module-Install \
p5-Module-Refresh>=0.09:${PORTSDIR}/devel/p5-Module-Refresh \
p5-Module-ScanDeps>0:${PORTSDIR}/devel/p5-Module-ScanDeps \
p5-Net-Server>0:${PORTSDIR}/net/p5-Net-Server \
p5-Object-Declare>=0.13:${PORTSDIR}/devel/p5-Object-Declare \
p5-PadWalker>0:${PORTSDIR}/devel/p5-PadWalker \
p5-Params-Validate>0:${PORTSDIR}/devel/p5-Params-Validate \
p5-PerlIO-gzip>=0:${PORTSDIR}/archivers/p5-PerlIO-gzip \
p5-Plack>=0:${PORTSDIR}/www/p5-Plack \
p5-Plack-Middleware-Deflater>=0:${PORTSDIR}/www/p5-Plack-Middleware-Deflater \
p5-Pod-Simple>0:${PORTSDIR}/textproc/p5-Pod-Simple \
p5-Scalar-Defer>=0.10:${PORTSDIR}/devel/p5-Scalar-Defer \
p5-Shell-Command>=0:${PORTSDIR}/sysutils/p5-Shell-Command \
p5-SQL-ReservedWords>0:${PORTSDIR}/databases/p5-SQL-ReservedWords \
p5-String-Koremutake>0:${PORTSDIR}/textproc/p5-String-Koremutake \
p5-SUPER>=0:${PORTSDIR}/devel/p5-SUPER \
p5-Template-Declare>=0.26:${PORTSDIR}/textproc/p5-Template-Declare \
p5-UNIVERSAL-require>0:${PORTSDIR}/devel/p5-UNIVERSAL-require \
p5-URI>0:${PORTSDIR}/net/p5-URI \
p5-WWW-Mechanize>=1.30:${PORTSDIR}/www/p5-WWW-Mechanize \
p5-XML-Simple>0:${PORTSDIR}/textproc/p5-XML-Simple \
p5-XML-Writer>0.601:${PORTSDIR}/textproc/p5-XML-Writer \
p5-XML-XPath>0:${PORTSDIR}/textproc/p5-XML-XPath \
p5-YAML>=0.35:${PORTSDIR}/textproc/p5-YAML \
p5-YAML-Syck>=0.71:${PORTSDIR}/textproc/p5-YAML-Syck \
p5-libwww>0:${PORTSDIR}/www/p5-libwww \
p5-version>0:${PORTSDIR}/devel/p5-version
RUN_DEPENDS:= ${BUILD_DEPENDS}
TEST_DEPENDS= p5-Test-Base>=0.44:${PORTSDIR}/devel/p5-Test-Base \
p5-Test-HTTP-Server-Simple>=0.02:${PORTSDIR}/www/p5-Test-HTTP-Server-Simple \
p5-Test-Log4perl>0:${PORTSDIR}/devel/p5-Test-Log4perl \
p5-Test-MockModule>=0.05:${PORTSDIR}/devel/p5-Test-MockModule \
p5-Test-MockObject>=1.07:${PORTSDIR}/devel/p5-Test-MockObject \
p5-Test-Pod-Coverage>0:${PORTSDIR}/devel/p5-Test-Pod-Coverage \
p5-Test-Script-Run>=0.02:${PORTSDIR}/devel/p5-Test-Script-Run \
p5-Test-WWW-Declare>=0:${PORTSDIR}/devel/p5-Test-WWW-Declare \
p5-Test-WWW-Mechanize>=1.04:${PORTSDIR}/devel/p5-Test-WWW-Mechanize \
p5-Test-WWW-Mechanize-PSGI>=0:${PORTSDIR}/devel/p5-Test-WWW-Mechanize-PSGI \
p5-Test-WWW-Selenium>=0:${PORTSDIR}/devel/p5-Test-WWW-Selenium
USES= perl5
USE_PERL5= configure
post-patch:
${REINPLACE_CMD} -e '/auto_install/d' ${WRKSRC}/Makefile.PL
.include <bsd.port.mk>