10f22ecd6d
- Remove dependencies on modules distributed as part of perl core - Remove references to FreeBSD < 8 and perl < 5.16 - Ensure that DOCS and EXAMPLES options exist for ports installing PORTDOCS or PORTEXAMPLES - Reduce unnecessary inclusions of bsd.port.options.mk by using OPTIONS helpers and the like - Fix some cases where dependencies were only assigned to BUILD_DEPENDS - Fix a few of the cases where dependencies were only assigned to RUN_DEPENDS. This one happens in many, many ports. I only applied it in cases where it interfered with 'make test' but it should maybe be done more generally. - Mute ${MKDIR} in installation - Parethesize compound commands - In www/p5-URI-Fetch, remove the ZLIB option that wasn't used
36 lines
890 B
Makefile
36 lines
890 B
Makefile
# Created by: mat
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= PerlPoint-Converters
|
|
PORTVERSION= 1.02.05
|
|
PORTREVISION= 1
|
|
CATEGORIES= textproc perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:C/\.(..)$/\1/}
|
|
|
|
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
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
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} ${STAGEDIR}${DOCSDIR}
|
|
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
|
|
|
|
.include <bsd.port.mk>
|