aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-PerlPoint-Package/Makefile
blob: 5eeec7e2ad50d0be4ddf6ad5f2f2755d8f56fa74 (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
56
# New ports collection makefile for:    p5-PerlPoint-Package
# Date created:     8 Jun 2004
# Whom:             mat
#
# $FreeBSD$
#

PORTNAME=   PerlPoint-Package
PORTVERSION=    0.39
PORTREVISION=   1
CATEGORIES= textproc perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= PerlPoint
PKGNAMEPREFIX=  p5-
EXTRACT_SUFX=   .tgz

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

BUILD_DEPENDS=  ${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= YES

MAN1=       pp2sdf.1
MAN3=       PerlPoint::Anchors.3 \
        PerlPoint::Backend.3 \
        PerlPoint::Constants.3 \
        PerlPoint::Parser.3 \
        PerlPoint::Tags.3 \
        PerlPoint::Tags::Basic.3 \
        PerlPoint::Tags::CPPP.3 \
        PerlPoint::Tags::SDF.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.pre.mk>

.if ${PERL_LEVEL} < 500800
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable \
        ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
.if ${PERL_LEVEL} < 500600
BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
.endif
.endif

.include <bsd.port.post.mk>