1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Add LICENSE

- Add BUILD_DEPENDS
- Remove unnecessary MASTER_SITE_SUBDIR
- Sort PLIST
- Reformat pkg-descr
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2014-07-06 18:51:33 +00:00
parent 6442d6afdb
commit 96b29b5eff
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360984
3 changed files with 21 additions and 19 deletions

View File

@ -5,16 +5,19 @@ PORTNAME= Inline-TT
PORTVERSION= 0.07
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= Inline
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Provides inline support for template toolkit 2.x
RUN_DEPENDS= p5-Inline>=0.42:${PORTSDIR}/devel/p5-Inline \
p5-Template-Toolkit>=2.0:${PORTSDIR}/www/p5-Template-Toolkit
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
BUILD_DEPENDS= p5-Inline>=0.42:${PORTSDIR}/devel/p5-Inline \
p5-Template-Toolkit>=2:${PORTSDIR}/www/p5-Template-Toolkit
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
USE_PERL5= configure
USES= perl5
.include <bsd.port.mk>

View File

@ -1,15 +1,14 @@
Inline::TT provides Inline access to version 2.0 and higher of the
Template Toolkit. This allows you to house your templates inside the
source code file, while retaining the ability to cache compiled
templates on the disk (via Inline's caching mechanism).
Inline::TT provides Inline access to version 2.0 and higher of the Template
Toolkit. This allows you to house your templates inside the source code file,
while retaining the ability to cache compiled templates on the disk (via
Inline's caching mechanism).
The names of the blocks in the template are exported as functions.
Call these with a reference to a hash of values, which will be used
for interpolation in the templates. This hash reference is the same as
the second argument to the process method of any Template object. The
output from template toolkit will be returned to you as a single
string. Note that leading and trailing spaces are trimmed, further the
template toolkit options PRE_CHOMP and POST_CHOMP are set. Currently,
there is no way to change these behaviors.
The names of the blocks in the template are exported as functions. Call these
with a reference to a hash of values, which will be used for interpolation in
the templates. This hash reference is the same as the second argument to the
process method of any Template object. The output from template toolkit will be
returned to you as a single string. Note that leading and trailing spaces are
trimmed, further the template toolkit options PRE_CHOMP and POST_CHOMP are set.
Currently, there is no way to change these behaviors.
WWW: http://search.cpan.org/dist/Inline-TT/

View File

@ -1,6 +1,6 @@
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Inline/TT/.packlist
%%SITE_PERL%%/Inline/TT.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Inline/TT/.packlist
%%PERL5_MAN3%%/Inline::TT.3.gz
@dirrmtry %%SITE_PERL%%/Inline
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Inline/TT
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Inline/TT
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Inline
@dirrmtry %%SITE_PERL%%/Inline