From nobody Mon Oct 31 00:42:31 2022 X-Original-To: dev-commits-ports-main@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 4N0vWC3bMlz4h49Z; Mon, 31 Oct 2022 00:42:31 +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 4N0vWC32t5z3LM7; Mon, 31 Oct 2022 00:42:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667176951; 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=UU0r40mFDKiPgrvMXGObCoHvEeG06uoiKidaRXK5fag=; b=yjMXR2u0Qbw1CtKuMYYsF0SZvJdr2HAsgZAu1oRGKESVBzMuzrk//6kZwHwDk1N7dm71f8 umiX/6fbdTCbbXsA2173rSQLeHamnrREdJqjrTN+XZFh6fnZ60Bv7FHzGUBlCCRMSeo5hC 4+nu4gsEwp0cEjIrWKqrkxbNefje80pa6NcY3i1NQQv5hlT8Yrl+I2umbBp0l+rcxhNxVp ucC0eHEHtd0beeXw3+S0v4McMwARlU5sb4RmBtNhB70sroEOD3rWDgyB8M63u1DraOd2vV y+lvfB1ympAgHSBXlzHPOGlYUvU5gQHT9wjQv8Kxxlg3luLTM1fizD2KygEKjQ== 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 4N0vWC25gzzGwr; Mon, 31 Oct 2022 00:42:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 29V0gVs4006364; Mon, 31 Oct 2022 00:42:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29V0gVMo006363; Mon, 31 Oct 2022 00:42:31 GMT (envelope-from git) Date: Mon, 31 Oct 2022 00:42:31 GMT Message-Id: <202210310042.29V0gVMo006363@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Stephen Montgomery-Smith Subject: git: 0d855a52256d - main - math/octave-forge-csg-toolkit: New port. List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: stephen X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0d855a52256d9ccb5307e215a8ad21710695fbb9 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667176951; 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=UU0r40mFDKiPgrvMXGObCoHvEeG06uoiKidaRXK5fag=; b=O3BY9vFnRSsfdnAQ/DugmGsEED9CXNl3VVdQipvyCxOykLaFTu1EF7bQ0siyUY9QxZ6pyU kjyItvq7Yq/Hav1yU+WYToKaIJa2VPyS7gxof848TqvZITm1hZinDfOutRVqpupxokEa0W OHEUkkf2fTWTIONSnAi2rgLKY7M0Vg2KpLerpUW+fj5bsKENTAm+0AsbT6NMAD3eyuT2Lh 1YxPnjcO1QvGCImZR4/mL1qRG7hTbyrBWIJeyKsrN4CMqa7p76iD2gBFsAY5Z0Gp3f3GS9 t0zmMY+6L9M1E4fsfhIcCs75sGpeYAPsAEjXrHUvr22ZjaI6e8aRyNiKtvKlWg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1667176951; a=rsa-sha256; cv=none; b=yIIGUqVLBRZ1+TkGWLg7Llmt5M/u11JjC+fQtJqeZ5ttJahhaHKImw9co1FzPI7gCMxDL5 Y9AskxjE29oB4uRvUA7rBC3M5XYx1OjZ0s6vDMBGlcxbRmMJWWY3qQIdeio6+7MqGnhTQa IqPw8PVNsi3WOjt8RtJeOe/nH7zGFxpZGpiQ442/Htbrp8+X2CVXQ4sHQknC1tb+0bHEo0 Lu5yoC6Ae22/Jhtr4QkAl2H7AoBkxU5csEqhdL/m0IsvTRdenA5hiHpHp+YzgrJWiH7nCK DfYJmgwQX0ASn84L6e+8qrAfbTLdfNh8cPLdTh0VVppg3GpnOYPFk3BTNTUk2A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by stephen: URL: https://cgit.FreeBSD.org/ports/commit/?id=0d855a52256d9ccb5307e215a8ad21710695fbb9 commit 0d855a52256d9ccb5307e215a8ad21710695fbb9 Author: Stephen Montgomery-Smith AuthorDate: 2022-10-31 00:40:09 +0000 Commit: Stephen Montgomery-Smith CommitDate: 2022-10-31 00:42:19 +0000 math/octave-forge-csg-toolkit: New port. The present set of GNU Octave functions provides a novel and robust algorithm for analyzing the diaphyseal cross-sectional geometric properties of long bones, which can be applied to any 3D digital model of a humerus, ulna, femur or tibia bone represented as a triangular mesh in a Wavefront OBJ file format. --- math/Makefile | 1 + math/octave-forge-csg-toolkit/Makefile | 33 ++++++++++++++++++++++ math/octave-forge-csg-toolkit/distinfo | 3 ++ math/octave-forge-csg-toolkit/files/patch-Makefile | 11 ++++++++ math/octave-forge-csg-toolkit/pkg-descr | 11 ++++++++ 5 files changed, 59 insertions(+) diff --git a/math/Makefile b/math/Makefile index b6435ae148dd..db2ca2a20029 100644 --- a/math/Makefile +++ b/math/Makefile @@ -539,6 +539,7 @@ SUBDIR += octave-forge-coder SUBDIR += octave-forge-communications SUBDIR += octave-forge-control + SUBDIR += octave-forge-csg-toolkit SUBDIR += octave-forge-data-smoothing SUBDIR += octave-forge-database SUBDIR += octave-forge-dataframe diff --git a/math/octave-forge-csg-toolkit/Makefile b/math/octave-forge-csg-toolkit/Makefile new file mode 100644 index 000000000000..ea9bc73a08a9 --- /dev/null +++ b/math/octave-forge-csg-toolkit/Makefile @@ -0,0 +1,33 @@ +PORTNAME= octave-forge-csg-toolkit +DISTVERSIONPREFIX= v +DISTVERSION= 1.2.3 +CATEGORIES= math + +MAINTAINER= stephen@FreeBSD.org +COMMENT= Octave-forge package ${OCTAVE_PKGNAME} +WWW= https://packages.octave.org/ + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKDIR}/${OCTSRC}/COPYING + +USES+= compiler:gcc-c++11-lib + +USE_GITHUB= yes +GH_ACCOUNT= pr0m1th3as +GH_PROJECT= ${OCTAVE_PKGNAME} + +# OCTSRC is the name of the directory of the package. +# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}. +OCTSRC= ${GH_PROJECT}-${DISTVERSION} + +WRKSRC= ${WRKDIR}/${OCTSRC}/src + +RUN_DEPENDS+= ${TARBALLS_DIR}/io.tar.gz:math/octave-forge-io + +.include "${.CURDIR}/../../Mk/bsd.octave.mk" + +post-build: + ${RM} ${WRKSRC}/Makefile ${WRKSRC}/configure + cd ${WRKDIR} && ${TAR} cfz ${OCTAVE_DISTNAME}.tar.gz ${OCTSRC} + +.include diff --git a/math/octave-forge-csg-toolkit/distinfo b/math/octave-forge-csg-toolkit/distinfo new file mode 100644 index 000000000000..9edd7b00bb93 --- /dev/null +++ b/math/octave-forge-csg-toolkit/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1667174462 +SHA256 (octave-forge/pr0m1th3as-csg-toolkit-v1.2.3_GH0.tar.gz) = 08792f464caa1f9b5ef7f0db4517eb21495d446fab871021b29f51f72b595074 +SIZE (octave-forge/pr0m1th3as-csg-toolkit-v1.2.3_GH0.tar.gz) = 235980 diff --git a/math/octave-forge-csg-toolkit/files/patch-Makefile b/math/octave-forge-csg-toolkit/files/patch-Makefile new file mode 100644 index 000000000000..11e05c1852e5 --- /dev/null +++ b/math/octave-forge-csg-toolkit/files/patch-Makefile @@ -0,0 +1,11 @@ +--- Makefile.orig 2022-10-31 00:26:54 UTC ++++ Makefile +@@ -4,7 +4,7 @@ all: + $(MKOCTFILE) readObj.cc + $(MKOCTFILE) writeObj.cc + $(MKOCTFILE) longbone_maxDistance.cc +- $(MKOCTFILE) longbone_Registration.cc ++ $(MKOCTFILE) -stdlib=libstdc++ longbone_Registration.cc + $(MKOCTFILE) meshArea.cc + $(MKOCTFILE) meshBarycenter.cc + $(MKOCTFILE) meshSection.cc diff --git a/math/octave-forge-csg-toolkit/pkg-descr b/math/octave-forge-csg-toolkit/pkg-descr new file mode 100644 index 000000000000..6dd69c027bb9 --- /dev/null +++ b/math/octave-forge-csg-toolkit/pkg-descr @@ -0,0 +1,11 @@ +The octave-forge package is the result of The GNU Octave Repositry project, +which is intended to be a central location for custom scripts, functions and +extensions for GNU Octave. contains the source for all the functions plus +build and install scripts. + +This is csg-toolkit. + + The present set of GNU Octave functions provides a novel and robust algorithm +for analyzing the diaphyseal cross-sectional geometric properties of long bones, +which can be applied to any 3D digital model of a humerus, ulna, femur or tibia +bone represented as a triangular mesh in a Wavefront OBJ file format.