[103408] trunk/dports/lang/squirrel/Portfile
Revision: 103408 https://trac.macports.org/changeset/103408 Author: larryv@macports.org Date: 2013-02-24 19:45:33 -0800 (Sun, 24 Feb 2013) Log Message: ----------- squirrel: Add modeline; fix whitespace and formatting; update description. Modified Paths: -------------- trunk/dports/lang/squirrel/Portfile Modified: trunk/dports/lang/squirrel/Portfile =================================================================== --- trunk/dports/lang/squirrel/Portfile 2013-02-25 01:14:41 UTC (rev 103407) +++ trunk/dports/lang/squirrel/Portfile 2013-02-25 03:45:33 UTC (rev 103408) @@ -1,51 +1,55 @@ +# -*- 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 # $Id$ -PortSystem 1.0 +PortSystem 1.0 -name squirrel -version 2.2.3 -categories lang -platforms darwin -license BSD -maintainers nomaintainer -description high level imperative/OO programming language -long_description Squirrel is a high level imperative/OO programming \ - language, designed to be a powerful scripting tool that fits \ - in the size, memory bandwidth, and real-time requirements of \ - applications like games. +name squirrel +version 2.2.3 +categories lang +platforms darwin +license BSD +maintainers nomaintainer -homepage http://www.squirrel-lang.org/ -master_sites sourceforge -distname squirrel_${version}_stable -checksums md5 25295ed1459111a80f612357cfe83b54 \ - sha1 aa5a427edf1e1a7415414462d7a7773913eb8d60 \ - rmd160 597e219851957cfcd71d8e6aefeee73d8e01c569 +description The Squirrel programming language +long_description Squirrel is a high level imperative, \ + object-oriented programming language, designed \ + to be a light-weight scripting language that \ + fits in the size, memory bandwidth, and \ + real-time requirements of applications like \ + video games. +homepage http://www.squirrel-lang.org/ +master_sites sourceforge +distname squirrel_${version}_stable +checksums md5 25295ed1459111a80f612357cfe83b54 \ + sha1 aa5a427edf1e1a7415414462d7a7773913eb8d60 \ + rmd160 597e219851957cfcd71d8e6aefeee73d8e01c569 + pre-patch { - reinplace "s|\r||g" \ - ${worksrcpath}/sq/Makefile \ - ${worksrcpath}/squirrel/Makefile \ - ${worksrcpath}/sqstdlib/Makefile + reinplace "s|\r||g" \ + ${worksrcpath}/sq/Makefile \ + ${worksrcpath}/squirrel/Makefile \ + ${worksrcpath}/sqstdlib/Makefile } -patchfiles patch-compiler.diff +patchfiles patch-compiler.diff -worksrcdir SQUIRREL2 +worksrcdir SQUIRREL2 -use_configure no +use_configure no -build.target sq32 -build.env-append CC=${configure.cc} \ - CXX=${configure.cxx} +build.target sq32 +build.env-append CC=${configure.cc} \ + CXX=${configure.cxx} -destroot { - xinstall -m 755 ${worksrcpath}/bin/sq ${destroot}${prefix}/bin - xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} - file copy ${worksrcpath}/samples \ - ${destroot}${prefix}/share/doc/${name}/examples - xinstall -m 644 -W ${worksrcpath}/lib libsqstdlib.a libsquirrel.a \ - ${destroot}${prefix}/lib - xinstall -m 644 -W ${worksrcpath}/include sqstdaux.h sqstdblob.h sqstdio.h \ - sqstdmath.h sqstdstring.h sqstdsystem.h squirrel.h \ - ${destroot}${prefix}/include +destroot { + xinstall -m 755 ${worksrcpath}/bin/sq ${destroot}${prefix}/bin + xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} + file copy ${worksrcpath}/samples \ + ${destroot}${prefix}/share/doc/${name}/examples + xinstall -m 644 -W ${worksrcpath}/lib libsqstdlib.a libsquirrel.a \ + ${destroot}${prefix}/lib + xinstall -m 644 -W ${worksrcpath}/include sqstdaux.h sqstdblob.h sqstdio.h \ + sqstdmath.h sqstdstring.h sqstdsystem.h squirrel.h \ + ${destroot}${prefix}/include }
participants (1)
-
larryv@macports.org