From ssedov@mbsd.msk.ru  Sat Jul 29 06:48:06 2006
Return-Path: <ssedov@mbsd.msk.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 45A6C16A4DD
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 29 Jul 2006 06:48:06 +0000 (UTC)
	(envelope-from ssedov@mbsd.msk.ru)
Received: from com1.ht-systems.ru (com1.ht-systems.ru [83.97.104.204])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 93B8043D45
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 29 Jul 2006 06:48:05 +0000 (GMT)
	(envelope-from ssedov@mbsd.msk.ru)
Received: from [217.118.83.1] (helo=fonon.realnet)
	by com1.ht-systems.ru with esmtpa (Exim 4.62)
	(envelope-from <ssedov@mbsd.msk.ru>)
	id 1G6ijr-0006Uq-0W
	for FreeBSD-gnats-submit@freebsd.org; Sat, 29 Jul 2006 10:56:03 +0400
Received: by fonon.realnet (Postfix, from userid 1001)
	id DF8041208B; Sat, 29 Jul 2006 10:47:21 +0400 (MSD)
Message-Id: <20060729064721.DF8041208B@fonon.realnet>
Date: Sat, 29 Jul 2006 10:47:21 +0400 (MSD)
From: Stanislav Sedov <ssedov@mbsd.msk.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [NEW PORT] cad/adms: A model generator for SPICE simulators
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         101014
>Category:       ports
>Synopsis:       [NEW PORT] cad/adms: A model generator for SPICE simulators
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    itetcu
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 29 06:50:15 GMT 2006
>Closed-Date:    Sat Jul 29 21:10:40 GMT 2006
>Last-Modified:  Sat Jul 29 21:10:40 GMT 2006
>Originator:     Stanislav Sedov
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
MBSD labs, Inc.
>Environment:
System: FreeBSD fonon.realnet 7.0-CURRENT FreeBSD 7.0-CURRENT #7: Sun Jun 18 20:51:36 MSD 2006
>Description:
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/

>How-To-Repeat:
>Fix:

