aboutsummaryrefslogtreecommitdiff
path: root/java/veditor/Makefile
blob: cd386a46e2aea81bb439b109605bb8d579853c29 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# New ports collection makefile for:	veditor
# Date created:				19 Oct 2006
# Whom:					lon_kamikaze@gmx.de
#
# $FreeBSD$
#

PORTNAME=	veditor
PORTVERSION=	0.7.0
PORTREVISION=	2
CATEGORIES=	java cad
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}%20runtime/VEditor%20${PORTVERSION}
DISTNAME=	net.sourceforge.${PORTNAME}_${PORTVERSION}
EXTRACT_SUFX=	.jar
EXTRACT_ONLY=

MAINTAINER=	kamikaze@bsdforen.de
COMMENT=	A Verilog and VHDL editor plugin for eclipse

RUN_DEPENDS=	eclipse:${PORTSDIR}/java/eclipse

OPTIONS=	VERILOG "Support Verilog with Icarus Verilog" On \
		VHDL "Support VHDL with FreeHDL" On

.include <bsd.port.pre.mk>

.if defined(WITH_VERILOG)
RUN_DEPENDS+=	iverilog:${PORTSDIR}/cad/iverilog
.endif

.if defined(WITH_VHDL)
RUN_DEPENDS+=	freehdl-v2cc:${PORTSDIR}/cad/freehdl
.endif

PLIST_SUB=	VER=${PORTVERSION}

NO_BUILD=	yes
NO_WRKSUBDIR=	yes

ECLIPSE=	${PREFIX}/eclipse
PLUGINS=	plugins

do-install:
	@${MKDIR} ${ECLIPSE}/${PLUGINS}
	@${INSTALL_DATA} ${DISTDIR}/${DISTFILES} ${ECLIPSE}/${PLUGINS}/

.include <bsd.port.post.mk>