1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/www/p5-Toader/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

54 lines
1.9 KiB
Makefile

# Created by: Zane C, Bowers-Hadley <vvelox@vvelox.net>
# $FreeBSD$
PORTNAME= Toader
PORTVERSION= 1.1.2
PORTREVISION= 1
CATEGORIES= www perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:VVELOX
PKGNAMEPREFIX= p5-
MAINTAINER= vvelox@vvelox.net
COMMENT= CMS meant to be used from the terminal and integrated into a VCS for rendering static pages
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
BUILD_DEPENDS= p5-Config-Tiny>=2.14:${PORTSDIR}/devel/p5-Config-Tiny \
p5-Email-MIME>=1.911:${PORTSDIR}/mail/p5-Email-MIME \
p5-File-MimeInfo>=0.16:${PORTSDIR}/devel/p5-File-MimeInfo \
p5-Error-Helper>=1.0.0:${PORTSDIR}/devel/p5-Error-Helper \
p5-Module-List>=0.003:${PORTSDIR}/devel/p5-Module-List \
p5-Text-Template>=1.46:${PORTSDIR}/textproc/p5-Text-Template \
p5-Term-CallEditor>=0.61:${PORTSDIR}/devel/p5-Term-CallEditor \
p5-File-Path>=2.09:${PORTSDIR}/devel/p5-File-Path \
p5-Time-HiRes>=1.9725:${PORTSDIR}/devel/p5-Time-HiRes \
p5-TimeDate>=1.20:${PORTSDIR}/devel/p5-TimeDate \
p5-Email-Address>=1.89.7:${PORTSDIR}/mail/p5-Email-Address \
p5-Pod-Simple>=3.26:${PORTSDIR}/textproc/p5-Pod-Simple \
p5-File-Temp>=0.22:${PORTSDIR}/devel/p5-File-Temp \
p5-Image-ExifTool>=9.04:${PORTSDIR}/graphics/p5-Image-ExifTool \
p5-GD-Thumbnail>=1.41:${PORTSDIR}/graphics/p5-GD-Thumbnail \
p5-Text-Tags>=0.04:${PORTSDIR}/textproc/p5-Text-Tags \
p5-Pod-WikiDoc>=0.18:${PORTSDIR}/textproc/p5-Pod-WikiDoc \
p5-Script-isAperlScript>=1.0.0:${PORTSDIR}/devel/p5-Script-isAperlScript
RUN_DEPENDS:= ${BUILD_DEPENDS}
OPTIONS_DEFINE= DOCS
USES= perl5 shebangfix
USE_PERL5= configure
SHEBANG_FILES= bin/toader-autodoc bin/toader-css bin/toader-dir \
bin/toader-entry bin/toader-find bin/toader-gallery \
bin/toader-ls bin/toader-migrate bin/toader-page \
bin/toader-ra bin/toader-temp
PORTDOCS= *
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Documentation/* ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>