aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Form-Sensible/Makefile
blob: b2b6ff71bae9dd87ac3c251d135cdb248a6796c8 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$

PORTNAME=   Form-Sensible
PORTVERSION=    0.20.023
CATEGORIES= devel perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-
DISTNAME=   ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}

MAINTAINER= sunpoet@FreeBSD.org
COMMENT=    Sensible way to handle form based user interface

BUILD_DEPENDS=  p5-DateTime>=0:${PORTSDIR}/devel/p5-DateTime \
        p5-DateTime-Format-Natural>=0:${PORTSDIR}/devel/p5-DateTime-Format-Natural \
        p5-DateTime-Set>=0:${PORTSDIR}/devel/p5-DateTime-Set \
        p5-File-ShareDir>=0:${PORTSDIR}/devel/p5-File-ShareDir \
        p5-Moose>=2:${PORTSDIR}/devel/p5-Moose \
        p5-Template-Toolkit>=0:${PORTSDIR}/www/p5-Template-Toolkit \
        p5-namespace-autoclean>=0:${PORTSDIR}/devel/p5-namespace-autoclean
RUN_DEPENDS:=   ${BUILD_DEPENDS}

USE_PERL5=  configure
USES=       perl5

MAN3=       Form::Sensible.3 \
        Form::Sensible::DelegateConnection.3 \
        Form::Sensible::Delegation.3 \
        Form::Sensible::FAQ.3 \
        Form::Sensible::Field.3 \
        Form::Sensible::Field::DateTime.3 \
        Form::Sensible::Field::FileSelector.3 \
        Form::Sensible::Field::LongText.3 \
        Form::Sensible::Field::Number.3 \
        Form::Sensible::Field::Select.3 \
        Form::Sensible::Field::SubForm.3 \
        Form::Sensible::Field::Text.3 \
        Form::Sensible::Field::Toggle.3 \
        Form::Sensible::Field::Trigger.3 \
        Form::Sensible::Form.3 \
        Form::Sensible::Overview.3 \
        Form::Sensible::Reflector.3 \
        Form::Sensible::Renderer.3 \
        Form::Sensible::Renderer::HTML.3 \
        Form::Sensible::Renderer::HTML::RenderedForm.3 \
        Form::Sensible::Validator.3 \
        Form::Sensible::Validator::Result.3

post-extract:
    @${RM} ${WRKSRC}/lib/Form/Sensible/Renderer/HTML/RenderedForm.pm.orig

#post-patch:
#   @${REINPLACE_CMD} -e 's|Form-Sensible|Form::Sensible|' ${WRKSRC}/Makefile.PL

.include <bsd.port.mk>