aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-PerlPoint-Package/Makefile
blob: 337ebb0c6ccf2cae113dc0d0d6e818b5ebd26e99 (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
# Created by: mat
# $FreeBSD$

PORTNAME=   PerlPoint-Package
PORTVERSION=    0.45.2
PORTREVISION=   2
CATEGORIES= textproc perl5
MASTER_SITES=   CPAN
DISTNAME=   ${PORTNAME}-${PORTVERSION:C/\.(.)$/\1/}
PKGNAMEPREFIX=  p5-

MAINTAINER= perl@FreeBSD.org
COMMENT=    PerlPoint is both a presentation and a documentation toolset

BUILD_DEPENDS=  p5-Digest-SHA1>=0:security/p5-Digest-SHA1
RUN_DEPENDS:=   ${BUILD_DEPENDS}

USES=       perl5
USE_PERL5=  configure

OPTIONS_DEFINE= DOCS EXAMPLES

PORTDOCS=   # suck all DOCSDIR

post-install:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
    (cd ${WRKSRC} && ${COPYTREE_SHARE} utilities ${STAGEDIR}${DOCSDIR})
    @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
    (cd ${WRKSRC}/demo && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})

.include <bsd.port.mk>