[83077] trunk/dports/lang/xotcl/Portfile
macsforever2000 at macports.org
macsforever2000 at macports.org
Thu Aug 25 08:46:13 PDT 2011
Revision: 83077
http://trac.macports.org/changeset/83077
Author: macsforever2000 at macports.org
Date: 2011-08-25 08:46:13 -0700 (Thu, 25 Aug 2011)
Log Message:
-----------
xotcl: Update to version 1.6.6. Add maintainer. Fix build process. (#30968)
Modified Paths:
--------------
trunk/dports/lang/xotcl/Portfile
Modified: trunk/dports/lang/xotcl/Portfile
===================================================================
--- trunk/dports/lang/xotcl/Portfile 2011-08-25 15:26:36 UTC (rev 83076)
+++ trunk/dports/lang/xotcl/Portfile 2011-08-25 15:46:13 UTC (rev 83077)
@@ -1,21 +1,47 @@
# $Id$
PortSystem 1.0
+
name xotcl
-version 1.1.1
-revision 0
+version 1.6.6
categories lang
-maintainers nomaintainer
+maintainers wu.ac.at:neumann
description Extended Object Tool Command Language
-long_description XOTcl (XOTcl, pronounced exotickle) is an object-oriented scripting language based on MIT's OTcl. It is intended as a value added replacement for OTcl.
+long_description Extended Object Tcl (for short: XOTcl, pronounced exotickle) is an \
+ object-oriented scripting language based on Tcl. It was originally \
+ designed for providing language support for design patterns and provides \
+ novel constructs such as filters or transitive mixin classes. \
+ The language is designed for empowering rather than constraining \
+ system developers. The basic object model is highly influenced by CLOS.
platforms darwin
homepage http://media.wu-wien.ac.at
-master_sites ${homepage}/download/
-checksums md5 d8f97042594ffa076813907155c74a2a
+master_sites ${homepage}/download/:xotcl sourceforge:tcl:tcl
destroot.destdir DESTDIR=${destroot}
-worksrcdir ${name}-${version}/unix
-depends_lib lib:libtk8.4:tk
+worksrcdir ${name}-${version}/
+depends_lib lib:libtk8.5:tk
+# Set tclv and md5 checksum to the current MacPorts Tcl port version, though port doesn't
+# break if they aren't in sync.
+
+set tclv 8.5.9
+
+distfiles ${distname}.tar.gz:xotcl \
+ tcl${tclv}-src.tar.gz:tcl
+checksums ${distname}.tar.gz md5 bb044369dba3699f86d86ca89e63193d \
+ tcl${tclv}-src.tar.gz md5 8512d8db3233041dd68a81476906012a
+
# Use a reasonable default
-set tclconfig ${prefix}/lib
-configure.args --enable-threads --with-tcl=${tclconfig} --with-tk=${prefix}/lib
+set tclconfig ${prefix}/lib
+configure.cflags "-I${workpath}/tcl${tclv}/generic -I${workpath}/tcl${tclv}/unix"
+configure.args --enable-threads --with-tcl=${tclconfig} --with-tk=${prefix}/lib \
+ --with-xotclsh \
+ --mandir=${prefix}/share/man \
+ --with-tcl=${prefix}/lib \
+ --with-tclinclude=${workpath}/tcl${tclv}/generic/
+
+dist_subdir tcltk
+distname ${name}${version}
+
+test.run yes
+test.target test
+use_parallel_build no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110825/8058adf9/attachment.html>
More information about the macports-changes
mailing list