mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
d4f0d0048a
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}. - Bump PORTREVISION for ports intalling files in ${X11BASE}.
51 lines
1.1 KiB
Makefile
51 lines
1.1 KiB
Makefile
# New ports collection makefile for: electric-ng
|
|
# Date created: 2006-07-14
|
|
# Whom: Stanislav Sedov <ssedov@mbsd.msk.ru>
|
|
#
|
|
# $MBSDlabs$
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= electric-ng
|
|
PORTVERSION= 8.04
|
|
PORTREVISION= 1
|
|
CATEGORIES= cad java
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME:S/-ng//}
|
|
DISTNAME= electric-${PORTVERSION}
|
|
EXTRACT_SUFX= .jar
|
|
EXTRACT_ONLY=
|
|
|
|
MAINTAINER= stas@FreeBSD.org
|
|
COMMENT= A sophisticated VLSI design system
|
|
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.3+
|
|
NO_BUILD= yes
|
|
PLIST_FILES= %%JAVAJARDIR%%/${JARFILE} \
|
|
bin/electric-ng
|
|
SUB_LIST+= LIBFILES="${LIBFILES}" \
|
|
JARFILE="${JARFILE}"
|
|
SUB_FILES= electric-ng
|
|
|
|
OPTIONS= BSH "Enable embedded java interpreter via BSH" off
|
|
|
|
JARFILE= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if exists(${JAVALIBDIR}/bsh.jar)
|
|
WITH_BSH= yes
|
|
.endif
|
|
.if defined(WITH_BSH)
|
|
RUN_DEPENDS+= ${JAVALIBDIR}/bsh.jar:${PORTSDIR}/java/bsh
|
|
LIBFILES+= bsh
|
|
.endif
|
|
|
|
do-install:
|
|
@${MKDIR} ${JAVAJARDIR}
|
|
${INSTALL_DATA} ${DISTDIR}/${JARFILE} ${JAVAJARDIR}
|
|
${INSTALL_SCRIPT} ${WRKDIR}/electric-ng ${PREFIX}/bin
|
|
|
|
.include <bsd.port.post.mk>
|