forked from Lainports/freebsd-ports
- 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
29 lines
758 B
Makefile
29 lines
758 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= XML-Reader
|
|
PORTVERSION= 0.65
|
|
CATEGORIES= textproc perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= perl@FreeBSD.org
|
|
COMMENT= Reading XML and providing path information based on a pull-parser
|
|
|
|
LICENSE= ART10 GPLv1
|
|
LICENSE_COMB= dual
|
|
|
|
BUILD_DEPENDS= p5-Acme-HTTP>=0:${PORTSDIR}/net/p5-Acme-HTTP
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
TEST_DEPENDS= p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser \
|
|
p5-XML-Parsepp>=0:${PORTSDIR}/textproc/p5-XML-Parsepp
|
|
|
|
USES= perl5
|
|
USE_PERL5= configure
|
|
|
|
OPTIONS_DEFINE= PP
|
|
PP_DESC= Use Pure Perl XML Parser (instead of compiled)
|
|
|
|
PP_RUN_DEPENDS= p5-XML-Parsepp>=0:${PORTSDIR}/textproc/p5-XML-Parsepp
|
|
PP_RUN_DEPENDS_OFF= p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser
|
|
|
|
.include <bsd.port.mk>
|