pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

grass: starting attempts



Module Name:	pkgsrc-wip
Committed By:	Kevin Bloom <kevin.bloom%posteo.net@localhost>
Pushed By:	nuclearkev
Date:		Fri Oct 4 14:42:18 2024 -0400
Changeset:	a8c55d9bb0400d39f39f3af3b87e56626cdc3236

Added Files:
	grass/DESCR
	grass/Makefile
	grass/PLIST
	grass/TODO
	grass/distinfo
	grass/patches/patch-configure

Log Message:
grass: starting attempts

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a8c55d9bb0400d39f39f3af3b87e56626cdc3236

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 grass/DESCR                   |  3 +++
 grass/Makefile                | 32 ++++++++++++++++++++++++++++++++
 grass/PLIST                   |  4 ++++
 grass/TODO                    |  4 ++++
 grass/distinfo                |  6 ++++++
 grass/patches/patch-configure | 15 +++++++++++++++
 6 files changed, 64 insertions(+)

diffs:
diff --git a/grass/DESCR b/grass/DESCR
new file mode 100644
index 0000000000..2ad2a837bf
--- /dev/null
+++ b/grass/DESCR
@@ -0,0 +1,3 @@
+GRASS GIS is a Geographic Information System used for geospatial
+data management and analysis, image processing, graphics/map
+production, spatial modeling, and visualization.
diff --git a/grass/Makefile b/grass/Makefile
new file mode 100644
index 0000000000..8ac7503f2e
--- /dev/null
+++ b/grass/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD$
+
+GITHUB_PROJECT=	grass
+DISTNAME=	grass-8.4.0
+CATEGORIES=	# TODO: add primary category
+MASTER_SITES=	${MASTER_SITE_GITHUB:=OSGeo/}
+GITHUB_RELEASE=	8.4.0
+
+MAINTAINER=	INSERT_YOUR_MAIL_ADDRESS_HERE # or use pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/OSGeo/grass/
+COMMENT=	TODO: Short description of the package
+#LICENSE=	# TODO: (see mk/license.mk)
+
+WRKSRC=			${WRKDIR}/grass
+GNU_CONFIGURE=		yes
+USE_TOOLS+=		pkg-config
+USE_PKGLOCALEDIR=	yes
+USE_LANGUAGES=		c c++
+USE_TOOLS+=		gmake
+
+PKGCONFIG_OVERRIDE+=	grass.pc.in
+
+do-build:
+	cd ${WRKSRC}/lib/pngdriver && ${GMAKE}
+
+.include "../../archivers/zstd/buildlink3.mk"
+.include "../../math/fftw/buildlink3.mk"
+.include "../../geography/gdal-lib/buildlink3.mk"
+.include "../../geography/pdal-lib/buildlink3.mk"
+.include "../../geography/proj/buildlink3.mk"
+.include "../../graphics/cairo/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/grass/PLIST b/grass/PLIST
new file mode 100644
index 0000000000..92ba51a2d7
--- /dev/null
+++ b/grass/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+@comment TODO: to fill this file with the file listing:
+@comment TODO: 1. run "/usr/bin/make package"
+@comment TODO: 2. run "/usr/bin/make print-PLIST"
diff --git a/grass/TODO b/grass/TODO
new file mode 100644
index 0000000000..376dcdeae9
--- /dev/null
+++ b/grass/TODO
@@ -0,0 +1,4 @@
+- Doesn't compile yet
+  - fix python3 shebangs
+- missing buildlinks for many libs
+- testing
diff --git a/grass/distinfo b/grass/distinfo
new file mode 100644
index 0000000000..0eea671759
--- /dev/null
+++ b/grass/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+BLAKE2s (grass-8.4.0.tar.gz) = 7c9207c0f9e958fd9f73a852eba53076289d512d77074e7406e80f90931bf337
+SHA512 (grass-8.4.0.tar.gz) = ce46d8f7575d139966dff65efc45fccab3c591373f282dd0d3fb73b3558e7e37cf63943b166a50e697ca4ba17bf841d5325e986d2c44aaa6661b2b4464ce35ea
+Size (grass-8.4.0.tar.gz) = 69895829 bytes
+SHA1 (patch-configure) = 9bf712a791dc47f70acdda0dccc4f9d03cb337f6
diff --git a/grass/patches/patch-configure b/grass/patches/patch-configure
new file mode 100644
index 0000000000..fc934e7979
--- /dev/null
+++ b/grass/patches/patch-configure
@@ -0,0 +1,15 @@
+$NetBSD$
+
+--- configure.orig	2024-10-04 13:38:54.905205555 +0000
++++ configure
+@@ -5033,8 +5033,8 @@ if test "$GIT" != "no" ; then
+       GRASS_HEADERS_GIT_DATE=`date -u +%FT%T%z | sed 's/\(..\)$/:\1/'`
+    fi
+ fi
+-if test $GRASS_VERSION_GIT == "exported" && \
+-   test "$ac_cv_file_include_VERSION_GIT" == "yes"; then
++if test $GRASS_VERSION_GIT = "exported" && \
++   test "$ac_cv_file_include_VERSION_GIT" = "yes"; then
+       GRASS_HEADERS_GIT_HASH=$(sed -n 1p "${GRASS_VERSION_GIT_FILE}")
+       GRASS_VERSION_GIT=$GRASS_HEADERS_GIT_HASH
+       GRASS_HEADERS_GIT_DATE=$(sed -n 2p "${GRASS_VERSION_GIT_FILE}")


Home | Main Index | Thread Index | Old Index