[68027] trunk/dports/emulators
jmr at macports.org
jmr at macports.org
Mon May 24 17:58:58 PDT 2010
Revision: 68027
http://trac.macports.org/changeset/68027
Author: jmr at macports.org
Date: 2010-05-24 17:58:55 -0700 (Mon, 24 May 2010)
Log Message:
-----------
New port: gxemul, a simulator for ARM, MIPS, Motorola 88K, PowerPC, and SuperH (#23045)
Added Paths:
-----------
trunk/dports/emulators/gxemul/
trunk/dports/emulators/gxemul/Portfile
Added: trunk/dports/emulators/gxemul/Portfile
===================================================================
--- trunk/dports/emulators/gxemul/Portfile (rev 0)
+++ trunk/dports/emulators/gxemul/Portfile 2010-05-25 00:58:55 UTC (rev 68027)
@@ -0,0 +1,46 @@
+# $Id$
+
+PortSystem 1.0
+
+name gxemul
+version 0.4.7.2
+categories emulators
+platforms darwin
+maintainers me.com:tsupplis
+description A simulator for ARM, MIPS, Motorola 88K, PowerPC, and SuperH.
+long_description \
+GXemul is a framework for full-system computer architecture emulation. \
+Several real machines have been implemented within the framework, \
+consisting of processors (ARM, MIPS, Motorola 88K, PowerPC, and SuperH) \
+and surrounding hardware components such as framebuffers, interrupt \
+controllers, busses, disk controllers, and serial controllers.
+
+homepage http://gxemul.sourceforge.net/
+master_sites ${homepage}src/
+
+checksums md5 a2ec4f58a831dd883c196c4fd362b702 \
+ sha1 63a20b810ef4ea9d7ec4678f135470fb324f61f1 \
+ rmd160 a54fb4f1ecf567ff9f62e8b1541018b38dea1e1a
+
+depends_build port:pkgconfig
+depends_lib port:xorg-libX11
+
+configure.pre_args
+configure.universal_args
+
+# force usage of port libraries
+post-configure {
+ set x11_cflags [exec ${prefix}/bin/pkg-config --cflags-only-I x11]
+ set x11_ldflags [exec ${prefix}/bin/pkg-config --libs x11]
+ set makefiles [exec find ${worksrcpath} -name Makefile]
+ foreach makefile $makefiles {
+ reinplace "s|XLIB=.*$|XLIB=${x11_ldflags}|g" ${makefile}
+ reinplace "s|XINCLUDE=.*$|XINCLUDE=${x11_cflags}|g" ${makefile}
+ }
+}
+
+# no default install in the makefile
+destroot {
+ xinstall -c -m 755 ${worksrcpath}/gxemul ${destroot}${prefix}/bin
+ xinstall -c -m 644 ${worksrcpath}/man/gxemul.1 ${destroot}${prefix}/share/man/man1
+}
Property changes on: trunk/dports/emulators/gxemul/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100524/d3362526/attachment.html>
More information about the macports-changes
mailing list