aboutsummaryrefslogtreecommitdiffstats
path: root/java/veditor/Makefile
blob: 6dacd11cf6c4deaaa3563985078a64947e936fd7 (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
# Created by: lon_kamikaze@gmx.de
# $FreeBSD$

PORTNAME=   veditor
PORTVERSION=    0.7.1
PORTREVISION=   3
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=    Verilog and VHDL editor plugin for eclipse

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

OPTIONS_DEFINE= VERILOG VHDL
VERILOG_DESC=   Support Verilog with Icarus Verilog
VHDL_VHDL=  Support VHDL with FreeHDL
OPTIONS_DEFAULT=    VERILOG VHDL

VERILOG_RUN_DEPENDS=    iverilog:${PORTSDIR}/cad/iverilog
VHDL_RUN_DEPENDS=   freehdl-v2cc:${PORTSDIR}/cad/freehdl

PLIST_SUB=  VER=${PORTVERSION} \
        ECLIPSE=${ECLIPSE}

NO_BUILD=   yes
NO_WRKSUBDIR=   yes

ECLIPSE=    lib/eclipse
PLUGINS=    plugins

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

.include <bsd.port.mk>