Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jan 2021 22:55:28 +0000 (UTC)
From:      Dmitri Goutnik <dmgk@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r561609 - in head/devel: . objconv
Message-ID:  <202101142255.10EMtSVx046952@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dmgk
Date: Thu Jan 14 22:55:27 2021
New Revision: 561609
URL: https://svnweb.freebsd.org/changeset/ports/561609

Log:
  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>

Added:
  head/devel/objconv/
  head/devel/objconv/Makefile   (contents, props changed)
  head/devel/objconv/distinfo   (contents, props changed)
  head/devel/objconv/pkg-descr   (contents, props changed)
  head/devel/objconv/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Thu Jan 14 22:55:10 2021	(r561608)
+++ head/devel/Makefile	Thu Jan 14 22:55:27 2021	(r561609)
@@ -1572,6 +1572,7 @@
     SUBDIR += nsync
     SUBDIR += nuitka
     SUBDIR += obby
+    SUBDIR += objconv
     SUBDIR += objecthash
     SUBDIR += ocaml-annexlib
     SUBDIR += ocaml-calendar

Added: head/devel/objconv/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/objconv/Makefile	Thu Jan 14 22:55:27 2021	(r561609)
@@ -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>

Added: head/devel/objconv/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/objconv/distinfo	Thu Jan 14 22:55:27 2021	(r561609)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1610640416
+SHA256 (objconv-2.52.zip) = 1bfd417d73a9beb7ebdcfc986b5607d5966be2f7f376fef86b7be3ed4f3e2164
+SIZE (objconv-2.52.zip) = 1055692

Added: head/devel/objconv/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/objconv/pkg-descr	Thu Jan 14 22:55:27 2021	(r561609)
@@ -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

Added: head/devel/objconv/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/objconv/pkg-plist	Thu Jan 14 22:55:27 2021	(r561609)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101142255.10EMtSVx046952>