1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/textproc/p5-Hailo/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

66 lines
2.5 KiB
Makefile

# Created by: milki <milki@rescomp.berkeley.edu>
# $FreeBSD$
PORTNAME= Hailo
PORTVERSION= 0.70
PORTREVISION= 2
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:HINRIK
PKGNAMEPREFIX= p5-
MAINTAINER= milki@FreeBSD.org
COMMENT= Pluggable Markov engine analogous to MegaHAL
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
BUILD_DEPENDS= p5-Any-Moose>=0.13:${PORTSDIR}/devel/p5-Any-Moose \
p5-Bot-Training-MegaHAL>=0:${PORTSDIR}/misc/p5-Bot-Training-MegaHAL \
p5-Bot-Training-StarCraft>=0:${PORTSDIR}/misc/p5-Bot-Training-StarCraft \
p5-Bot-Training>=0:${PORTSDIR}/misc/p5-Bot-Training \
p5-Class-Load>=0.06:${PORTSDIR}/devel/p5-Class-Load \
p5-Data-Dump>=1.17:${PORTSDIR}/devel/p5-Data-Dump \
p5-Data-Section>=0.101620:${PORTSDIR}/devel/p5-Data-Section \
p5-Dir-Self>=0.10:${PORTSDIR}/devel/p5-Dir-Self \
p5-File-CountLines>=0.0.2:${PORTSDIR}/devel/p5-File-CountLines \
p5-Getopt-Long-Descriptive>=0.085:${PORTSDIR}/devel/p5-Getopt-Long-Descriptive \
p5-IO-Interactive>=0.0.6:${PORTSDIR}/devel/p5-IO-Interactive \
p5-IPC-System-Simple>=1.21:${PORTSDIR}/devel/p5-IPC-System-Simple \
p5-List-MoreUtils>=0.22:${PORTSDIR}/lang/p5-List-MoreUtils \
p5-MooseX-StrictConstructor>=0.16:${PORTSDIR}/devel/p5-MooseX-StrictConstructor \
p5-MouseX-Getopt>=0.33:${PORTSDIR}/devel/p5-MouseX-Getopt \
p5-MouseX-StrictConstructor>=0.02:${PORTSDIR}/devel/p5-MouseX-StrictConstructor \
p5-Regexp-Common>=2010010201:${PORTSDIR}/textproc/p5-Regexp-Common \
p5-Term-Sk>=0.06:${PORTSDIR}/devel/p5-Term-Sk \
p5-namespace-clean>=0.18:${PORTSDIR}/devel/p5-namespace-clean
RUN_DEPENDS:= ${BUILD_DEPENDS}
TEST_DEPENDS= p5-DBD-SQLite>=1.29:${PORTSDIR}/databases/p5-DBD-SQLite \
p5-Test-Exception>=0.29:${PORTSDIR}/devel/p5-Test-Exception \
p5-Test-Expect>=0.31:${PORTSDIR}/devel/p5-Test-Expect \
p5-Test-Output>=0.16:${PORTSDIR}/devel/p5-Test-Output \
p5-Test-Script>=1.07:${PORTSDIR}/devel/p5-Test-Script \
p5-Test-Script-Run>=0.04:${PORTSDIR}/devel/p5-Test-Script-Run \
p5-Test-Synopsis>=0.06:${PORTSDIR}/devel/p5-Test-Synopsis
USES= perl5
USE_PERL5= configure
OPTIONS_DEFINE= SQLITE PGSQL MYSQL
OPTIONS_DEFAULT= SQLITE
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MSQLITE}
RUN_DEPENDS+= p5-DBD-SQLite>=1.29:${PORTSDIR}/databases/p5-DBD-SQLite
.endif
.if ${PORT_OPTIONS:MPGSQL}
RUN_DEPENDS+= p5-DBD-Pg>=0:${PORTSDIR}/databases/p5-DBD-Pg
.endif
.if ${PORT_OPTIONS:MMYSQL}
RUN_DEPENDS+= p5-DBD-mysql>=0:${PORTSDIR}/databases/p5-DBD-mysql
.endif
.include <bsd.port.mk>