From nobody Fri Feb 16 16:37:28 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TbyJm5txdz53SnN; Fri, 16 Feb 2024 16:37:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TbyJm5Npbz4yPg; Fri, 16 Feb 2024 16:37:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708101448; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4u5h5nHS+Ize/LB+SdCq584Ore0PpUqhTRXXiFjRIrw=; b=Ii495TmbFsGGBnOM3bXOujwvyuoVI9Uva/TYL2dDTGEUpxa4moGGzJM9h1qfXrasynOHWc 7xxc4XMBilugYoMK5r+K2pm7jGWYPyEV6YbRrlXG+30MkuIhKhkBQpl9rFx8D4Fa6C7phH ssb7N2wSMC39LxmFhtQ5iTmRO6SbWNTxt5DPn2l0Q3QcfRudq6pes1wsHyR5TLIcZeR69y XyLtkaVPGIsDgzHE+VM/GpXeJCHvCbUxOSu5U8+/7iqxIh1TQMpyWNArQxJAdRF+IHr4DS 0iznyK/txaCaeZUXapsuVYWFH0//E4jmqT49xVMZR3FKwT+dB0KEZxp8Ri1THg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708101448; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4u5h5nHS+Ize/LB+SdCq584Ore0PpUqhTRXXiFjRIrw=; b=c71jZO7PWA+NdVdKIi1yoaaYmknrB4bWUU6Lfdy5c++j92+xB8sVK+dbX2k6MRgUZvhXyF 6pw0+x7TstYcPxUvCAnwmyd1nJbbXTnqV5mDTq9vKzo1GQRAf2y/dWaYJ/0KBcjXXVq0aJ d3/MRJxzvCXsMbx22GzsBcsMjeQX4YO9kMMHfgw6lefD2XH4679vuPbUU4KX6G2iHywkfN TkMQ4ldkQeIm54Os+DOclMvmvNP6Zd3BpjFZ3B6SDP2IpwBehvE4jNe9FFyQxi0QubDlyr yM0s3iniAt6fSn4NYdK/eYXrL2xfutagFNSw/VZzcf2oOlfK1wpMQQf+LABGwA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708101448; a=rsa-sha256; cv=none; b=cYJ6AcnlXNeGgB2HgJZgNnv+b/WGRVkwmL+ErZm5vqr90pCQnwoUE8zm1ynvmAckxuAL7h SSRqImqhRBvhwUMteDT9ebbuvmZxHMshm7iVhBqWFz5itPbqrYniuMB/+CETU94YiH4fmD sukW+rc1dvY4XwORU0KPx50oSBCA+k3zQpGWCPjYPaKYRcZlYLI5Wf5jmn1w2+Y1glj1ds QwKCxe4hc1wn92K7Af9QGBtyHqmDrv5qjRbjw4m1SFs20nROixyNzpkdSJv2RT8WFgtMav 3yiNdSYHt06illGNZ+osj3gbtg9ZslcsxavRDIq4G7O3C726njVxtYKzxlU2Iw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TbyJm4RHkzYGT; Fri, 16 Feb 2024 16:37:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 41GGbSYA089223; Fri, 16 Feb 2024 16:37:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41GGbSZJ089220; Fri, 16 Feb 2024 16:37:28 GMT (envelope-from git) Date: Fri, 16 Feb 2024 16:37:28 GMT Message-Id: <202402161637.41GGbSZJ089220@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Thierry Thomas Subject: git: 255858293911 - main - science/optench: new port, a virtual optical bench List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: thierry X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 255858293911b3a1db0414a8d3b4fc9b6877759b Auto-Submitted: auto-generated The branch main has been updated by thierry: URL: https://cgit.FreeBSD.org/ports/commit/?id=255858293911b3a1db0414a8d3b4fc9b6877759b commit 255858293911b3a1db0414a8d3b4fc9b6877759b Author: Thierry Thomas AuthorDate: 2024-02-16 16:20:05 +0000 Commit: Thierry Thomas CommitDate: 2024-02-16 16:37:24 +0000 science/optench: new port, a virtual optical bench --- science/Makefile | 1 + science/optench/Makefile | 28 ++++++++++++++++++++++++++++ science/optench/distinfo | 3 +++ science/optench/pkg-descr | 3 +++ science/optench/pkg-plist | 7 +++++++ 5 files changed, 42 insertions(+) diff --git a/science/Makefile b/science/Makefile index fb0f2f807387..828d714b017e 100644 --- a/science/Makefile +++ b/science/Makefile @@ -224,6 +224,7 @@ SUBDIR += opensim-core SUBDIR += opensph SUBDIR += opsin + SUBDIR += optench SUBDIR += orthanc SUBDIR += orthanc-dicomweb SUBDIR += orthanc-mysql diff --git a/science/optench/Makefile b/science/optench/Makefile new file mode 100644 index 000000000000..df3f112805f0 --- /dev/null +++ b/science/optench/Makefile @@ -0,0 +1,28 @@ +PORTNAME= optench +DISTVERSION= 1.2.5 +CATEGORIES= science + +MAINTAINER= thierry@FreeBSD.org +COMMENT= Virtual optical bench +WWW= https://amini-allight.org/optench + +LICENSE= GPLv3 + +USES= cmake compiler:c++20-lang desktop-file-utils gl localbase \ + qt:6 shared-mime-info tar:bz2 +USE_GL= egl opengl +USE_QT= base +LDFLAGS+= -L${QT_LIBDIR} + +USE_GITLAB= yes +GL_ACCOUNT= amini-allight + +.if defined(WITH_DEBUG) +CMAKE_ARGS+= -DOPTENCH_DEPLOYMENT:BOOL=OFF +.endif + +pre-configure: + ${REINPLACE_CMD} -e 's|/usr/include/qt6|${QT_INCDIR}|' \ + ${WRKSRC}/CMakeLists.txt + +.include diff --git a/science/optench/distinfo b/science/optench/distinfo new file mode 100644 index 000000000000..245ffc441a06 --- /dev/null +++ b/science/optench/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1708090531 +SHA256 (optench-1.2.5.tar.bz2) = d81467158d54844605d664b8b2094df95aa9741ea5c982fc35cdd1f77d0df3a9 +SIZE (optench-1.2.5.tar.bz2) = 2277089 diff --git a/science/optench/pkg-descr b/science/optench/pkg-descr new file mode 100644 index 000000000000..df5639cadbc1 --- /dev/null +++ b/science/optench/pkg-descr @@ -0,0 +1,3 @@ +A free virtual optical bench for the design of optical systems, written in C++ +with Qt. +It simulates interactions between light sources, lenses, mirrors and occluders. diff --git a/science/optench/pkg-plist b/science/optench/pkg-plist new file mode 100644 index 000000000000..0d0bd5604a0d --- /dev/null +++ b/science/optench/pkg-plist @@ -0,0 +1,7 @@ +bin/optench +share/applications/org.optench.optench.desktop +share/icons/hicolor/256x256/apps/org.optench.optench.png +share/icons/hicolor/256x256/mimetypes/org.optench.optench-mimetype.png +share/man/man1/optench.1.gz +share/metainfo/org.optench.optench.appdata.xml +share/mime/packages/org.optench.optench.xml