diff options
author | itetcu <itetcu@FreeBSD.org> | 2006-07-30 05:10:26 +0800 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2006-07-30 05:10:26 +0800 |
commit | 2b1331f86c9c9909653cfe77eefc58539e92a66e (patch) | |
tree | fa42622bb741fc941bf97c8f1898cec8da3c8ad4 /cad | |
parent | b50edc880585797147af411c0e8dfe679ef54896 (diff) | |
download | freebsd-ports-gnome-2b1331f86c9c9909653cfe77eefc58539e92a66e.tar.gz freebsd-ports-gnome-2b1331f86c9c9909653cfe77eefc58539e92a66e.tar.zst freebsd-ports-gnome-2b1331f86c9c9909653cfe77eefc58539e92a66e.zip |
ADMS is a code generator that converts electrical compact device models
specified in high-level description language into ready-to-compile c code for
the API of spice simulators.
WWW: http://mot-adms.sourceforge.net/
PR: ports/101014
Submitted by: Stanislav Sedov <ssedov at mbsd.msk.ru>
Diffstat (limited to 'cad')
-rw-r--r-- | cad/Makefile | 1 | ||||
-rw-r--r-- | cad/adms/Makefile | 24 | ||||
-rw-r--r-- | cad/adms/distinfo | 3 | ||||
-rw-r--r-- | cad/adms/files/patch-configure | 46 | ||||
-rw-r--r-- | cad/adms/pkg-descr | 5 | ||||
-rw-r--r-- | cad/adms/pkg-plist | 27 |
6 files changed, 106 insertions, 0 deletions
diff --git a/cad/Makefile b/cad/Makefile index f5d7164bacd0..1eda6d72c1f8 100644 --- a/cad/Makefile +++ b/cad/Makefile @@ -4,6 +4,7 @@ COMMENT = CAD tools SUBDIR += admesh + SUBDIR += adms SUBDIR += alliance SUBDIR += astk-client SUBDIR += astk-serveur diff --git a/cad/adms/Makefile b/cad/adms/Makefile new file mode 100644 index 000000000000..6123fe89a695 --- /dev/null +++ b/cad/adms/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: adms +# Date created: 2006-07-29 +# Whom: Stanislav Sedov <ssedov@mbsd.msk.ru> +# +# $MBSDlabs$ +# $FreeBSD$ +# + +PORTNAME= adms +PORTVERSION= 2.2.4 +CATEGORIES= cad +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR=mot-adms + +MAINTAINER= ssedov@mbsd.msk.ru +COMMENT= A model generator for SPICE simulators + +USE_GMAKE= yes +USE_GNOME= glib20 pkgconfig +GNU_CONFIGURE= yes +USE_LDCONFIG= yes +USE_GCC= 3.2+ + +.include <bsd.port.mk> diff --git a/cad/adms/distinfo b/cad/adms/distinfo new file mode 100644 index 000000000000..7c6cd2c804aa --- /dev/null +++ b/cad/adms/distinfo @@ -0,0 +1,3 @@ +MD5 (adms-2.2.4.tar.gz) = cdc073d8b549bb2153423ab162a62727 +SHA256 (adms-2.2.4.tar.gz) = 9dab117138e3fb023bb144f59d2c598e366d7222ab029c97fa9e6d022c970a31 +SIZE (adms-2.2.4.tar.gz) = 704227 diff --git a/cad/adms/files/patch-configure b/cad/adms/files/patch-configure new file mode 100644 index 000000000000..be7bc121c45f --- /dev/null +++ b/cad/adms/files/patch-configure @@ -0,0 +1,46 @@ +--- configure.orig Sat Jul 29 10:30:30 2006 ++++ configure Sat Jul 29 10:31:30 2006 +@@ -1510,9 +1510,6 @@ + ac_config_headers="$ac_config_headers config.h" + + +-# force use of gnu compiler +-CC=gcc +- + # specific configuration. + ac_aux_dir= + for ac_dir in auxconf $srcdir/auxconf; do +@@ -4181,33 +4178,6 @@ + echo "$as_me:$LINENO: result: no" >&5 + echo "${ECHO_T}no" >&6 + SET_MAKE="MAKE=${MAKE-make}" +-fi +- +- +-#force use of flex/bison +-if test "x$LEX" != xflex; then +- { echo "$as_me:$LINENO: WARNING: Program flex not found (found $LEX)" >&5 +-echo "$as_me: WARNING: Program flex not found (found $LEX)" >&2;} +- { { echo "$as_me:$LINENO: error: Please install gnu flex from http://www.gnu.org/software/flex/" >&5 +-echo "$as_me: error: Please install gnu flex from http://www.gnu.org/software/flex/" >&2;} +- { (exit 1); exit 1; }; } +-fi +-if test "x$YACC" != 'xbison -y'; then +- { echo "$as_me:$LINENO: WARNING: Program bison not found (found $YACC)" >&5 +-echo "$as_me: WARNING: Program bison not found (found $YACC)" >&2;} +- { { echo "$as_me:$LINENO: error: Please install gnu bison from http://www.gnu.org/software/bison/" >&5 +-echo "$as_me: error: Please install gnu bison from http://www.gnu.org/software/bison/" >&2;} +- { (exit 1); exit 1; }; } +-fi +- +-#advice use of gcc +-if test "x$CC" != xgcc; then +- { echo "$as_me:$LINENO: WARNING: Seems that the selected C-compiler is not gnu gcc C-compiler" >&5 +-echo "$as_me: WARNING: Seems that the selected C-compiler is not gnu gcc C-compiler" >&2;} +- { echo "$as_me:$LINENO: WARNING: We advice you to use gcc as C-compiler" >&5 +-echo "$as_me: WARNING: We advice you to use gcc as C-compiler" >&2;} +- { echo "$as_me:$LINENO: WARNING: You can install it from http://www.gnu.org/software/gcc/" >&5 +-echo "$as_me: WARNING: You can install it from http://www.gnu.org/software/gcc/" >&2;} + fi + + # Checks for header files. diff --git a/cad/adms/pkg-descr b/cad/adms/pkg-descr new file mode 100644 index 000000000000..76a72ec670a4 --- /dev/null +++ b/cad/adms/pkg-descr @@ -0,0 +1,5 @@ +ADMS is a code generator that converts electrical compact device models +specified in high-level description language into ready-to-compile c code for +the API of spice simulators. + +WWW: http://mot-adms.sourceforge.net/ diff --git a/cad/adms/pkg-plist b/cad/adms/pkg-plist new file mode 100644 index 000000000000..fc82db9e2fdd --- /dev/null +++ b/cad/adms/pkg-plist @@ -0,0 +1,27 @@ +bin/admsCheck +bin/admsPreprocessor +bin/admsXml +lib/libadmsCheck.a +lib/libadmsCheck.la +lib/libadmsCheck.so +lib/libadmsCheck.so.0 +lib/libadmsFile.a +lib/libadmsFile.la +lib/libadmsFile.so +lib/libadmsFile.so.0 +lib/libadmsObject.a +lib/libadmsObject.la +lib/libadmsObject.so +lib/libadmsObject.so.0 +lib/libadmsPreprocessor.a +lib/libadmsPreprocessor.la +lib/libadmsPreprocessor.so +lib/libadmsPreprocessor.so.0 +lib/libadmsVeriloga.a +lib/libadmsVeriloga.la +lib/libadmsVeriloga.so +lib/libadmsVeriloga.so.0 +lib/libadmsXml.a +lib/libadmsXml.la +lib/libadmsXml.so +lib/libadmsXml.so.0 |