aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-XML-Smart/Makefile
blob: 3a136c94ad4fd6dda1dbe233955f02688c806256 (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
# Created by: Cheng-Lung Sung <clsung@dragon2.net>
# $FreeBSD$

PORTNAME=   XML-Smart
PORTVERSION=    1.79
PORTREVISION=   1
CATEGORIES= textproc perl5
MASTER_SITES=   CPAN
MASTER_SITE_SUBDIR= CPAN:TMHARISH
PKGNAMEPREFIX=  p5-

MAINTAINER= perl@FreeBSD.org
COMMENT=    Smart, easy and powerful way to access/create XML files/data

LICENSE=    ART10 GPLv1
LICENSE_COMB=   dual

BUILD_DEPENDS=  p5-Object-MultiType>=0.03:${PORTSDIR}/devel/p5-Object-MultiType \
        p5-XML-XPath>=0:${PORTSDIR}/textproc/p5-XML-XPath
RUN_DEPENDS:=   ${BUILD_DEPENDS}
TEST_DEPENDS=   p5-Data-Dump>=0:${PORTSDIR}/devel/p5-Data-Dump \
        p5-Devel-Cycle>=0:${PORTSDIR}/devel/p5-Devel-Cycle

USES=       perl5
USE_PERL5=  configure

PORTDOCS=   Changes README

OPTIONS_DEFINE= DOCS

.include <bsd.port.options.mk>

post-install:
.if ${PORT_OPTIONS:MDOCS}
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
    @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif

.include <bsd.port.mk>