aboutsummaryrefslogtreecommitdiffstats
path: root/java/veditor/Makefile
blob: 6f8da5b9cef111179f3481e5eb62f68065cc1603 (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
48
49
# New ports collection makefile for:    veditor
# Date created:             19 Oct 2006
# Whom:                 lon_kamikaze@gmx.de
#
# $FreeBSD$
#

PORTNAME=   veditor
PORTVERSION=    0.7.1
PORTREVISION=   1
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.options.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} \
        ECLIPSE=${ECLIPSE}

NO_BUILD=   yes
NO_WRKSUBDIR=   yes

ECLIPSE=    lib/eclipse
PLUGINS=    plugins

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

.include <bsd.port.mk>