Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
www/sqlpage: Add new port for SQLPage
SQLPage is an Open-source low-code web application server. It allows you to create full websites writing only simple database queries.
- Loading branch information
Palle Girgensohn
authored and
Palle Girgensohn
committed
Jan 15, 2024
1 parent
e38c835
commit 93b14f0
Showing
13 changed files
with
1,338 additions
and
2 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
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,48 @@ | ||
# FATAL: Makefile: order must be PORTNAME/PORTVERSION/DISTVERSIONPREFIX/DISTVERSION/DISTVERSIONSUFFIX/PORTREVISION/PORTEPOCH/CATEGORIES/MASTER_SITES/MASTER_SITE_SUBDIR/PROJECTHOST/PKGNAMEPREFIX/PKGNAMESUFFIX/DISTNAME/EXTRACT_SUFX/DISTFILES(_\w+)?/DIST_SUBDIR/EXTRACT_ONLY. | ||
|
||
PORTNAME= sqlpage | ||
DISTVERSIONPREFIX= v | ||
DISTVERSION= 0.17.1 | ||
CATEGORIES= www databases | ||
MASTER_SITES= https://cdn.jsdelivr.net/npm/:npm | ||
DISTFILES= ${NPM_DISTFILES} | ||
EXTRACT_ONLY= ${_DISTFILES:M*${EXTRACT_SUFX}} ${_DISTFILES:M*crate} | ||
|
||
MAINTAINER= girgen@FreeBSD.org | ||
COMMENT= SQL-only webapp builder. | ||
WWW= https://github.com/lovasoa/SQLpage | ||
|
||
LICENSE= MIT | ||
|
||
LIB_DEPENDS= libzstd.so:archivers/zstd | ||
|
||
USES= cargo | ||
USE_RC_SUBR= ${PORTNAME} | ||
|
||
USE_GITHUB= yes | ||
GH_ACCOUNT= lovasoa | ||
GH_PROJECT= SQLpage | ||
|
||
USERS= sqlpage | ||
GROUPS= sqlpage | ||
|
||
NPM_DISTFILES= apexcharts@3.44.0/dist/apexcharts.min.js:npm \ | ||
@tabler/core@1.0.0-beta20/dist/css/tabler.min.css:npm \ | ||
@tabler/core@1.0.0-beta20/dist/css/tabler-vendors.min.css:npm \ | ||
@tabler/core@1.0.0-beta20/dist/js/tabler.min.js:npm \ | ||
list.js-fixed@2.3.4/dist/list.min.js:npm \ | ||
@tabler/icons@2.43.0/tabler-sprite.svg:npm | ||
|
||
post-extract: | ||
cd ${DISTDIR}; ${PAX} -rw ${NPM_DISTFILES:C/\/.*//g} ${WRKSRC} | ||
|
||
post-install: | ||
${MKDIR} ${STAGEDIR}/${ETCDIR} ;\ | ||
${INSTALL_DATA} ${FILESDIR}/sqlpage.json ${STAGEDIR}${ETCDIR}/sqlpage.json.sample | ||
${MKDIR} ${STAGEDIR}/${WWWDIR} ${STAGEDIR}${DATADIR} ;\ | ||
${INSTALL_DATA} ${WRKSRC}/index.sql ${STAGEDIR}${DATADIR} | ||
${MKDIR} ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d ;\ | ||
${INSTALL_DATA} ${FILESDIR}/sqlpage.conf ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d/sqlpage.conf.sample | ||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} | ||
|
||
.include <bsd.port.mk> |
Oops, something went wrong.