1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

- Finish stage support (remove NO_STAGE)

- Use OPTIONS helpers
This commit is contained in:
Antoine Brodin 2014-02-05 20:59:04 +00:00
parent dc39532290
commit d6ba670942
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342848

View File

@ -20,16 +20,11 @@ USE_PERL5= configure
OPTIONS_DEFINE= YAMLSYCK
YAMLSYCK_DESC= Use YAML::Syck for testing
NO_STAGE= yes
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.options.mk>
.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
.include <bsd.port.mk>