Ticket #37536: ngspice-26-Portfile.diff
File ngspice-26-Portfile.diff, 3.0 KB (added by holger.waechtler@…, 11 years ago) |
---|
-
ports/science/ngspice/Portfile
old new 1 1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 2 # $Id : Portfile 99376 2012-11-04 03:31:08Z ryandesign@macports.org$2 # $Id$ 3 3 4 4 PortSystem 1.0 5 5 6 6 name ngspice 7 version 2 47 version 26 8 8 license BSD 9 9 categories science cad 10 10 maintainers nomaintainer 11 11 platforms darwin 12 description Circuit simulator based on Spice 3f5 12 description Circuit simulator based on Spice 3f5, XSpice and others 13 13 long_description \ 14 14 Ngspice is a mixed-level/mixed-signal circuit simulator. Its \ 15 15 code is based on three open source software packages: Spice3f5, \ … … long_description \ 20 20 homepage http://ngspice.sourceforge.net/ 21 21 master_sites sourceforge:project/ngspice/ng-spice-rework/${version} 22 22 23 checksums rmd160 69363d58ef69724f5ac909dcda278095b12bb8dd\24 sha256 86d2748f6a62db2ed1c4601b24984f6698c88b910bf263ce975467bc6039f06523 checksums rmd160 b708ef7af2f6882e04d7bb4985418b4ac0c37a3b \ 24 sha256 51e230c8b720802d93747bc580c0a29d1fb530f3dd06f213b6a700ca9a4d0108 25 25 26 26 set docdir ${prefix}/share/doc/${name} 27 27 28 28 if {${name} == ${subport}} { 29 depends_lib port:libedit \ 30 port:xorg-libXaw 29 depends_lib port:libedit 31 30 32 configure.args --enable- x\31 configure.args --enable-cider \ 33 32 --enable-xspice \ 33 --enable-pss \ 34 34 --with-editline \ 35 --x-includes=${prefix}/include \ 36 --x-libraries=${prefix}/lib 35 --enable-debug=no 37 36 38 37 post-destroot { 39 38 xinstall -d ${destroot}${docdir} … … subport ngspice-docs { 65 64 description PDF manual for ngspice 66 65 long_description ${description} 67 66 68 distname ${name}${version}-manual.pdf 69 extract.suffix .gz 70 71 checksums rmd160 ec9a55175ca352530565b224032b5bb04f14a51b \ 72 sha256 dfb87979f285297f1e4c7fdbfc6380cc906f408019cdb39653d8e4411bb94ac4 73 67 distname ${name}-${version}-manual.pdf 68 extract.suffix 74 69 extract.only 70 71 checksums rmd160 1d708851d5e1a6feb3cf9e4e40396a0215996048 \ 72 sha256 30b4fde001d012b0350aae3ba64892fb2f315d04f6761b95abd79f4b7c4cd85d 75 73 76 74 use_configure no 77 75 78 76 build {} 79 77 80 78 destroot { 81 79 xinstall -d ${destroot}${docdir} 82 system "gzcat ${distpath}/${distfiles} > ${destroot}${docdir}/${name}-manual.pdf"80 xinstall -m 644 ${distpath}/${distname} ${destroot}${docdir} 83 81 } 84 82 }