git: 6ae35de7f126 - main - databases/adminerevo: New port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 22 Dec 2023 23:44:55 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6ae35de7f126fc32bc6290a88ef9cc93ea32bb28
commit 6ae35de7f126fc32bc6290a88ef9cc93ea32bb28
Author: Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org>
AuthorDate: 2023-10-01 22:31:38 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-12-22 23:44:42 +0000
databases/adminerevo: New port
AdminerEvo (fork of Adminer) is a full-featured database management tool
written in PHP. Conversely to phpMyAdmin, it consists of a single file
ready to deploy to the target server.
WWW: https://adminerevo.org
PR: 274188
---
databases/Makefile | 1 +
databases/adminerevo/Makefile | 30 ++++++++++++++++++++++++++++++
databases/adminerevo/distinfo | 3 +++
databases/adminerevo/files/pkg-message.in | 8 ++++++++
databases/adminerevo/pkg-descr | 3 +++
databases/adminerevo/pkg-plist | 2 ++
6 files changed, 47 insertions(+)
diff --git a/databases/Makefile b/databases/Makefile
index a3d72edc3f05..12327bad6ee9 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -9,6 +9,7 @@
SUBDIR += R-cran-sqldf
SUBDIR += WWWdb
SUBDIR += adminer
+ SUBDIR += adminerevo
SUBDIR += adodb5
SUBDIR += akonadi
SUBDIR += apache-commons-dbutils
diff --git a/databases/adminerevo/Makefile b/databases/adminerevo/Makefile
new file mode 100644
index 000000000000..9c90cfe68164
--- /dev/null
+++ b/databases/adminerevo/Makefile
@@ -0,0 +1,30 @@
+PORTNAME= adminerevo
+PORTVERSION= 4.8.2
+CATEGORIES= databases www
+MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${PORTVERSION}/
+DISTNAME= adminer-${DISTVERSION}
+EXTRACT_SUFX= .php
+EXTRACT_ONLY=
+
+MAINTAINER= DtxdF@disroot.org
+COMMENT= Database management in a single PHP file
+WWW= https://adminerevo.org \
+ https://github.com/${PORTNAME}/${PORTNAME}
+
+LICENSE= APACHE20 GPLv3
+LICENSE_COMB= dual
+
+USES= php
+USE_PHP= session
+
+NO_ARCH= yes
+NO_BUILD= yes
+
+SUB_FILES= pkg-message
+SUB_LIST= PHPVER="${PHP_VER}"
+
+do-install:
+ ${MKDIR} ${STAGEDIR}${WWWDIR}
+ ${INSTALL_DATA} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${STAGEDIR}${WWWDIR}/index.php
+
+.include <bsd.port.mk>
diff --git a/databases/adminerevo/distinfo b/databases/adminerevo/distinfo
new file mode 100644
index 000000000000..f81e15b34a0e
--- /dev/null
+++ b/databases/adminerevo/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1696076245
+SHA256 (adminer-4.8.2.php) = 8d772718bc8d419a89292d11b3e518d52c7392704467006171b0f406625514ab
+SIZE (adminer-4.8.2.php) = 498440
diff --git a/databases/adminerevo/files/pkg-message.in b/databases/adminerevo/files/pkg-message.in
new file mode 100644
index 000000000000..64a90680749d
--- /dev/null
+++ b/databases/adminerevo/files/pkg-message.in
@@ -0,0 +1,8 @@
+[
+{ type: install
+ message: <<EOM
+You should install the database extension(s) what you want to use:
+php%%PHPVER%%-mysqli, php%%PHPVER%%-mssql, php%%PHPVER%%-odbc, php%%PHPVER%%-pgsql or php%%PHPVER%%-pdo_sqlite.
+EOM
+}
+]
diff --git a/databases/adminerevo/pkg-descr b/databases/adminerevo/pkg-descr
new file mode 100644
index 000000000000..d053d044b831
--- /dev/null
+++ b/databases/adminerevo/pkg-descr
@@ -0,0 +1,3 @@
+AdminerEvo (fork of Adminer) is a full-featured database management tool
+written in PHP. Conversely to phpMyAdmin, it consists of a single file
+ready to deploy to the target server.
diff --git a/databases/adminerevo/pkg-plist b/databases/adminerevo/pkg-plist
new file mode 100644
index 000000000000..9ca1fbea4081
--- /dev/null
+++ b/databases/adminerevo/pkg-plist
@@ -0,0 +1,2 @@
+@mode 0644
+%%WWWDIR%%/index.php