Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Oct 2022 02:40:33 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6d3f32a7b149 - main - devel/mrc: New port: Maartens Resource Compiler
Message-ID:  <202210040240.2942eXLt024454@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6d3f32a7b149e669e3023ba4e244c073d1f01746

commit 6d3f32a7b149e669e3023ba4e244c073d1f01746
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-10-04 02:30:27 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-10-04 02:40:28 +0000

    devel/mrc: New port: Maartens Resource Compiler
---
 devel/Makefile                       |  1 +
 devel/mrc/Makefile                   | 29 +++++++++++++++++++++++++++++
 devel/mrc/distinfo                   |  3 +++
 devel/mrc/files/patch-CMakeLists.txt |  9 +++++++++
 devel/mrc/pkg-descr                  |  4 ++++
 5 files changed, 46 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 5b7582a0171f..d8d08bc26777 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1541,6 +1541,7 @@
     SUBDIR += mono-addins
     SUBDIR += mpatrol
     SUBDIR += mph
+    SUBDIR += mrc
     SUBDIR += msbuild
     SUBDIR += msgpack
     SUBDIR += msgpack-d
diff --git a/devel/mrc/Makefile b/devel/mrc/Makefile
new file mode 100644
index 000000000000..c7df2af8aa89
--- /dev/null
+++ b/devel/mrc/Makefile
@@ -0,0 +1,29 @@
+PORTNAME=	mrc
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.3.4-7
+DISTVERSIONSUFFIX=	-g68069da
+CATEGORIES=	devel
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Maartens Resource Compiler
+WWW=		https://github.com/mhekkel/mrc
+
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+LIB_DEPENDS=	libboost_program_options.so:devel/boost-libs
+
+USES=		cmake
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	mhekkel
+
+PLIST_FILES=	bin/mrc \
+		share/man/man1/mrc.1.gz \
+		share/mrc/cmake/mrc-config.cmake
+
+OPTIONS_DEFINE=	EXAMPLES
+
+PORTEXAMPLES=	*
+
+.include <bsd.port.mk>
diff --git a/devel/mrc/distinfo b/devel/mrc/distinfo
new file mode 100644
index 000000000000..dc60ed2c38e4
--- /dev/null
+++ b/devel/mrc/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1664849812
+SHA256 (mhekkel-mrc-v1.3.4-7-g68069da_GH0.tar.gz) = 61c6e8dd290e11d269680dd5d57009cc094d0ef1d8efaf21013c3c258efb75bb
+SIZE (mhekkel-mrc-v1.3.4-7-g68069da_GH0.tar.gz) = 75575
diff --git a/devel/mrc/files/patch-CMakeLists.txt b/devel/mrc/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..061c64ae473d
--- /dev/null
+++ b/devel/mrc/files/patch-CMakeLists.txt
@@ -0,0 +1,9 @@
+--- CMakeLists.txt.orig	2022-10-04 02:20:12 UTC
++++ CMakeLists.txt
+@@ -98,4 +98,4 @@ else()
+ 	install(FILES mrc.1 DESTINATION share/man/man1)
+ endif()
+ 
+-install(DIRECTORY example DESTINATION share/doc/mrc/)
+\ No newline at end of file
++install(DIRECTORY example DESTINATION share/examples/mrc)
diff --git a/devel/mrc/pkg-descr b/devel/mrc/pkg-descr
new file mode 100644
index 000000000000..30057c2d3882
--- /dev/null
+++ b/devel/mrc/pkg-descr
@@ -0,0 +1,4 @@
+Resource compiler to make executables self-contained.
+
+It stores data in the static data section of an executable. The data is then
+available through global variables.



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