1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/java/veditor/Makefile
Martin Wilke dda7615110 Eclipse Verilog editor provides Verilog (IEEE-1364) and VHDL language
specific features on Eclipse IDE. It helps coding and debugging in hardware
development based on Verilog or VHDL.

WWW: http://veditor.sourceforge.net/

PR:		ports/105450
Submitted by:	lon_kamikaze at gmx.de
2006-12-09 13:00:39 +00:00

60 lines
1.4 KiB
Makefile

# New ports collection makefile for: veditor
# Date created: 19 Oct 2006
# Whom: lon_kamikaze@gmx.de
#
# $FreeBSD$
#
PORTNAME= veditor
PORTVERSION= 0.5.0
CATEGORIES= java cad
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= net.sourceforge.${PORTNAME}_${PORTVERSION}
MAINTAINER= lon_kamikaze@gmx.de
COMMENT= A Verilog and VHDL editor plugin for eclipse
RUN_DEPENDS= eclipse:${PORTSDIR}/java/eclipse
.if defined(WITH_VERILOG)
RUN_DEPENDS+= iverilog:${PORTSDIR}/cad/iverilog
.endif
.if defined(WITH_VHDL)
RUN_DEPENDS+= freehdl-v2cc:${PORTSDIR}/cad/freehdl
.endif
OPTIONS= VERILOG "Support Verilog with Icarus Verilog" On \
VHDL "Support VHDL with FreeHDL" On
PLIST_SUB= VER=${PORTVERSION}
NO_BUILD= yes
USE_ZIP= yes
NO_WRKSUBDIR= yes
ECLIPSE= ${PREFIX}/eclipse
PLUGINS= plugins
do-install:
@${MKDIR} ${ECLIPSE}/${PLUGINS}
@${CP} -r ${WRKSRC}/${PLUGINS}/* ${ECLIPSE}/${PLUGINS}/
plist: build
@${ECHO} "===> Rebuilding PLIST."
@${TOUCH} ${PLIST}
@${RM} ${PLIST}
@${FIND} -d ${WRKSRC}/${PLUGINS}/ -not -type d \
| ${SED} "s|${WRKSRC}|eclipse|1" \
| ${SED} "s|${PORTVERSION}|%%VER%%|g" \
>> ${PLIST}
@${FIND} -d ${WRKSRC}/${PLUGINS}/ -mindepth 1 -type d \
| ${SED} "s|${WRKSRC}|@dirrm eclipse|1" \
| ${SED} "s|${PORTVERSION}|%%VER%%|g" \
>> ${PLIST}
@${ECHO} "@dirrmtry eclipse/${PLUGINS}" >> ${PLIST}
@${ECHO} "@dirrmtry eclipse" >> ${PLIST}
.include <bsd.port.mk>