1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

VFront is a free, open source front-end for MySQL or PostgreSQL databases

written in PHP and Javascript.  With VFront you can create forms for managing
your data in AJAX style, different rules and privileges for groups, report in
XML, HTML, PDF, statistics and much more.

WWW:	http://www.vfront.org/
This commit is contained in:
Chris Rees 2012-04-11 16:37:03 +00:00
parent dcc7bbb1a4
commit e12186a898
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=294653
4 changed files with 65 additions and 0 deletions

View File

@ -834,6 +834,7 @@
SUBDIR += unixODBC
SUBDIR += useracc
SUBDIR += usogres
SUBDIR += vfront
SUBDIR += virtuoso
SUBDIR += wfb2sql
SUBDIR += wmjsql

56
databases/vfront/Makefile Normal file
View File

@ -0,0 +1,56 @@
# Ports collection Makefile for: vfront
# Date created: 11th April 2012
# Whom: crees
#
# $FreeBSD$
#
PORTNAME= vfront
DISTVERSION= 0.96c
CATEGORIES= databases www
MASTER_SITES= SF/vfront/vfront/vfront-${DISTVERSION}
MAINTAINER= crees@FreeBSD.org
COMMENT= Simple frontend for database data entry
LICENSE= GPLv2
NO_BUILD= yes
PLIST= ${WRKDIR}/pkg-plist
USE_PHP= yes
OPTIONS+= MYSQL "Use MySQL databases" off
OPTIONS+= PGSQL "Use PostgreSQL databases" off
.include <bsd.port.options.mk>
.if defined(WITH_MYSQL)
USE_PHP+= mysqli
USE_MYSQL= yes
.endif
.if defined(WITH_PGSQL)
USE_PHP+= pgsql
USE_PGSQL= yes
.endif
post-patch:
${REINPLACE_CMD} -i '' -e \
's/\(AUTHORIZATION \\*"\)postgres\(\\*"\)/\1pgsql\2/' \
${WRKSRC}/_install/vfront.postgres.sql \
${WRKSRC}/_install/vfront.postgres.sql.php
pre-install:
(cd ${WRKSRC} && \
${FIND} * -type f | ${SED} 's,^,%%WWWDIR%%/,' > ${PLIST} && \
${FIND} * -type d | ${SORT} -r | \
${SED} 's,^,@dirrmtry %%WWWDIR%%/,' >> ${PLIST})
@${ECHO_CMD} '@dirrmtry %%WWWDIR%%' >> ${PLIST}
do-install:
(cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${WWWDIR})
${CHOWN} -R ${WWWOWN} ${WWWDIR}
${CHMOD} 700 ${WWWDIR}/conf
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (vfront-0.96c.tar.gz) = 6ff4ca953089c7337479fe857bac746605e5dcac4c878b89c5d0cfe7db790138
SIZE (vfront-0.96c.tar.gz) = 4238620

View File

@ -0,0 +1,6 @@
VFront is a free, open source front-end for MySQL or PostgreSQL databases
written in PHP and Javascript. With VFront you can create forms for managing
your data in AJAX style, different rules and privileges for groups, report in
XML, HTML, PDF, statistics and much more.
WWW: http://www.vfront.org/