[141868] trunk/dports/science
mojca at macports.org
mojca at macports.org
Sat Dec 12 03:20:59 PST 2015
Revision: 141868
https://trac.macports.org/changeset/141868
Author: mojca at macports.org
Date: 2015-10-30 04:56:16 -0700 (Fri, 30 Oct 2015)
Log Message:
-----------
gmtk: new port (#46252)
Added Paths:
-----------
trunk/dports/science/gmtk/
trunk/dports/science/gmtk/Portfile
trunk/dports/science/gmtk/files/
trunk/dports/science/gmtk/files/patch-tksrc-Makefile.in.diff
Added: trunk/dports/science/gmtk/Portfile
===================================================================
--- trunk/dports/science/gmtk/Portfile (rev 0)
+++ trunk/dports/science/gmtk/Portfile 2015-10-30 11:56:16 UTC (rev 141868)
@@ -0,0 +1,42 @@
+# -*- 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
+PortGroup wxWidgets 1.0
+wxWidgets.use wxWidgets-3.0
+
+name gmtk
+version 1.4.3
+categories science
+platforms darwin
+license OSL-3
+maintainers uw.edu:rprogers openmaintainer
+description Graphical Models Toolkit
+long_description The Graphical Models Toolkit is an open source \
+ toolkit for rapidly prototyping dynamic graphical models
+homepage https://j.ee.washington.edu/trac/gmtk
+master_sites http://melodi.ee.washington.edu/downloads/gmtk/
+
+checksums rmd160 a8c4929e5cd80e5c622c90ea27ad4fabb5ecedfc \
+ sha256 679ef679000f9f22e57265f50b8c2ab62b682cefbb6a72dcef81a196e1c2a0ea
+
+depends_build port:coreutils \
+ port:pkgconfig
+depends_lib port:hdf5 \
+ port:${wxWidgets.port}
+
+patchfiles patch-tksrc-Makefile.in.diff
+
+configure.args --with-wxdir=${wxWidgets.wxdir} \
+ --without-x
+
+post-destroot {
+ # Install example files not installed by the Makefile
+ file mkdir ${destroot}${prefix}/share/doc/${name}
+ file copy ${worksrcpath}/COPYING \
+ ${destroot}${prefix}/share/doc/${name}
+ file copy ${worksrcpath}/NEWS \
+ ${destroot}${prefix}/share/doc/${name}
+ file copy ${worksrcpath}/README \
+ ${destroot}${prefix}/share/doc/${name}
+}
Property changes on: trunk/dports/science/gmtk/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/science/gmtk/files/patch-tksrc-Makefile.in.diff
===================================================================
--- trunk/dports/science/gmtk/files/patch-tksrc-Makefile.in.diff (rev 0)
+++ trunk/dports/science/gmtk/files/patch-tksrc-Makefile.in.diff 2015-10-30 11:56:16 UTC (rev 141868)
@@ -0,0 +1,11 @@
+--- tksrc/Makefile.in.orig
++++ tksrc/Makefile.in
+@@ -846,7 +846,7 @@ gmtkMMItrain_SOURCES = gmtkMMItrain.cc
+ # $(compile.cc.link) -Wall -g -DMAIN -o $@ gmtkUnroll.o $(LIBS)
+ gmtkViz_SOURCES = gmtkViz.cc
+ gmtkViz_CXXFLAGS = $(VERSIONFLAG) $(VIZCXXFLAGS) $(DEBUGFLAGS) $(OPTFLAGS) $(X_CFLAGS) $(EXTRA_WX_FLAGS)
+-gmtkViz_LDADD = $(LDADD) $(VIZLDFLAGS) $(X_PRE_LIBS) $(X_LIBS) $(X_EXTRA_LIBS) -lX11 $(OSXLDFLAGS)
++gmtkViz_LDADD = $(LDADD) $(VIZLDFLAGS) $(X_PRE_LIBS) $(X_LIBS) $(X_EXTRA_LIBS) $(OSXLDFLAGS)
+ gmtkViz_app_SOURCES = Info.plist.in wxmac.icns
+ @MAKE_BUNDLE_TRUE at app_verbose = $(app_verbose_ at AM_V@)
+ @MAKE_BUNDLE_TRUE at app_verbose_ = $(app_verbose_ at AM_DEFAULT_V@)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/cb0ff8cc/attachment.html>
More information about the macports-changes
mailing list