mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
for pf in */*/Portfile
do
ed -s "$pf" <<-'EOF'
1,3g/^[[:space:]]*#[[:space:]]*\$Id.*\$[[:space:]]*$/d
1g/^[[:space:]]*$/d
w
q
EOF
done
48 lines
1.6 KiB
Plaintext
48 lines
1.6 KiB
Plaintext
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/
|
|
}
|