aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Test-YAML-Valid
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-05-11 13:49:05 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-05-11 13:49:05 +0000
commitb2259a909974739ce0115f783751532ba072e123 (patch)
tree49a9058687c46613437d48ef342bd3cd3963c552 /devel/p5-Test-YAML-Valid
parent8e333308211c2bdccff1ce35bd20137270945a6e (diff)
Notes
Diffstat (limited to 'devel/p5-Test-YAML-Valid')
-rw-r--r--devel/p5-Test-YAML-Valid/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/devel/p5-Test-YAML-Valid/Makefile b/devel/p5-Test-YAML-Valid/Makefile
index d24adcf62cc9..693e140434a3 100644
--- a/devel/p5-Test-YAML-Valid/Makefile
+++ b/devel/p5-Test-YAML-Valid/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: devel/p5-Test-YAML-Valid
-# Date created: 10 April 2007
-# Whom: Lars Thegler <lth@FreeBSD.org>
-#
+# Created by: Lars Thegler <lth@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= Test-YAML-Valid
PORTVERSION= 0.04
@@ -22,14 +18,15 @@ PERL_CONFIGURE= yes
MAN3= Test::YAML::Valid.3
-OPTIONS= YAMLSYCK "Use YAML::Syck for testing" OFF
+OPTIONS_DEFINE= YAMLSYCK
+YAMLSYCK_DESC= Use YAML::Syck for testing
post-patch:
${PERL} -pi -e '$$_="" if /auto_install/' ${WRKSRC}/Makefile.PL
.include <bsd.port.options.mk>
-.if defined(WITH_YAMLSYCK)
+.if ${PORT_OPTIONS:MYAMLSYCK}
RUN_DEPENDS+= p5-YAML-Syck>0:${PORTSDIR}/textproc/p5-YAML-Syck
BUILD_DEPENDS+= p5-YAML-Syck>0:${PORTSDIR}/textproc/p5-YAML-Syck
.endif