[Midnightbsd-cvs] CVS Commit: mports/databases: I may need to ditch MySQL AB's closed
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Fri Aug 10 14:59:33 EDT 2007
Log Message:
-----------
I may need to ditch MySQL AB's closed source crap soon. This is a convenient alternative to phpmyadmin for the "other" database.
Modified Files:
--------------
mports/databases:
Makefile (r1.45 -> r1.46)
Added Files:
-----------
mports/databases/phppgadmin:
Makefile (r1.1)
distinfo (r1.1)
pkg-descr (r1.1)
pkg-plist (r1.1)
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/databases/Makefile,v
retrieving revision 1.45
retrieving revision 1.46
diff -Ldatabases/Makefile -Ldatabases/Makefile -u -r1.45 -r1.46
--- databases/Makefile
+++ databases/Makefile
@@ -54,6 +54,7 @@
SUBDIR += php5-sqlite
SUBDIR += php5-sybase_ct
SUBDIR += phpmyadmin
+ SUBDIR += phppgadmin
SUBDIR += postgresql-docs
SUBDIR += postgresql-libpqxx
SUBDIR += postgresql-plruby
--- /dev/null
+++ databases/phppgadmin/pkg-descr
@@ -0,0 +1,17 @@
+phpPgAdmin is phpMyAdmin (for MySQL) ported to PostgreSQL. phpPgAdmin is a
+fully functional PostgreSQL administration utility. You can use it to create
+and maintain multiple databases and even multiple servers.
+
+Features include:
+ - create and drop databases
+ - create, copy, drop and alter
+ tables/views/sequences/functions/indicies/triggers
+ - edit and add fields (to the extent Postgres allows)
+ - execute any SQL-statement, even batch-queries
+ - manage primary and unique keys
+ - create and read dumps of tables
+ - administer one single database
+ - administer multiple servers
+ - administer postgres users and groups
+
+WWW: http://phppgadmin.sourceforge.net/
--- /dev/null
+++ databases/phppgadmin/pkg-plist
@@ -0,0 +1,348 @@
+%%PGADMDIR%%/CREDITS
+%%PGADMDIR%%/DEVELOPERS
+%%PGADMDIR%%/FAQ
+%%PGADMDIR%%/HISTORY
+%%PGADMDIR%%/INSTALL
+%%PGADMDIR%%/LICENSE
+%%PGADMDIR%%/TODO
+%%PGADMDIR%%/TRANSLATORS
+%%PGADMDIR%%/aciur.js
+%%PGADMDIR%%/aggregates.php
+%%PGADMDIR%%/all_db.php
+%%PGADMDIR%%/autocomplete.php
+%%PGADMDIR%%/browser.php
+%%PGADMDIR%%/casts.php
+%%PGADMDIR%%/classes/ArrayRecordSet.php
+%%PGADMDIR%%/classes/Gui.php
+%%PGADMDIR%%/classes/Misc.php
+%%PGADMDIR%%/classes/Reports.php
+%%PGADMDIR%%/classes/class.select.php
+%%PGADMDIR%%/classes/database/ADODB_base.php
+%%PGADMDIR%%/classes/database/Connection.php
+%%PGADMDIR%%/classes/database/Postgres.php
+%%PGADMDIR%%/classes/database/Postgres71.php
+%%PGADMDIR%%/classes/database/Postgres72.php
+%%PGADMDIR%%/classes/database/Postgres73.php
+%%PGADMDIR%%/classes/database/Postgres74.php
+%%PGADMDIR%%/classes/database/Postgres80.php
+%%PGADMDIR%%/classes/database/Postgres81.php
+%%PGADMDIR%%/classes/database/Postgres82.php
+%%PGADMDIR%%/classes/plugins/Plugin.php
+%%PGADMDIR%%/classes/plugins/Slony.php
+%%PGADMDIR%%/colproperties.php
+ at unexec if cmp -s %D/%%PGADMDIR%%/conf/config.inc.php %D/%%PGADMDIR%%/conf/config.inc.php-dist; then rm -f %D/%%PGADMDIR%%/conf/config.inc.php; fi
+%%PGADMDIR%%/conf/config.inc.php-dist
+ at exec cp -np %D/%%PGADMOLDDIR%%/conf/config.inc.php %B/config.inc.php
+ at exec cp -np %B/%f %B/config.inc.php
+%%PGADMDIR%%/constraints.php
+%%PGADMDIR%%/conversions.php
+%%PGADMDIR%%/database.php
+%%PGADMDIR%%/dataexport.php
+%%PGADMDIR%%/dataimport.php
+%%PGADMDIR%%/dbexport.php
+%%PGADMDIR%%/display.php
+%%PGADMDIR%%/domains.php
+%%PGADMDIR%%/functions.js
+%%PGADMDIR%%/functions.php
+%%PGADMDIR%%/groups.php
+%%PGADMDIR%%/help.php
+%%PGADMDIR%%/help/PostgresDoc70.php
+%%PGADMDIR%%/help/PostgresDoc71.php
+%%PGADMDIR%%/help/PostgresDoc72.php
+%%PGADMDIR%%/help/PostgresDoc73.php
+%%PGADMDIR%%/help/PostgresDoc74.php
+%%PGADMDIR%%/help/PostgresDoc80.php
+%%PGADMDIR%%/help/PostgresDoc81.php
+%%PGADMDIR%%/help/PostgresDoc82.php
+%%PGADMDIR%%/images/themes/default/AddArguments.png
+%%PGADMDIR%%/images/themes/default/Admin.png
+%%PGADMDIR%%/images/themes/default/Aggregate.png
+%%PGADMDIR%%/images/themes/default/Aggregates.png
+%%PGADMDIR%%/images/themes/default/AllUsers.png
+%%PGADMDIR%%/images/themes/default/AvailableReplicationSet.png
+%%PGADMDIR%%/images/themes/default/AvailableSubscription.png
+%%PGADMDIR%%/images/themes/default/Backup.png
+%%PGADMDIR%%/images/themes/default/Cast.png
+%%PGADMDIR%%/images/themes/default/Casts.png
+%%PGADMDIR%%/images/themes/default/CheckConstraint.png
+%%PGADMDIR%%/images/themes/default/Cluster.png
+%%PGADMDIR%%/images/themes/default/Column.png
+%%PGADMDIR%%/images/themes/default/Columns.png
+%%PGADMDIR%%/images/themes/default/Constraints.png
+%%PGADMDIR%%/images/themes/default/Conversion.png
+%%PGADMDIR%%/images/themes/default/Conversions.png
+%%PGADMDIR%%/images/themes/default/Copy.png
+%%PGADMDIR%%/images/themes/default/CorruptedDatabase.png
+%%PGADMDIR%%/images/themes/default/Cut.png
+%%PGADMDIR%%/images/themes/default/Database.png
+%%PGADMDIR%%/images/themes/default/Databases.png
+%%PGADMDIR%%/images/themes/default/Definition.png
+%%PGADMDIR%%/images/themes/default/Delete.png
+%%PGADMDIR%%/images/themes/default/DisabledJob.png
+%%PGADMDIR%%/images/themes/default/DisconnectedDatabase.png
+%%PGADMDIR%%/images/themes/default/DisconnectedServer.png
+%%PGADMDIR%%/images/themes/default/Domain.png
+%%PGADMDIR%%/images/themes/default/Domains.png
+%%PGADMDIR%%/images/themes/default/EnableArgument.png
+%%PGADMDIR%%/images/themes/default/Erase.png
+%%PGADMDIR%%/images/themes/default/Execute.png
+%%PGADMDIR%%/images/themes/default/ExecuteSave.png
+%%PGADMDIR%%/images/themes/default/Explain.png
+%%PGADMDIR%%/images/themes/default/Export.png
+%%PGADMDIR%%/images/themes/default/Filter.png
+%%PGADMDIR%%/images/themes/default/ForeignKey.png
+%%PGADMDIR%%/images/themes/default/Function.png
+%%PGADMDIR%%/images/themes/default/Functions.png
+%%PGADMDIR%%/images/themes/default/GurusHint.png
+%%PGADMDIR%%/images/themes/default/Help.png
+%%PGADMDIR%%/images/themes/default/I.png
+%%PGADMDIR%%/images/themes/default/Import.png
+%%PGADMDIR%%/images/themes/default/Index.png
+%%PGADMDIR%%/images/themes/default/Indexes.png
+%%PGADMDIR%%/images/themes/default/Introduction.png
+%%PGADMDIR%%/images/themes/default/Job.png
+%%PGADMDIR%%/images/themes/default/Jobs.png
+%%PGADMDIR%%/images/themes/default/Key.png
+%%PGADMDIR%%/images/themes/default/L.png
+%%PGADMDIR%%/images/themes/default/Language.png
+%%PGADMDIR%%/images/themes/default/Languages.png
+%%PGADMDIR%%/images/themes/default/Listen.png
+%%PGADMDIR%%/images/themes/default/Listens.png
+%%PGADMDIR%%/images/themes/default/Lminus.png
+%%PGADMDIR%%/images/themes/default/Loading.gif
+%%PGADMDIR%%/images/themes/default/LowerArgument.png
+%%PGADMDIR%%/images/themes/default/Lplus.png
+%%PGADMDIR%%/images/themes/default/Node.png
+%%PGADMDIR%%/images/themes/default/Nodes.png
+%%PGADMDIR%%/images/themes/default/ObjectNotFound.png
+%%PGADMDIR%%/images/themes/default/OfferedReplicationSet.png
+%%PGADMDIR%%/images/themes/default/OfferedSubscription.png
+%%PGADMDIR%%/images/themes/default/Open.png
+%%PGADMDIR%%/images/themes/default/Operator.png
+%%PGADMDIR%%/images/themes/default/OperatorClass.png
+%%PGADMDIR%%/images/themes/default/OperatorClasses.png
+%%PGADMDIR%%/images/themes/default/Operators.png
+%%PGADMDIR%%/images/themes/default/Paste.png
+%%PGADMDIR%%/images/themes/default/Path.png
+%%PGADMDIR%%/images/themes/default/Paths.png
+%%PGADMDIR%%/images/themes/default/PrimaryKey.png
+%%PGADMDIR%%/images/themes/default/Privileges.png
+%%PGADMDIR%%/images/themes/default/Processes.png
+%%PGADMDIR%%/images/themes/default/Property.png
+%%PGADMDIR%%/images/themes/default/RaiseArgument.png
+%%PGADMDIR%%/images/themes/default/Redo.png
+%%PGADMDIR%%/images/themes/default/Refresh.png
+%%PGADMDIR%%/images/themes/default/RemoveArgument.png
+%%PGADMDIR%%/images/themes/default/Replication.png
+%%PGADMDIR%%/images/themes/default/ReplicationSets.png
+%%PGADMDIR%%/images/themes/default/Reports.png
+%%PGADMDIR%%/images/themes/default/Restore.png
+%%PGADMDIR%%/images/themes/default/Roles.png
+%%PGADMDIR%%/images/themes/default/Rule.png
+%%PGADMDIR%%/images/themes/default/Rules.png
+%%PGADMDIR%%/images/themes/default/Save.png
+%%PGADMDIR%%/images/themes/default/Schedule.png
+%%PGADMDIR%%/images/themes/default/Schedules.png
+%%PGADMDIR%%/images/themes/default/Schema.png
+%%PGADMDIR%%/images/themes/default/Schemas.png
+%%PGADMDIR%%/images/themes/default/Search.png
+%%PGADMDIR%%/images/themes/default/Sequence.png
+%%PGADMDIR%%/images/themes/default/Sequences.png
+%%PGADMDIR%%/images/themes/default/Server.png
+%%PGADMDIR%%/images/themes/default/Servers.png
+%%PGADMDIR%%/images/themes/default/SqlEditor.png
+%%PGADMDIR%%/images/themes/default/Statistics.png
+%%PGADMDIR%%/images/themes/default/Step.png
+%%PGADMDIR%%/images/themes/default/Steps.png
+%%PGADMDIR%%/images/themes/default/Stop.png
+%%PGADMDIR%%/images/themes/default/Subscriptions.png
+%%PGADMDIR%%/images/themes/default/T.png
+%%PGADMDIR%%/images/themes/default/Table.png
+%%PGADMDIR%%/images/themes/default/Tables.png
+%%PGADMDIR%%/images/themes/default/Tablespace.png
+%%PGADMDIR%%/images/themes/default/Tablespaces.png
+%%PGADMDIR%%/images/themes/default/Tminus.png
+%%PGADMDIR%%/images/themes/default/Tplus.png
+%%PGADMDIR%%/images/themes/default/Trigger.png
+%%PGADMDIR%%/images/themes/default/TriggerFunction.png
+%%PGADMDIR%%/images/themes/default/TriggerFunctions.png
+%%PGADMDIR%%/images/themes/default/Triggers.png
+%%PGADMDIR%%/images/themes/default/Type.png
+%%PGADMDIR%%/images/themes/default/Types.png
+%%PGADMDIR%%/images/themes/default/Undo.png
+%%PGADMDIR%%/images/themes/default/UniqueConstraint.png
+%%PGADMDIR%%/images/themes/default/User.png
+%%PGADMDIR%%/images/themes/default/UserGroup.png
+%%PGADMDIR%%/images/themes/default/UserGroups.png
+%%PGADMDIR%%/images/themes/default/Users.png
+%%PGADMDIR%%/images/themes/default/Variables.png
+%%PGADMDIR%%/images/themes/default/View.png
+%%PGADMDIR%%/images/themes/default/Views.png
+%%PGADMDIR%%/images/themes/default/blank.png
+%%PGADMDIR%%/images/themes/default/title.png
+%%PGADMDIR%%/index.php
+%%PGADMDIR%%/indexes.js
+%%PGADMDIR%%/indexes.php
+%%PGADMDIR%%/info.php
+%%PGADMDIR%%/intro.php
+%%PGADMDIR%%/lang/Makefile
+%%PGADMDIR%%/lang/afrikaans.php
+%%PGADMDIR%%/lang/arabic.php
+%%PGADMDIR%%/lang/catalan.php
+%%PGADMDIR%%/lang/chinese-sim.php
+%%PGADMDIR%%/lang/chinese-tr.php
+%%PGADMDIR%%/lang/convert.awk
+%%PGADMDIR%%/lang/czech.php
+%%PGADMDIR%%/lang/danish.php
+%%PGADMDIR%%/lang/dutch.php
+%%PGADMDIR%%/lang/english.php
+%%PGADMDIR%%/lang/french.php
+%%PGADMDIR%%/lang/german.php
+%%PGADMDIR%%/lang/hebrew.php
+%%PGADMDIR%%/lang/hungarian.php
+%%PGADMDIR%%/lang/italian.php
+%%PGADMDIR%%/lang/japanese.php
+%%PGADMDIR%%/lang/langcheck
+%%PGADMDIR%%/lang/mongol.php
+%%PGADMDIR%%/lang/php2po
+%%PGADMDIR%%/lang/po2php
+%%PGADMDIR%%/lang/polish.php
+%%PGADMDIR%%/lang/portuguese-br.php
+%%PGADMDIR%%/lang/portuguese-pt.php
+%%PGADMDIR%%/lang/recoded/README
+%%PGADMDIR%%/lang/recoded/afrikaans.php
+%%PGADMDIR%%/lang/recoded/arabic.php
+%%PGADMDIR%%/lang/recoded/catalan.php
+%%PGADMDIR%%/lang/recoded/chinese-sim.php
+%%PGADMDIR%%/lang/recoded/chinese-tr.php
+%%PGADMDIR%%/lang/recoded/czech.php
+%%PGADMDIR%%/lang/recoded/danish.php
+%%PGADMDIR%%/lang/recoded/dutch.php
+%%PGADMDIR%%/lang/recoded/english.php
+%%PGADMDIR%%/lang/recoded/french.php
+%%PGADMDIR%%/lang/recoded/german.php
+%%PGADMDIR%%/lang/recoded/hebrew.php
+%%PGADMDIR%%/lang/recoded/hungarian.php
+%%PGADMDIR%%/lang/recoded/italian.php
+%%PGADMDIR%%/lang/recoded/japanese.php
+%%PGADMDIR%%/lang/recoded/mongol.php
+%%PGADMDIR%%/lang/recoded/polish.php
+%%PGADMDIR%%/lang/recoded/portuguese-br.php
+%%PGADMDIR%%/lang/recoded/portuguese-pt.php
+%%PGADMDIR%%/lang/recoded/romanian.php
+%%PGADMDIR%%/lang/recoded/russian.php
+%%PGADMDIR%%/lang/recoded/slovak.php
+%%PGADMDIR%%/lang/recoded/spanish.php
+%%PGADMDIR%%/lang/recoded/swedish.php
+%%PGADMDIR%%/lang/recoded/turkish.php
+%%PGADMDIR%%/lang/recoded/ukrainian.php
+%%PGADMDIR%%/lang/romanian.php
+%%PGADMDIR%%/lang/russian.php
+%%PGADMDIR%%/lang/slovak.php
+%%PGADMDIR%%/lang/spanish.php
+%%PGADMDIR%%/lang/swedish.php
+%%PGADMDIR%%/lang/synch
+%%PGADMDIR%%/lang/translations.php
+%%PGADMDIR%%/lang/turkish.php
+%%PGADMDIR%%/lang/ukrainian.php
+%%PGADMDIR%%/languages.php
+%%PGADMDIR%%/libraries/adodb/adodb-csvlib.inc.php
+%%PGADMDIR%%/libraries/adodb/adodb-datadict.inc.php
+%%PGADMDIR%%/libraries/adodb/adodb-error.inc.php
+%%PGADMDIR%%/libraries/adodb/adodb-errorhandler.inc.php
+%%PGADMDIR%%/libraries/adodb/adodb-errorpear.inc.php
+%%PGADMDIR%%/libraries/adodb/adodb-exceptions.inc.php
+%%PGADMDIR%%/libraries/adodb/adodb-iterator.inc.php
+%%PGADMDIR%%/libraries/adodb/adodb-lib.inc.php
+%%PGADMDIR%%/libraries/adodb/adodb-pear.inc.php
+%%PGADMDIR%%/libraries/adodb/adodb-php4.inc.php
+%%PGADMDIR%%/libraries/adodb/adodb-time.inc.php
+%%PGADMDIR%%/libraries/adodb/adodb-xmlschema.inc.php
+%%PGADMDIR%%/libraries/adodb/adodb.inc.php
+%%PGADMDIR%%/libraries/adodb/drivers/adodb-postgres.inc.php
+%%PGADMDIR%%/libraries/adodb/drivers/adodb-postgres64.inc.php
+%%PGADMDIR%%/libraries/adodb/drivers/adodb-postgres7.inc.php
+%%PGADMDIR%%/libraries/adodb/drivers/adodb-postgres8.inc.php
+%%PGADMDIR%%/libraries/adodb/lang/adodb-ar.inc.php
+%%PGADMDIR%%/libraries/adodb/lang/adodb-bg.inc.php
+%%PGADMDIR%%/libraries/adodb/lang/adodb-bgutf8.inc.php
+%%PGADMDIR%%/libraries/adodb/lang/adodb-ca.inc.php
+%%PGADMDIR%%/libraries/adodb/lang/adodb-cn.inc.php
+%%PGADMDIR%%/libraries/adodb/lang/adodb-cz.inc.php
+%%PGADMDIR%%/libraries/adodb/lang/adodb-da.inc.php
+%%PGADMDIR%%/libraries/adodb/lang/adodb-de.inc.php
+%%PGADMDIR%%/libraries/adodb/lang/adodb-en.inc.php
+%%PGADMDIR%%/libraries/adodb/lang/adodb-es.inc.php
+%%PGADMDIR%%/libraries/adodb/lang/adodb-esperanto.inc.php
+%%PGADMDIR%%/libraries/adodb/lang/adodb-fr.inc.php
+%%PGADMDIR%%/libraries/adodb/lang/adodb-hu.inc.php
+%%PGADMDIR%%/libraries/adodb/lang/adodb-it.inc.php
+%%PGADMDIR%%/libraries/adodb/lang/adodb-nl.inc.php
+%%PGADMDIR%%/libraries/adodb/lang/adodb-pl.inc.php
+%%PGADMDIR%%/libraries/adodb/lang/adodb-pt-br.inc.php
+%%PGADMDIR%%/libraries/adodb/lang/adodb-ro.inc.php
+%%PGADMDIR%%/libraries/adodb/lang/adodb-ru1251.inc.php
+%%PGADMDIR%%/libraries/adodb/lang/adodb-sv.inc.php
+%%PGADMDIR%%/libraries/adodb/lang/adodb-uk1251.inc.php
+%%PGADMDIR%%/libraries/adodb/license.txt
+%%PGADMDIR%%/libraries/adodb/pivottable.inc.php
+%%PGADMDIR%%/libraries/adodb/readme.txt
+%%PGADMDIR%%/libraries/adodb/rsfilter.inc.php
+%%PGADMDIR%%/libraries/adodb/server.php
+%%PGADMDIR%%/libraries/adodb/toexport.inc.php
+%%PGADMDIR%%/libraries/adodb/tohtml.inc.php
+%%PGADMDIR%%/libraries/adodb/xmlschema.dtd
+%%PGADMDIR%%/libraries/decorator.inc.php
+%%PGADMDIR%%/libraries/errorhandler.inc.php
+%%PGADMDIR%%/libraries/highlight.php
+%%PGADMDIR%%/libraries/lib.inc.php
+%%PGADMDIR%%/links.js
+%%PGADMDIR%%/login.php
+%%PGADMDIR%%/logout.php
+%%PGADMDIR%%/opclasses.php
+%%PGADMDIR%%/operators.php
+%%PGADMDIR%%/plugin_slony.php
+%%PGADMDIR%%/privileges.php
+%%PGADMDIR%%/redirect.php
+%%PGADMDIR%%/reports.php
+%%PGADMDIR%%/robots.txt
+%%PGADMDIR%%/roles.php
+%%PGADMDIR%%/rules.php
+%%PGADMDIR%%/schemas.php
+%%PGADMDIR%%/sequences.php
+%%PGADMDIR%%/servers.php
+%%PGADMDIR%%/sql.php
+%%PGADMDIR%%/sql/reports-pgsql.sql
+%%PGADMDIR%%/sqledit.php
+%%PGADMDIR%%/tables.js
+%%PGADMDIR%%/tables.php
+%%PGADMDIR%%/tablespaces.php
+%%PGADMDIR%%/tblproperties.php
+%%PGADMDIR%%/themes/default/global.css
+%%PGADMDIR%%/triggers.php
+%%PGADMDIR%%/types.php
+%%PGADMDIR%%/users.php
+%%PGADMDIR%%/viewproperties.php
+%%PGADMDIR%%/views.php
+%%PGADMDIR%%/xloadtree/xloadtree2.js
+%%PGADMDIR%%/xloadtree/xtree2.js
+ at dirrm %%PGADMDIR%%/xloadtree
+ at dirrm %%PGADMDIR%%/themes/default
+ at dirrm %%PGADMDIR%%/themes
+ at dirrm %%PGADMDIR%%/sql
+ at dirrm %%PGADMDIR%%/libraries/adodb/lang
+ at dirrm %%PGADMDIR%%/libraries/adodb/drivers
+ at dirrm %%PGADMDIR%%/libraries/adodb
+ at dirrm %%PGADMDIR%%/libraries
+ at dirrm %%PGADMDIR%%/lang/recoded
+ at dirrm %%PGADMDIR%%/lang
+ at dirrm %%PGADMDIR%%/images/themes/default
+ at dirrm %%PGADMDIR%%/images/themes
+ at dirrm %%PGADMDIR%%/images
+ at dirrm %%PGADMDIR%%/help
+ at dirrm %%PGADMDIR%%/conf
+ at dirrm %%PGADMDIR%%/classes/plugins
+ at dirrm %%PGADMDIR%%/classes/database
+ at dirrm %%PGADMDIR%%/classes
+ at dirrm %%PGADMDIR%%
+ at dirrmtry www/data-dist
--- /dev/null
+++ databases/phppgadmin/Makefile
@@ -0,0 +1,52 @@
+# New ports collection makefile for: phpPgAdmin
+# Date created: 19 Jan 2001
+# Whom: nbm
+#
+# $MidnightBSD: mports/databases/phppgadmin/Makefile,v 1.1 2007/08/10 18:59:31 laffer1 Exp $
+# $FreeBSD: ports/databases/phppgadmin/Makefile,v 1.40 2007/08/04 11:40:44 gabor Exp $
+#
+
+PORTNAME= phppgadmin
+PORTVERSION= 4.1.3
+CATEGORIES= databases www
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= phpPgAdmin-${PORTVERSION}
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= Web Based Postgres Administration
+
+USE_BZIP2= YES
+.if !defined(WITHOUT_PHP_DEPENDS)
+USE_PHP= pgsql pcre session
+.endif
+NO_BUILD= YES
+PGADMDIR?= www/phpPgAdmin
+PLIST_SUB+= PGADMDIR=${PGADMDIR}
+PGADMOLDDIR?= www/data-dist/phpPgAdmin
+PLIST_SUB+= PGADMOLDDIR=${PGADMOLDDIR}
+
+pre-everything::
+ @${ECHO_CMD} "# you can customize the installation directory"
+ @${ECHO_CMD} "# by setting PGADMDIR in /etc/make.conf"
+
+do-configure:
+ ${REINPLACE_CMD} -e "s|/usr/bin/pg|${LOCALBASE}/bin/pg|" \
+ ${WRKSRC}/conf/config.inc.php-dist
+ ${RM} -f ${WRKSRC}/conf/config.inc.php \
+ ${WRKSRC}/conf/config.inc.php-dist.bak
+
+.include <bsd.port.pre.mk>
+
+do-install:
+ ${MKDIR} ${PREFIX}/${PGADMDIR}
+ ${RM} -f ${WRKSRC}/classes/database/Postgres81.php.orig
+ ${CP} -Rp ${WRKSRC}/ ${PREFIX}/${PGADMDIR}/
+.if exists(${PREFIX}/${PGADMOLDDIR}/conf/config.inc.php)
+ ${CP} -np ${PREFIX}/${PGADMOLDDIR}/conf/config.inc.php \
+ ${PREFIX}/${PGADMDIR}/conf/config.inc.php
+.endif
+ ${CP} -np ${PREFIX}/${PGADMDIR}/conf/config.inc.php-dist \
+ ${PREFIX}/${PGADMDIR}/conf/config.inc.php
+
+.include <bsd.port.post.mk>
--- /dev/null
+++ databases/phppgadmin/distinfo
@@ -0,0 +1,3 @@
+MD5 (phpPgAdmin-4.1.3.tar.bz2) = a83d2be9a583d27e4915ca4881b339bf
+SHA256 (phpPgAdmin-4.1.3.tar.bz2) = a15955040a261f8e350c42ef8dd3aa97cbaf5db8ce0c70a8dcfd9eb6ab4153a3
+SIZE (phpPgAdmin-4.1.3.tar.bz2) = 618396
More information about the Midnightbsd-cvs
mailing list