diff options
author | SADA Kenji <sada@FreeBSD.org> | 2000-07-30 07:10:53 +0000 |
---|---|---|
committer | SADA Kenji <sada@FreeBSD.org> | 2000-07-30 07:10:53 +0000 |
commit | 9a91ada450acb17cc02f1514bc3054c7efe3b0db (patch) | |
tree | b4e4f96f3b325ead9413fcbb699e1186f2067380 /cad/electric | |
parent | 348a8f1b9d9507ea13c2490d6a12aa5d0b6b5a2a (diff) | |
download | ports-9a91ada450acb17cc02f1514bc3054c7efe3b0db.tar.gz ports-9a91ada450acb17cc02f1514bc3054c7efe3b0db.zip |
Notes
Diffstat (limited to 'cad/electric')
-rw-r--r-- | cad/electric/Makefile | 28 | ||||
-rw-r--r-- | cad/electric/distinfo | 1 | ||||
-rw-r--r-- | cad/electric/files/patch-aa | 56 | ||||
-rw-r--r-- | cad/electric/files/template-patch-prefix | 28 | ||||
-rw-r--r-- | cad/electric/pkg-comment | 1 | ||||
-rw-r--r-- | cad/electric/pkg-descr | 24 | ||||
-rw-r--r-- | cad/electric/pkg-plist | 14 |
7 files changed, 152 insertions, 0 deletions
diff --git a/cad/electric/Makefile b/cad/electric/Makefile new file mode 100644 index 000000000000..fe699393ac86 --- /dev/null +++ b/cad/electric/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: electric +# Date created: 4 May 2000 +# Whom: Mario S F Ferreira <lioux@linf.unb.br> et al. +# +# $FreeBSD$ +# + +PORTNAME= electric +PORTVERSION= 5.7.4 +CATEGORIES= cad +MASTER_SITES= ${MASTER_SITE_GNU} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= lioux@linf.unb.br + +USE_XLIB= yes +REQUIRES_MOTIF= yes +EXTRA_PATCHES= ${WRKDIR}/patch-prefix +GNU_CONFIGURE= yes +USE_GMAKE= yes +MAKE_ENV+= X11BASE="${X11BASE}" HACK_INSTALL_DIR="${INSTALL_DIR}" + +INSTALL_DIR= ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 + +pre-patch: + ${SED} "s!PREFIX!${PREFIX}!g" ${FILESDIR}/patch-prefix > ${EXTRA_PATCHES} + +.include <bsd.port.mk> diff --git a/cad/electric/distinfo b/cad/electric/distinfo new file mode 100644 index 000000000000..8d4e7a920c81 --- /dev/null +++ b/cad/electric/distinfo @@ -0,0 +1 @@ +MD5 (electric-5.7.4.tar.gz) = b5fffef439f68dc575b37574b2df0d17 diff --git a/cad/electric/files/patch-aa b/cad/electric/files/patch-aa new file mode 100644 index 000000000000..c5f5c6b17b73 --- /dev/null +++ b/cad/electric/files/patch-aa @@ -0,0 +1,56 @@ +This patch teaches it to respect our CFLAGS, the install +program and where to find the X11 header files. Besides, +it tells it a little bit about hier(7) + +--- Makefile.in.orig Tue Mar 21 19:44:46 2000 ++++ Makefile.in Thu May 4 02:16:35 2000 +@@ -356,18 +356,19 @@ + BUILDOPTS = $(DEBUG) + BUILDDIR = obj + HDS = src/include +-EXTRA_CFLAGS = $(LANGCFLAGS) $(PROJCFLAGS) $(CADENCECFLAGS) +-CFLAGS = $(EXTRA_CFLAGS) $(DEBUG) -I$(HDS) $(MULTIPROCESSORCFLAGS) ++EXTRA_CFLAGS = $(LANGCFLAGS) $(PROJCFLAGS) $(CADENCECFLAGS) @CFLAGS@ -I$(X11BASE)/include ++CFLAGS = $(EXTRA_CFLAGS) $(DEBUG) -I$(HDS) $(MULTIPROCESSORCFLAGS) + XCFLAGS = @X_CFLAGS@ $(CFLAGS) $(TIFFLAGS) $(XPOWER) + INSTALL = cp +-INSTALL_PROGRAM = $(INSTALL) +-INSTALL_DATA = $(INSTALL) ++INSTALL_PROGRAM = $(BSD_INSTALL_PROGRAM) ++INSTALL_DATA = $(BSD_INSTALL_DATA) ++INSTALL_DIR = $(HACK_INSTALL_DIR) + prefix = @prefix@ + exec_prefix = @exec_prefix@ + LIBS = @X_PRE_LIBS@ @X_LIBS@ $(XTLIBS) -lX11 -lm @X_EXTRA_LIBS@ + + # the target of the build +-electric: $(CORE_OBJS) ++all: $(CORE_OBJS) + $(COMPILER) $(BUILDOPTS) -o electric $(CORE_OBJS) $(LIBS) + + clean: +@@ -422,15 +423,17 @@ + rm -f src/usr/*~ src/usr/"#"*"#" + rm -f src/vhdl/*~ src/vhdl/"#"*"#" + +-install: all $(prefix)/electric $(prefix)/electric/lib ++install: all @datadir@/electric @datadir@/electric/lib + $(INSTALL_PROGRAM) electric @bindir@/electric +- $(INSTALL_DATA) lib/* $(prefix)/electric/lib +- $(INSTALL_DATA) lib/.cadrc $(prefix)/electric/lib ++ $(INSTALL_DATA) lib/*.help @datadir@/electric/lib ++ $(INSTALL_DATA) lib/*.mac @datadir@/electric/lib ++ $(INSTALL_DATA) lib/*.txt @datadir@/electric/lib ++ $(INSTALL_DATA) lib/.cadrc @datadir@/electric/lib + +-$(prefix)/electric: +- mkdir $(prefix)/electric +-$(prefix)/electric/lib: +- mkdir $(prefix)/electric/lib ++@datadir@/electric: ++ $(INSTALL_DIR) @datadir@/electric ++@datadir@/electric/lib: ++ $(INSTALL_DIR) @datadir@/electric/lib + + uninstall: + rm -f @bindir@/electric diff --git a/cad/electric/files/template-patch-prefix b/cad/electric/files/template-patch-prefix new file mode 100644 index 000000000000..d7e0356b8a72 --- /dev/null +++ b/cad/electric/files/template-patch-prefix @@ -0,0 +1,28 @@ +This patch teaches it a little bit about hier(7) + +--- src/include/config.h.ORIG Thu May 4 01:19:57 2000 ++++ src/include/config.h Thu May 4 01:22:03 2000 +@@ -110,15 +110,15 @@ + # define ELECTRICLOG ".electric.log" + # define ELECTRICLOGSAVE ".electriclast.log" + # define OPTIONSFILE ".electricoptions.elib" +-# define LIBDIR "lib/" ++# define LIBDIR "PREFIX/share/electric/lib/" + # define SORTLOC "/usr/bin/sort" +-# define ESIMLOC "/usr/local/bin/esim" +-# define RSIMLOC "/usr/local/bin/rsim" +-# define PRESIMLOC "/usr/local/bin/presim" +-# define RNLLOC "/usr/local/bin/rnl" +-# define SPICELOC "/usr/local/bin/spice" +-# define FLATDRCLOC "/usr/local/bin/ffindshort" +-# define SFLATDRCLOC "/usr/local/bin/findshort" ++# define ESIMLOC "PREFIX/bin/esim" ++# define RSIMLOC "PREFIX/bin/rsim" ++# define PRESIMLOC "PREFIX/bin/presim" ++# define RNLLOC "PREFIX/bin/rnl" ++# define SPICELOC "PREFIX/bin/spice" ++# define FLATDRCLOC "PREFIX/bin/ffindshort" ++# define SFLATDRCLOC "PREFIX/bin/findshort" + # define HUGEINT 0x7FFFFFFF /* largest possible integer */ + typedef long INTBIG; /* at least 32 bits, can hold address */ + typedef short INTSML; /* at least 16 bits */ diff --git a/cad/electric/pkg-comment b/cad/electric/pkg-comment new file mode 100644 index 000000000000..9fd9e89e0f8a --- /dev/null +++ b/cad/electric/pkg-comment @@ -0,0 +1 @@ +A Sophisticated electrical CAD system diff --git a/cad/electric/pkg-descr b/cad/electric/pkg-descr new file mode 100644 index 000000000000..07d8401b369c --- /dev/null +++ b/cad/electric/pkg-descr @@ -0,0 +1,24 @@ +Electric is a sophisticated electrical CAD system that can handle +many forms of circuit design, including: + + Custom IC layout (ASICs) + Schematic drawing + Hardware description language specifications + Electro-mechanical hybrid layout + +(snip, this is an edited version of Electric's homepage) + +Electric handles these file formats: + + CIF I/O + GDS I/O + VHDL I/O + DXF I/O + PostScript, HPGL, and QuickDraw output + +For real funcionality, one should consider installing +support simulation software such as cad/spice. + +For a complete description check below. + +WWW: http://www.gnu.org/software/electric/electric.html diff --git a/cad/electric/pkg-plist b/cad/electric/pkg-plist new file mode 100644 index 000000000000..177b2750afaa --- /dev/null +++ b/cad/electric/pkg-plist @@ -0,0 +1,14 @@ +bin/electric +share/electric/lib/ALS.help +share/electric/lib/CL.help +share/electric/lib/EVE.help +share/electric/lib/QUISC.help +share/electric/lib/evemenus.mac +share/electric/lib/evetutor.mac +share/electric/lib/pla_mocmos.txt +share/electric/lib/sclib.txt +share/electric/lib/tsmc25.txt +share/electric/lib/umc18.txt +share/electric/lib/.cadrc +@dirrm share/electric/lib +@dirrm share/electric |