blob: 796673d2b53f172f6626ad886e0d417bc2bc63bf (
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
|
# Created by: mat
# $FreeBSD$
PORTNAME= PerlPoint-Converters
PORTVERSION= 1.02.05
DISTVERSION= ${PORTVERSION:C/\.(..)$/\1/}
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Convert PerlPoint docs into various formats
BUILD_DEPENDS= p5-PerlPoint-Package>=0:${PORTSDIR}/textproc/p5-PerlPoint-Package \
p5-Getopt-ArgvFile>=0:${PORTSDIR}/devel/p5-Getopt-ArgvFile
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
USE_PERL5= configure patch
MAN1= pp2html.1 pp2latex.1
MAN3= Bundle::PerlPoint.3 \
PerlPoint::Converters.3 \
PerlPoint::Tags::HTML.3 \
PerlPoint::Tags::LaTeX.3
.if !defined(NOPORTDOCS)
PORTDOCS= # suck all DOCSDIR
post-patch:
@cd ${WRKSRC}; ${CP} -R pp2html_styles images doc
@${PERL} -pi -e 's!../(images|pp2html_styles)!$$1!g' ${WRKSRC}/doc/*.cfg
post-build:
@cd ${WRKSRC}/doc; make
post-install:
@${MKDIR} ${DOCSDIR}
@cd ${WRKSRC}/doc; ${FIND} . | ${CPIO} -padm ${DOCSDIR}
.endif
.include <bsd.port.mk>
|