[69860] trunk/dports/devel

ryandesign at macports.org ryandesign at macports.org
Mon Jul 19 02:08:17 PDT 2010


Revision: 69860
          http://trac.macports.org/changeset/69860
Author:   ryandesign at macports.org
Date:     2010-07-19 02:08:13 -0700 (Mon, 19 Jul 2010)
Log Message:
-----------
flasm: new port, version 1.62

Added Paths:
-----------
    trunk/dports/devel/flasm/
    trunk/dports/devel/flasm/Portfile
    trunk/dports/devel/flasm/files/
    trunk/dports/devel/flasm/files/patch-Makefile

Added: trunk/dports/devel/flasm/Portfile
===================================================================
--- trunk/dports/devel/flasm/Portfile	                        (rev 0)
+++ trunk/dports/devel/flasm/Portfile	2010-07-19 09:08:13 UTC (rev 69860)
@@ -0,0 +1,56 @@
+# $Id$
+
+PortSystem                  1.0
+
+name                        flasm
+# flasm's version number appears to be expressed as a floating-point number
+# instead of a dotted decimal; expect to need to increase the epoch often
+version                     1.62
+categories                  devel graphics
+platforms                   darwin
+maintainers                 ryandesign
+license                     BSD
+
+description                 Flash command-line assembler and disassembler
+
+long_description            ${name} is a command-line assembler and \
+                            disassembler of Flash ActionScript bytecode
+
+homepage                    http://www.nowrap.de/flasm.html
+master_sites                http://www.nowrap.de/download/
+dist_subdir                 ${name}/${version}
+distname                    ${name}[lindex [split ${version} .] 0][string index [lindex [split ${version} .] 1] 0]src
+use_zip                     yes
+
+checksums                   md5     ce0edf6b424c70fadc7ea2277d312a70 \
+                            sha1    a85cc4db72561ada6429ead47f28618d08a89041 \
+                            rmd160  7076a6b1aa8312c7a2356e9ddf92501f3bdd0f6b
+
+depends_build               port:flex \
+                            port:gperf
+
+depends_lib                 port:zlib
+
+extract.mkdir               yes
+
+post-patch {
+    # MacPorts bison (2.4.2) is too new; use system's bison (2.3 on Snow Leopard)
+    reinplace {s|bison|/usr/bin/bison|g} ${worksrcpath}/Makefile
+}
+
+use_configure               no
+
+build.args                  CC=${configure.cc} \
+                            CFLAGS="${configure.cflags} ${configure.cc_archflags}"
+
+destroot {
+    xinstall -W ${worksrcpath} flasm ${destroot}${prefix}/bin
+    
+    set docdir ${destroot}${prefix}/share/doc/${name}
+    xinstall -d ${docdir}/html
+    xinstall -m 644 -W ${worksrcpath} CHANGES.TXT LICENSE.TXT flasm.ini ${docdir}
+    xinstall -m 644 -W ${worksrcpath} classic.css flasm.html logo.gif ${docdir}/html
+}
+
+livecheck.type              regex
+livecheck.regex             {version is <b>([0-9.]+)</b>}


Property changes on: trunk/dports/devel/flasm/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/devel/flasm/files/patch-Makefile
===================================================================
--- trunk/dports/devel/flasm/files/patch-Makefile	                        (rev 0)
+++ trunk/dports/devel/flasm/files/patch-Makefile	2010-07-19 09:08:13 UTC (rev 69860)
@@ -0,0 +1,11 @@
+--- Makefile.orig	2005-10-13 19:11:53.000000000 -0500
++++ Makefile	2010-07-19 03:42:40.000000000 -0500
+@@ -29,7 +29,7 @@
+ 	${CC} $(CFLAGS) -o flasm ${OFILES} ${LIBS}
+ 
+ assembler.tab.c assembler.tab.h: assembler.y
+-	bison --defines --debug assembler.y
++	/usr/bin/bison --defines --debug assembler.y
+ 
+ lex.yy.c: assembler.flex assembler.tab.h
+ 	flex -i assembler.flex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100719/afbb039c/attachment.html>


More information about the macports-changes mailing list