Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
An Octave native extension implementing the R-tree spatial index of Guttman-Green. The code is an embedded version of librtree.
- Loading branch information
Stephen Montgomery-Smith
authored and
Stephen Montgomery-Smith
committed
Jan 29, 2024
1 parent
5bdb5dc
commit 6c096e6
Showing
4 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
PORTNAME= octave-forge-rtree | ||
DISTVERSION= 0.8.0 | ||
CATEGORIES= math | ||
|
||
MAINTAINER= stephen@FreeBSD.org | ||
COMMENT= Octave-forge package ${OCTAVE_PKGNAME} | ||
WWW= https://packages.octave.org/ | ||
|
||
LICENSE= GPLv3 | ||
LICENSE_FILE= ${EXTRACT_DIR}/COPYING | ||
|
||
USES= octave | ||
|
||
BUILD_DEPENDS+= gtar:archivers/gtar | ||
LIB_DEPENDS+= libjansson.so:devel/jansson | ||
|
||
USE_GITLAB= yes | ||
GL_ACCOUNT= jjg | ||
GL_PROJECT= librtree-octave | ||
GL_COMMIT= 6456b2ebb38528ea6861019b4b85699796ba91fa | ||
|
||
CFLAGS+= -I${PREFIX}/include -L${PREFIX}/lib | ||
|
||
OCTAVE_SRC= ${OCTAVE_PKGNAME}-${DISTVERSION} | ||
EXTRACT_DIR= ${WRKDIR}/${GL_PROJECT}-${GL_COMMIT} | ||
|
||
post-patch: | ||
${REINPLACE_CMD} s/^tar/gtar/ ${EXTRACT_DIR}/src/pkg/bin/pkg-build | ||
cd ${EXTRACT_DIR} && ${SETENV} ${CONFIGURE_ENV} CFLAGS="${CFLAGS}" ./configure | ||
cd ${EXTRACT_DIR} && ${SETENV} ${MAKE_ENV} ${GMAKE} package | ||
cd ${EXTRACT_DIR} && ${SETENV} ${MAKE_ENV} ${GMAKE} spotless | ||
${TAR} xvf ${EXTRACT_DIR}/src/pkg/versions/${OCTAVE_SRC}.tar.gz -C ${WRKDIR} | ||
|
||
GNU_CONFIGURE= yes | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TIMESTAMP = 1706482585 | ||
SHA256 (octave-forge/jjg-librtree-octave-6456b2ebb38528ea6861019b4b85699796ba91fa_GL0.tar.gz) = c43e7ff4908cc733f7a225332db6565b5def5662f828df068bade46caac9c597 | ||
SIZE (octave-forge/jjg-librtree-octave-6456b2ebb38528ea6861019b4b85699796ba91fa_GL0.tar.gz) = 157719 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
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 rtree. | ||
|
||
An Octave native extension implementing the R-tree spatial index of | ||
Guttman-Green. The code is an embedded version of librtree. |