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

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

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

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

USES=       perl5
USE_PERL5=  configure

MAN1=       pp2sdf.1 perlpoint.1
MAN3=       PerlPoint::Anchors.3 \
        PerlPoint::Backend.3 \
        PerlPoint::Constants.3 \
        PerlPoint::Generator.3 \
        PerlPoint::Generator::Object::Page.3 \
        PerlPoint::Generator::SDF.3 \
        PerlPoint::Generator::SDF::Default.3 \
        PerlPoint::Parser.3 \
        PerlPoint::Tags.3 \
        PerlPoint::Tags::Basic.3 \
        PerlPoint::Tags::SDF.3 \
        PerlPoint::Template.3

.if !defined(NOPORTDOCS)
PORTDOCS=   # suck all DOCSDIR

post-install:
    @${MKDIR} ${DOCSDIR}
    @cd ${WRKSRC}/doc; ${FIND} . | ${CPIO} -padm ${DOCSDIR}
    @cd ${WRKSRC}; ${FIND} utilities | ${CPIO} -padm ${DOCSDIR}
    @${MKDIR} ${EXAMPLESDIR}
    @cd ${WRKSRC}/demo; ${FIND} . | ${CPIO} -padm ${EXAMPLESDIR}
.endif

.include <bsd.port.mk>