--- adms-2.2.4.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	adms
#	adms/pkg-descr
#	adms/Makefile
#	adms/pkg-plist
#	adms/distinfo
#	adms/files
#	adms/files/patch-configure
#
echo c - adms
mkdir -p adms > /dev/null 2>&1
echo x - adms/pkg-descr
sed 's/^X//' >adms/pkg-descr << 'END-of-adms/pkg-descr'
XADMS is a code generator that converts electrical compact device models
Xspecified in high-level description language into ready-to-compile c code for
Xthe API of spice simulators.
X
XWWW:	http://mot-adms.sourceforge.net/
END-of-adms/pkg-descr
echo x - adms/Makefile
sed 's/^X//' >adms/Makefile << 'END-of-adms/Makefile'
X# New ports collection makefile for:	adms
X# Date created:		2006-07-29
X# Whom:			Stanislav Sedov <ssedov@mbsd.msk.ru>
X#
X# $MBSDlabs$
X# $FreeBSD$
X#
X
XPORTNAME=	adms
XPORTVERSION=	2.2.4
XCATEGORIES=	cad
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=mot-adms
X
XMAINTAINER=	ssedov@mbsd.msk.ru
XCOMMENT=	A model generator for SPICE simulators
X
XUSE_GMAKE=	yes
XUSE_GNOME=	glib20 pkgconfig
XGNU_CONFIGURE=	yes
XUSE_LDCONFIG=	yes
X
X.include <bsd.port.mk>
END-of-adms/Makefile
echo x - adms/pkg-plist
sed 's/^X//' >adms/pkg-plist << 'END-of-adms/pkg-plist'
Xbin/admsCheck
Xbin/admsPreprocessor
Xbin/admsXml
Xlib/libadmsCheck.a
Xlib/libadmsCheck.la
Xlib/libadmsCheck.so
Xlib/libadmsCheck.so.0
Xlib/libadmsFile.a
Xlib/libadmsFile.la
Xlib/libadmsFile.so
Xlib/libadmsFile.so.0
Xlib/libadmsObject.a
Xlib/libadmsObject.la
Xlib/libadmsObject.so
Xlib/libadmsObject.so.0
Xlib/libadmsPreprocessor.a
Xlib/libadmsPreprocessor.la
Xlib/libadmsPreprocessor.so
Xlib/libadmsPreprocessor.so.0
Xlib/libadmsVeriloga.a
Xlib/libadmsVeriloga.la
Xlib/libadmsVeriloga.so
Xlib/libadmsVeriloga.so.0
Xlib/libadmsXml.a
Xlib/libadmsXml.la
Xlib/libadmsXml.so
Xlib/libadmsXml.so.0
END-of-adms/pkg-plist
echo x - adms/distinfo
sed 's/^X//' >adms/distinfo << 'END-of-adms/distinfo'
XMD5 (adms-2.2.4.tar.gz) = cdc073d8b549bb2153423ab162a62727
XSHA256 (adms-2.2.4.tar.gz) = 9dab117138e3fb023bb144f59d2c598e366d7222ab029c97fa9e6d022c970a31
XSIZE (adms-2.2.4.tar.gz) = 704227
END-of-adms/distinfo
echo c - adms/files
mkdir -p adms/files > /dev/null 2>&1
echo x - adms/files/patch-configure
sed 's/^X//' >adms/files/patch-configure << 'END-of-adms/files/patch-configure'
X--- configure.orig	Sat Jul 29 10:30:30 2006
X+++ configure	Sat Jul 29 10:31:30 2006
X@@ -1510,9 +1510,6 @@
X           ac_config_headers="$ac_config_headers config.h"
X 
X 
X-# force use of gnu compiler
X-CC=gcc
X-
X # specific configuration.
X ac_aux_dir=
X for ac_dir in auxconf $srcdir/auxconf; do
X@@ -4181,33 +4178,6 @@
X   echo "$as_me:$LINENO: result: no" >&5
X echo "${ECHO_T}no" >&6
X   SET_MAKE="MAKE=${MAKE-make}"
X-fi
X-
X-
X-#force use of flex/bison
X-if test "x$LEX" != xflex; then
X-  { echo "$as_me:$LINENO: WARNING: Program flex not found (found $LEX)" >&5
X-echo "$as_me: WARNING: Program flex not found (found $LEX)" >&2;}
X-  { { echo "$as_me:$LINENO: error: Please install gnu flex from http://www.gnu.org/software/flex/" >&5
X-echo "$as_me: error: Please install gnu flex from http://www.gnu.org/software/flex/" >&2;}
X-   { (exit 1); exit 1; }; }
X-fi
X-if test "x$YACC" != 'xbison -y'; then
X-  { echo "$as_me:$LINENO: WARNING: Program bison not found (found $YACC)" >&5
X-echo "$as_me: WARNING: Program bison not found (found $YACC)" >&2;}
X-  { { echo "$as_me:$LINENO: error: Please install gnu bison from http://www.gnu.org/software/bison/" >&5
X-echo "$as_me: error: Please install gnu bison from http://www.gnu.org/software/bison/" >&2;}
X-   { (exit 1); exit 1; }; }
X-fi
X-
X-#advice use of gcc
X-if test "x$CC" != xgcc; then
X-  { echo "$as_me:$LINENO: WARNING: Seems that the selected C-compiler is not gnu gcc C-compiler" >&5
X-echo "$as_me: WARNING: Seems that the selected C-compiler is not gnu gcc C-compiler" >&2;}
X-  { echo "$as_me:$LINENO: WARNING: We advice you to use gcc as C-compiler" >&5
X-echo "$as_me: WARNING: We advice you to use gcc as C-compiler" >&2;}
X-  { echo "$as_me:$LINENO: WARNING: You can install it from http://www.gnu.org/software/gcc/" >&5
X-echo "$as_me: WARNING: You can install it from http://www.gnu.org/software/gcc/" >&2;}
X fi
X 
X # Checks for header files.
END-of-adms/files/patch-configure
exit
--- adms-2.2.4.shar ends here ---

>Release-Note:
>Audit-Trail:

From: Stanislav Sedov <ssedov@mbsd.msk.ru>
To: bug-followup@freebsd.org <bug-followup@freebsd.org>
Cc:  
Subject: Re: ports/101014: [NEW PORT] cad/adms: A model generator for SPICE
 simulators
Date: Sat, 29 Jul 2006 15:09:03 +0400

 Oh, and it requires gcc 3.4 for freebsd4 support:
 ----------------------------------------------------
 --- Makefile.orig	Sat Jul 29 15:04:17 2006
 +++ Makefile	Sat Jul 29 15:04:55 2006
 @@ -15,6 +15,7 @@
  MAINTAINER=	ssedov@mbsd.msk.ru
  COMMENT=	A model generator for SPICE simulators
  
 +USE_GCC=	3.4+
  USE_GMAKE=	yes
  USE_GNOME=	glib20 pkgconfig
  GNU_CONFIGURE=	yes
 ----------------------------------------------------
Responsible-Changed-From-To: freebsd-ports-bugs->itetcu 
Responsible-Changed-By: itetcu 
Responsible-Changed-When: Sat Jul 29 16:24:56 UTC 2006 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=101014 
State-Changed-From-To: open->closed 
State-Changed-By: itetcu 
State-Changed-When: Sat Jul 29 21:10:36 UTC 2006 
State-Changed-Why:  
New port added, with fixes: USE_GCC= 3.2+ to make it build on 4.x, 
s/INSTALLS_SHLIB/USE_LDCONFIG/. Thanks ! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=101014 
>Unformatted:
