mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
d6ba670942
- Use OPTIONS helpers
31 lines
685 B
Makefile
31 lines
685 B
Makefile
# Created by: Lars Thegler <lth@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= Test-YAML-Valid
|
|
PORTVERSION= 0.04
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= lth@FreeBSD.org
|
|
COMMENT= Test for valid YAML
|
|
|
|
RUN_DEPENDS= p5-YAML>=0.60:${PORTSDIR}/textproc/p5-YAML
|
|
BUILD_DEPENDS:= ${RUN_DEPENDS}
|
|
|
|
USES= perl5
|
|
USE_PERL5= configure
|
|
|
|
OPTIONS_DEFINE= YAMLSYCK
|
|
YAMLSYCK_DESC= Use YAML::Syck for testing
|
|
|
|
YAMLSYCK_RUN_DEPENDS= p5-YAML-Syck>0:${PORTSDIR}/textproc/p5-YAML-Syck
|
|
YAMLSYCK_BUILD_DEPENDS= p5-YAML-Syck>0:${PORTSDIR}/textproc/p5-YAML-Syck
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -i '' -e '/auto_install.*/d' \
|
|
${WRKSRC}/Makefile.PL
|
|
|
|
.include <bsd.port.mk>
|