[145853] trunk/dports/devel

eborisch at macports.org eborisch at macports.org
Thu Feb 18 22:02:43 PST 2016


Revision: 145853
          https://trac.macports.org/changeset/145853
Author:   eborisch at macports.org
Date:     2016-02-18 22:02:43 -0800 (Thu, 18 Feb 2016)
Log Message:
-----------
Objconv: new port; object file converter and disassembler.

Added Paths:
-----------
    trunk/dports/devel/objconv/
    trunk/dports/devel/objconv/Portfile

Added: trunk/dports/devel/objconv/Portfile
===================================================================
--- trunk/dports/devel/objconv/Portfile	                        (rev 0)
+++ trunk/dports/devel/objconv/Portfile	2016-02-19 06:02:43 UTC (rev 145853)
@@ -0,0 +1,49 @@
+# $Id$
+
+PortSystem          1.0
+PortGroup           muniversal 1.0
+
+name                objconv
+version             20160116
+revision            0
+categories          devel
+license             GPL
+maintainers         nomaintainer
+description         Object converter / disassembler.
+long_description    This utility can be used for converting object files \
+                    between COFF/PE, OMF, ELF and Mach-O formats for all \
+                    32-bit and 64-bit x86 platforms. Can modify symbol names \
+                    in object files. Can build, modify and convert function \
+                    libraries across platforms. Can dump object files and \
+                    executable files. Also includes a very good disassembler \
+                    supporting the SSE4, AVX, AVX2, AVX512, FMA3, FMA4, XOP \
+                    and Knights Corner instruction sets. 
+
+homepage            http://www.agner.org/optimize
+master_sites        http://www.agner.org/optimize
+distname            objconv
+use_zip             yes
+
+checksums \
+    rmd160  db584d81f2c695c6e0d15190ce2cfaf9d45918f9 \
+    sha256  1aa3171a8f0ebba7902b413857b178df2b079cbc31bfb95b196ba7a685c227ba
+
+post-extract {
+    system -W ${workpath} "unzip -d ${name} source.zip"
+}
+
+use_configure no
+
+build {
+    system -W ${worksrcpath} \
+        "${configure.cxx} -o objconv ${configure.cxxflags} \
+           ${configure.ldflags} [get_canonical_archflags] *.cpp"
+}
+
+destroot {
+    xinstall -d ${destroot}${prefix}/bin
+    xinstall ${worksrcpath}/${name} ${destroot}${prefix}/bin/
+    xinstall -d ${destroot}${prefix}/share/doc
+    xinstall ${workpath}/${name}-instructions.pdf \
+             ${destroot}${prefix}/share/
+}


Property changes on: trunk/dports/devel/objconv/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160218/859cbe4c/attachment-0001.html>


More information about the macports-changes mailing list