From ceb30e57efa3960343f528c2a4b9db04186b7c90 Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Mon, 17 Feb 2014 18:19:33 +0000 Subject: [PATCH] - Stage support - Use OPTIONS helpers --- java/veditor/Makefile | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/java/veditor/Makefile b/java/veditor/Makefile index ffe935918036..da932d9619f8 100644 --- a/java/veditor/Makefile +++ b/java/veditor/Makefile @@ -20,16 +20,8 @@ VERILOG_DESC= Support Verilog with Icarus Verilog VHDL_VHDL= Support VHDL with FreeHDL OPTIONS_DEFAULT= VERILOG VHDL -NO_STAGE= yes -.include - -.if ${PORT_OPTIONS:MVERILOG} -RUN_DEPENDS+= iverilog:${PORTSDIR}/cad/iverilog -.endif - -.if ${PORT_OPTIONS:MVHDL} -RUN_DEPENDS+= freehdl-v2cc:${PORTSDIR}/cad/freehdl -.endif +VERILOG_RUN_DEPENDS= iverilog:${PORTSDIR}/cad/iverilog +VHDL_RUN_DEPENDS= freehdl-v2cc:${PORTSDIR}/cad/freehdl PLIST_SUB= VER=${PORTVERSION} \ ECLIPSE=${ECLIPSE} @@ -41,8 +33,8 @@ ECLIPSE= lib/eclipse PLUGINS= plugins do-install: - @${MKDIR} ${PREFIX}/${ECLIPSE}/${PLUGINS} - @${INSTALL_DATA} ${DISTDIR}/${DISTFILES} \ - ${PREFIX}/${ECLIPSE}/${PLUGINS}/ + @${MKDIR} ${STAGEDIR}${PREFIX}/${ECLIPSE}/${PLUGINS} + ${INSTALL_DATA} ${DISTDIR}/${DISTFILES} \ + ${STAGEDIR}${PREFIX}/${ECLIPSE}/${PLUGINS} .include