diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2008-08-30 21:25:28 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2008-08-30 21:25:28 +0000 |
commit | d4a8317da5195cd7069fd62b7ea25e58f27c1c9d (patch) | |
tree | 18cbd31966feac28de9c2b7721200c0690891ad8 /databases/adminer | |
parent | 50bc1d64e44fb0164ca82570f9dab0d16b6614fb (diff) | |
download | ports-d4a8317da5195cd7069fd62b7ea25e58f27c1c9d.tar.gz ports-d4a8317da5195cd7069fd62b7ea25e58f27c1c9d.zip |
Notes
Diffstat (limited to 'databases/adminer')
-rw-r--r-- | databases/adminer/Makefile | 54 | ||||
-rw-r--r-- | databases/adminer/distinfo | 3 | ||||
-rw-r--r-- | databases/adminer/files/pkg-message.in | 20 | ||||
-rw-r--r-- | databases/adminer/pkg-descr | 9 | ||||
-rw-r--r-- | databases/adminer/pkg-plist | 48 |
5 files changed, 134 insertions, 0 deletions
diff --git a/databases/adminer/Makefile b/databases/adminer/Makefile new file mode 100644 index 000000000000..f20c43c1bde5 --- /dev/null +++ b/databases/adminer/Makefile @@ -0,0 +1,54 @@ +# New ports collection makefile for: phpMinAdmin +# Date created: 28 August 2008 +# Whom: Wen Heping <wenheping@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= phpminadmin +PORTVERSION= 1.7.0 +CATEGORIES= databases www +MASTER_SITES= SF +DISTNAME= phpMinAdmin-${PORTVERSION} + +MAINTAINER= wenheping@gmail.com +COMMENT= A MySQL Management Tool Written in PHP + +USE_ZIP= yes +NO_BUILD= yes +NO_WRKSUBDIR= yes +USE_PHP= mysql session +SUB_FILES= pkg-message + +MM_SCRIPTS_FILES= _compile.php _lang.php \ + abstraction.inc.php auth.inc.php call.inc.php \ + connect.inc.php create.inc.php createv.inc.php \ + database.inc.php design.inc.php download.inc.php \ + dump.inc.php edit.inc.php editing.inc.php \ + export.inc.php foreign.inc.php functions.inc.php \ + index.php indexes.inc.php lang.inc.php \ + privileges.inc.php procedure.inc.php processlist.inc.php \ + schema.inc.php select.inc.php sql.inc.php \ + table.inc.php trigger.inc.php user.inc.php \ + view.inc.php +MM_DATA_FILES= arrow.gif default.css down.gif \ + favicon.ico minus.gif plus.gif \ + todo.txt up.gif +MM_DIR= lang + +do-install: + ${MKDIR} ${WWWDIR} +.for i in ${MM_SCRIPTS_FILES} + ${INSTALL_SCRIPT} ${WRKSRC}/${i} ${WWWDIR} +.endfor +.for i in ${MM_DATA_FILES} + ${INSTALL_DATA} ${WRKSRC}/${i} ${WWWDIR} +.endfor +.for i in ${MM_DIR} + @cd ${WRKSRC} && ${COPYTREE_SHARE} ${i} ${WWWDIR} +.endfor + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/databases/adminer/distinfo b/databases/adminer/distinfo new file mode 100644 index 000000000000..c18fa0c6d899 --- /dev/null +++ b/databases/adminer/distinfo @@ -0,0 +1,3 @@ +MD5 (phpMinAdmin-1.7.0.zip) = 86f98a65528bdb56c6072fdc7d8c77c2 +SHA256 (phpMinAdmin-1.7.0.zip) = 4ca1a6a8624507fe2c8cead4f4bba9abe0497d62e2b41fada54e06caa0e85856 +SIZE (phpMinAdmin-1.7.0.zip) = 71256 diff --git a/databases/adminer/files/pkg-message.in b/databases/adminer/files/pkg-message.in new file mode 100644 index 000000000000..d6d9712a7e5c --- /dev/null +++ b/databases/adminer/files/pkg-message.in @@ -0,0 +1,20 @@ + +POST-INSTALL CONFIGURATION FOR phpminadmin +===================================== + +Please add the following to your Apache configuration, +and restart the server: + +### Add the AcceptPathInfo directive only for Apache 2.0.30 or later. + Alias /phpminadmin %%WWWDIR%% + AcceptPathInfo On + <Directory %%WWWDIR%%> + AllowOverride None + Order Allow,Deny + Allow from all + </Directory> + +Then you can visit your phpminadmin site with a browser +(i.e. http://your.server.com/phpminadmin/) + +===================================== diff --git a/databases/adminer/pkg-descr b/databases/adminer/pkg-descr new file mode 100644 index 000000000000..529132c6b4a9 --- /dev/null +++ b/databases/adminer/pkg-descr @@ -0,0 +1,9 @@ +phpMinAdmin is a MySQL management tool written in PHP. +Currently it can create database, create/drop/alter +tables, create/drop/alter stored procedures, functions +and triggers, delete/edit/add fields, execute any SQL +statement, and manage keys on fields. The main difference +between phpMinAdmin and phpMyAdmin is that phpMinAdmin +is light-weight. + +WWW: http://phpminadmin.sourceforge.net diff --git a/databases/adminer/pkg-plist b/databases/adminer/pkg-plist new file mode 100644 index 000000000000..f6f47b4892ca --- /dev/null +++ b/databases/adminer/pkg-plist @@ -0,0 +1,48 @@ +%%WWWDIR%%/_compile.php +%%WWWDIR%%/_lang.php +%%WWWDIR%%/abstraction.inc.php +%%WWWDIR%%/auth.inc.php +%%WWWDIR%%/call.inc.php +%%WWWDIR%%/connect.inc.php +%%WWWDIR%%/create.inc.php +%%WWWDIR%%/createv.inc.php +%%WWWDIR%%/database.inc.php +%%WWWDIR%%/design.inc.php +%%WWWDIR%%/download.inc.php +%%WWWDIR%%/dump.inc.php +%%WWWDIR%%/edit.inc.php +%%WWWDIR%%/editing.inc.php +%%WWWDIR%%/export.inc.php +%%WWWDIR%%/foreign.inc.php +%%WWWDIR%%/functions.inc.php +%%WWWDIR%%/index.php +%%WWWDIR%%/indexes.inc.php +%%WWWDIR%%/lang.inc.php +%%WWWDIR%%/privileges.inc.php +%%WWWDIR%%/procedure.inc.php +%%WWWDIR%%/processlist.inc.php +%%WWWDIR%%/schema.inc.php +%%WWWDIR%%/select.inc.php +%%WWWDIR%%/sql.inc.php +%%WWWDIR%%/table.inc.php +%%WWWDIR%%/trigger.inc.php +%%WWWDIR%%/user.inc.php +%%WWWDIR%%/view.inc.php +%%WWWDIR%%/arrow.gif +%%WWWDIR%%/default.css +%%WWWDIR%%/down.gif +%%WWWDIR%%/favicon.ico +%%WWWDIR%%/minus.gif +%%WWWDIR%%/plus.gif +%%WWWDIR%%/todo.txt +%%WWWDIR%%/up.gif +%%WWWDIR%%/lang/cs.inc.php +%%WWWDIR%%/lang/de.inc.php +%%WWWDIR%%/lang/en.inc.php +%%WWWDIR%%/lang/es.inc.php +%%WWWDIR%%/lang/fr.inc.php +%%WWWDIR%%/lang/nl.inc.php +%%WWWDIR%%/lang/sk.inc.php +%%WWWDIR%%/lang/zh.inc.php +@dirrm %%WWWDIR%%/lang +@dirrm %%WWWDIR%% |