pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Add geneweb 7.1-beta
Module Name: pkgsrc-wip
Committed By: Greg Troxel <gdt%lexort.com@localhost>
Pushed By: gdt
Date: Thu Nov 28 10:48:19 2024 -0500
Changeset: 4e964f1e4ef113887e285b664063ba689ff0cf99
Added Files:
geneweb/DESCR
geneweb/Makefile
geneweb/PLIST
geneweb/TODO
geneweb/distinfo
geneweb/patches/patch-etc_install-cgi.sh
Log Message:
Add geneweb 7.1-beta
GeneWeb is a comprehensive genealogy database application written in
Objective Caml. It uses a Web interface which allows it to operate off-line
or as a dedicated web-server.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4e964f1e4ef113887e285b664063ba689ff0cf99
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
geneweb/DESCR | 3 +++
geneweb/Makefile | 39 ++++++++++++++++++++++++++++++++
geneweb/PLIST | 4 ++++
geneweb/TODO | 3 +++
geneweb/distinfo | 6 +++++
geneweb/patches/patch-etc_install-cgi.sh | 17 ++++++++++++++
6 files changed, 72 insertions(+)
diffs:
diff --git a/geneweb/DESCR b/geneweb/DESCR
new file mode 100644
index 0000000000..a24e08e58e
--- /dev/null
+++ b/geneweb/DESCR
@@ -0,0 +1,3 @@
+GeneWeb is a comprehensive genealogy database application written in
+Objective Caml. It uses a Web interface which allows it to operate off-line
+or as a dedicated web-server.
diff --git a/geneweb/Makefile b/geneweb/Makefile
new file mode 100644
index 0000000000..c8f5685291
--- /dev/null
+++ b/geneweb/Makefile
@@ -0,0 +1,39 @@
+# $NetBSD$
+
+VERSION= 7.1-beta
+
+GITHUB_PROJECT= geneweb
+GITHUB_TAG= refs/tags/v${VERSION}
+DISTNAME= v${VERSION}
+PKGNAME= ${GITHUB_PROJECT}-${DISTNAME:S,^v,,}
+CATEGORIES= # TODO: add primary category
+MASTER_SITES= ${MASTER_SITE_GITHUB:=geneweb/}
+DIST_SUBDIR= ${GITHUB_PROJECT}
+
+MAINTAINER= gdt%NetBSD.org@localhost
+HOMEPAGE= https://github.com/geneweb/geneweb/
+COMMENT= GeneWeb is a genealogy database that runs as a web server
+#LICENSE= # TODO: (see mk/license.mk)
+
+WRKSRC= ${WRKDIR}/geneweb-${VERSION}
+USE_LANGUAGES= # none
+USE_TOOLS+= gmake
+
+OCAML_USE_DUNE= yes
+#OCAML_FINDLIB_DIRS= cairo2
+OPAM_INSTALL_FILES= ${OCAML_FINDLIB_DIRS}
+DUNE_BUILD_PACKAGES= ${OCAML_FINDLIB_DIRS}
+
+RCD_SCRIPTS= geneweb
+
+.include "../../mk/bsd.prefs.mk"
+
+do-configure:
+ cd ${WRKSRC} && ocaml ./configure.ml
+
+BUILD_TARGET= build
+
+#.include "../../lang/camlp5/buildlink3.mk"
+.include "../../lang/ocaml/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/geneweb/PLIST b/geneweb/PLIST
new file mode 100644
index 0000000000..92ba51a2d7
--- /dev/null
+++ b/geneweb/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/geneweb/TODO b/geneweb/TODO
new file mode 100644
index 0000000000..9233a2d290
--- /dev/null
+++ b/geneweb/TODO
@@ -0,0 +1,3 @@
+ - add libraries that are needed
+ - report bashism upstream
+ - test
diff --git a/geneweb/distinfo b/geneweb/distinfo
new file mode 100644
index 0000000000..a5136e06fd
--- /dev/null
+++ b/geneweb/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+BLAKE2s (geneweb/v7.1-beta.tar.gz) = 8fbe0f83c19f3ecd6077af4fea1d9ad195147d130ec49dccf6c13fc3cc745088
+SHA512 (geneweb/v7.1-beta.tar.gz) = d45d69866b94869495788b4fd10e74bb23b70a0fb32547afb7385bbaa62a4526916d66217f354e434b12faca883c8624e606c5593d1a3740fb07005b53abff76
+Size (geneweb/v7.1-beta.tar.gz) = 14465662 bytes
+SHA1 (patch-etc_install-cgi.sh) = e3723c42be0f931958a3ddf2c71afcb506e6930b
diff --git a/geneweb/patches/patch-etc_install-cgi.sh b/geneweb/patches/patch-etc_install-cgi.sh
new file mode 100644
index 0000000000..5c34647b79
--- /dev/null
+++ b/geneweb/patches/patch-etc_install-cgi.sh
@@ -0,0 +1,17 @@
+$NetBSD$
+
+Bashism exorcism.
+
+Not yet reported upstream.
+
+--- etc/install-cgi.sh.orig 2024-11-28 15:43:55.989604458 +0000
++++ etc/install-cgi.sh
+@@ -42,7 +42,7 @@ DIR="$(dirname "$0")"
+ cd "$DIR"
+ PWD=`pwd`
+
+-if ! [ $MY_BASES == "" ]; then
++if ! [ $MY_BASES = "" ]; then
+ echo "Set link to my bases"
+ rm -f -R $WEB_ROOT/$DISTRIB_NAME/bases
+ ln -s $MY_BASES $WEB_ROOT/$DISTRIB_NAME/bases
Home |
Main Index |
Thread Index |
Old Index