aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-HTML-Template-JIT/Makefile
blob: 224e3c9e755b15577a9e1b48934993e587c41c27 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# New ports collection makefile for:    p5-HTML-Template-JIT
# Date Created:             2004/04/30
# Whom:                 alex@kapranoff.ru
#
# $FreeBSD$
#

PORTNAME=   HTML-Template-JIT
PORTVERSION=    0.05
CATEGORIES= www perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= mat@FreeBSD.org
COMMENT=    Perl module to compile HTML Templates with Inline::C

BUILD_DEPENDS=  p5-HTML-Template>=2.8:${PORTSDIR}/www/p5-HTML-Template \
        ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
        p5-Inline>=0.43:${PORTSDIR}/devel/p5-Inline
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= yes
INSTALL_TARGET= pure_install

MAN3=       HTML::Template::JIT.3 HTML::Template::JIT::Compiler.3 \
        HTML::Template::JIT::Base.3

.include <bsd.port.pre.mk>

post-patch:
    @${PERL} -i -pe 's/indent -kr/indent/' \
            ${WRKSRC}/JIT/Compiler.pm
    @${FIND} ${WRKSRC} -name '*.orig' -delete

.include <bsd.port.post.mk>