the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: xcircuit-testing
Version: 3.8.21
Revision: 1
Depends: x11, x11-shlibs, ghostscript | ghostscript-nox, tcltk, tcltk-shlibs, app-defaults, ngspice
BuildDepends: autoconf2.6, automake1.11, m4, tcltk-dev, x11-dev, fink (>=0.28.0-1)
Conflicts: xcircuit
Replaces: xcircuit
Source: http://opencircuitdesign.com/xcircuit/archive/xcircuit-%v.tgz
Source-MD5: 46b8786a53fd8b0e6a35d168e793f615
PatchFile: xcircuit.patch
PatchFile-MD5: 760c8f976dc5e8cb6c22c9b37229ba8d
PatchScript: sed -e 's/@MAJOR_VERSION@/3.8/' %{PatchFile} | patch -p1
ConfigureParams: <<
--with-gnu-ld --x-libraries=/usr/X11/lib --x-includes=/usr/X11/include --with-ngspice=%p \
--enable-optimize
<<
SetCFLAGS: -I/usr/X11/include -fno-common
Compilescript: <<
autoreconf -fi
%{default_script}
<<
InstallScript: <<
#!/bin/sh -ev
make install DESTDIR=%d
mkdir -p %i/share/man/man1
mv %i/lib/xcircuit-3.8/man/xcircuit.1 %i/share/man/man1
rm -r %i/lib/xcircuit-3.8/man
mkdir -p %i/etc/app-defaults
mv %i/lib/xcircuit-3.8/app-defaults/XCircuit %i/etc/app-defaults
rm -r %i/lib/xcircuit-3.8/app-defaults
./mkinstalldirs %i/lib/xcircuit-3.8/python
for i in spice gettext pagebbox ;
do install -c -m 644 lib/python/$i.py %i/lib/xcircuit-3.8/python ;
done
<<
Shlibs: !%p/lib/xcircuit-3.8/xcircuit.dylib
DocFiles: COPYRIGHT README* TODO CHANGES examples
Description: Circuit drawing app with schematic capture
DescDetail: <<
XCircuit is a UNIX/X11 (and now Windows, if you have an X-Server running)
program for drawing publishable-quality electrical circuit schematic diagrams
and related figures, and produce circuit netlists through schematic capture.
XCircuit regards circuits as inherently hierarchical, and writes both
hierarchical PostScript output and hierarchical SPICE netlists.
Circuit components are saved in and retrieved from libraries which are fully
editable. XCircuit does not separate artistic expression from circuit drawing;
it maintains flexiblity in style without compromising the power of schematic
capture.
XCircuit is flexible enough to be used as a generic program for drawing just
about anything, and is competitive with powerful programs such as "xfig".
It is especially good for any task requiring repeated use of a standard set of
graphical objects, including architectural drawing, printed circuit board
layouts, and (my personal favorite) music typography.
This package represents the upstream "Development" branch.
<<
DescUsage: <<
Depending on your X11 environment, dialog boxes can get buried
behind the main window.
<<
DescPort: <<
Needed to add -fno-common to CFLAGS.
Added -I/usr/X11/include to CFLAGS because it wouldn't work with
CPPFLAGS. This is needed because the linker apparently can't find
the X11 headers by default on Fink's xfree86 or xorg.
Patch Makefile.in to to make sure that xcircuit.dylb
has a proper install_name.
<<
DescPackaging: <<
3.8.2-1 and later: unify patch with xcircuit, entailing a PatchScript to differentiate
the two cases.
3.6.78-1 and later: includes Python bindings (they come with the tarball) and
examples.
App-defaults file is installed in a Fink-compliant location.
Move manpage to Fink-compliant location in the InstallScript.
Prior versions by Max Horn.
<<
Maintainer: Alexander Hansen
Homepage: http://opencircuitdesign.com/xcircuit/
License: GPL