New port: devel/objconv
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. WWW: https://www.agner.org/optimize PR: 252674 Submitted by: Robert Clausecker <fuz@fuz.su>
This commit is contained in:
parent
d3606a2568
commit
9b8b8de545
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=561609
5 changed files with 50 additions and 0 deletions
|
@ -1572,6 +1572,7 @@
|
|||
SUBDIR += nsync
|
||||
SUBDIR += nuitka
|
||||
SUBDIR += obby
|
||||
SUBDIR += objconv
|
||||
SUBDIR += objecthash
|
||||
SUBDIR += ocaml-annexlib
|
||||
SUBDIR += ocaml-calendar
|
||||
|
|
30
devel/objconv/Makefile
Normal file
30
devel/objconv/Makefile
Normal file
|
@ -0,0 +1,30 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= objconv
|
||||
DISTVERSION= 2.52
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://fuz.su/~fuz/objconv/
|
||||
|
||||
MAINTAINER= fuz@fuz.su
|
||||
COMMENT= Agner Fog's object file converter
|
||||
|
||||
LICENSE= GPLv1
|
||||
|
||||
USES= dos2unix zip
|
||||
NO_WRKSUBDIR= yes
|
||||
|
||||
post-extract:
|
||||
@${MKDIR} ${WRKSRC}/source ${WRKSRC}/extras
|
||||
@${TAR} xf ${WRKSRC}/source.zip -C ${WRKSRC}/source
|
||||
@${TAR} xf ${WRKSRC}/extras.zip -C ${WRKSRC}/extras
|
||||
|
||||
do-build:
|
||||
${CXX} ${CXXFLAGS} -o ${WRKSRC}/${PORTNAME} ${WRKSRC}/source/*.cpp
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${DATADIR}/extras ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/objconv-instructions.pdf ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/extras/*.asm ${STAGEDIR}${DATADIR}/extras
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/objconv/distinfo
Normal file
3
devel/objconv/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1610640416
|
||||
SHA256 (objconv-2.52.zip) = 1bfd417d73a9beb7ebdcfc986b5607d5966be2f7f376fef86b7be3ed4f3e2164
|
||||
SIZE (objconv-2.52.zip) = 1055692
|
9
devel/objconv/pkg-descr
Normal file
9
devel/objconv/pkg-descr
Normal file
|
@ -0,0 +1,9 @@
|
|||
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.
|
||||
|
||||
WWW: https://www.agner.org/optimize
|
7
devel/objconv/pkg-plist
Normal file
7
devel/objconv/pkg-plist
Normal file
|
@ -0,0 +1,7 @@
|
|||
bin/objconv
|
||||
%%DOCSDIR%%/objconv-instructions.pdf
|
||||
%%DATADIR%%/extras/u2wstub.asm
|
||||
%%DATADIR%%/extras/u2wstubvec1.asm
|
||||
%%DATADIR%%/extras/u2wstubvec2.asm
|
||||
%%DATADIR%%/extras/w2ustub.asm
|
||||
%%DATADIR%%/extras/w2ustubvec.asm
|
Loading…
Reference in a new issue