From 0b2ccff9e37166fa56ca679fbf13257ab5aeb068 Mon Sep 17 00:00:00 2001 From: Jun Kuriyama Date: Wed, 22 Mar 2006 08:49:47 +0000 Subject: [PATCH] Add php5-propel 1.1.1, full-service object persistence and query toolkit for PHP. --- databases/Makefile | 1 + databases/php5-propel/Makefile | 42 +++++ databases/php5-propel/distinfo | 3 + databases/php5-propel/pkg-descr | 8 + databases/php5-propel/pkg-plist | 281 ++++++++++++++++++++++++++++++++ 5 files changed, 335 insertions(+) create mode 100644 databases/php5-propel/Makefile create mode 100644 databases/php5-propel/distinfo create mode 100644 databases/php5-propel/pkg-descr create mode 100644 databases/php5-propel/pkg-plist diff --git a/databases/Makefile b/databases/Makefile index 979d9ac9abb8..4ba505e1cd92 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -314,6 +314,7 @@ SUBDIR += php5-mysqli SUBDIR += php5-odbc SUBDIR += php5-pgsql + SUBDIR += php5-propel SUBDIR += php5-sqlite SUBDIR += php5-sybase_ct SUBDIR += phpmyadmin diff --git a/databases/php5-propel/Makefile b/databases/php5-propel/Makefile new file mode 100644 index 000000000000..a811301dfc70 --- /dev/null +++ b/databases/php5-propel/Makefile @@ -0,0 +1,42 @@ +# New ports collection makefile for: php5-propel +# Date Created: 9 Nov, 2005 +# Whom: Jun Kuriyama +# +# $FreeBSD$ +# + +PORTNAME= propel +PORTVERSION= 1.1.1 +CATEGORIES= databases +MASTER_SITES= http://dist.bsdlab.org/ +#MASTER_SITES= http://propel.phpdb.org/files/ +PKGNAMEPREFIX= php5- + +MAINTAINER= kuriyama@FreeBSD.org +COMMENT= Full-service object persistence and query toolkit for PHP + +USE_PHP= yes +DEFAULT_PHP_VER=5 +WRKSRC= ${WRKDIR} + +do-build: + ${SED} -e "s|@DATA-DIR@/propel_generator|${PREFIX}/share/propel/generator/pear|" ${WRKSRC}/generator/pear/pear-propel-gen > ${WRKSRC}/propel-gen + +do-install: + cd ${WRKSRC}/runtime/classes; \ + for d in `${FIND} propel -type d`; do \ + ${INSTALL} -d ${PREFIX}/lib/php/$$d; \ + done; \ + for i in `${FIND} propel -type f`; do \ + ${INSTALL_DATA} $$i ${PREFIX}/lib/php/$$i; \ + done + cd ${WRKSRC}; \ + for d in `${FIND} generator -type d`; do \ + ${INSTALL} -d ${PREFIX}/share/propel/$$d; \ + done; \ + for i in `${FIND} generator -type f`; do \ + ${INSTALL_DATA} $$i ${PREFIX}/share/propel/$$i; \ + done + ${INSTALL_SCRIPT} ${WRKSRC}/propel-gen ${PREFIX}/bin + +.include diff --git a/databases/php5-propel/distinfo b/databases/php5-propel/distinfo new file mode 100644 index 000000000000..d6875cb8feba --- /dev/null +++ b/databases/php5-propel/distinfo @@ -0,0 +1,3 @@ +MD5 (propel-1.1.1.tar.gz) = 269e6d5889fdf51c1a257f0a6fa21522 +SHA256 (propel-1.1.1.tar.gz) = 0961f63eeee24a7d8180d71e15d745f16311484580bd6cf7ace60f536c15d5d3 +SIZE (propel-1.1.1.tar.gz) = 310408 diff --git a/databases/php5-propel/pkg-descr b/databases/php5-propel/pkg-descr new file mode 100644 index 000000000000..22770bf37e4f --- /dev/null +++ b/databases/php5-propel/pkg-descr @@ -0,0 +1,8 @@ +Propel is a full-service object persistence and query toolkit for PHP. + +It allows you to access your database using a set of objects, +providing a simple API for storing and querying data. You might +already have heard of this technique, but under a different name, like +Data Access Objects (DAO) or Object Relational Mapping (ORM). + +WWW: http://propel.phpdb.org/ diff --git a/databases/php5-propel/pkg-plist b/databases/php5-propel/pkg-plist new file mode 100644 index 000000000000..77dac3541ee0 --- /dev/null +++ b/databases/php5-propel/pkg-plist @@ -0,0 +1,281 @@ +bin/propel-gen +lib/php/propel/Propel.php +lib/php/propel/PropelException.php +lib/php/propel/adapter/DBAdapter.php +lib/php/propel/adapter/DBMSSQL.php +lib/php/propel/adapter/DBMySQL.php +lib/php/propel/adapter/DBNone.php +lib/php/propel/adapter/DBOracle.php +lib/php/propel/adapter/DBPostgres.php +lib/php/propel/adapter/DBSQLite.php +lib/php/propel/adapter/DBSybase.php +lib/php/propel/logger/BasicLogger.php +lib/php/propel/logger/MojaviLogAdapter.php +lib/php/propel/map/ColumnMap.php +lib/php/propel/map/DatabaseMap.php +lib/php/propel/map/MapBuilder.php +lib/php/propel/map/TableMap.php +lib/php/propel/map/ValidatorMap.php +lib/php/propel/om/BaseObject.php +lib/php/propel/om/Persistent.php +lib/php/propel/om/PreOrderNodeIterator.php +lib/php/propel/util/BasePeer.php +lib/php/propel/util/Criteria.php +lib/php/propel/util/PeerInfo.php +lib/php/propel/util/PropelPager.php +lib/php/propel/util/Transaction.php +lib/php/propel/validator/BasicValidator.php +lib/php/propel/validator/MaskValidator.php +lib/php/propel/validator/MaxLengthValidator.php +lib/php/propel/validator/MaxValueValidator.php +lib/php/propel/validator/MinLengthValidator.php +lib/php/propel/validator/MinValueValidator.php +lib/php/propel/validator/RequiredValidator.php +lib/php/propel/validator/UniqueValidator.php +lib/php/propel/validator/ValidValuesValidator.php +lib/php/propel/validator/ValidationFailed.php +%%DATADIR%%/generator/build-propel.xml +%%DATADIR%%/generator/build.properties +%%DATADIR%%/generator/build.xml +%%DATADIR%%/generator/classes/propel/engine/EngineException.php +%%DATADIR%%/generator/classes/propel/engine/builder/om/ClassTools.php +%%DATADIR%%/generator/classes/propel/engine/builder/om/PeerBuilder.php +%%DATADIR%%/generator/classes/propel/engine/database/model/AppData.php +%%DATADIR%%/generator/classes/propel/engine/database/model/Column.php +%%DATADIR%%/generator/classes/propel/engine/database/model/ConstraintNameGenerator.php +%%DATADIR%%/generator/classes/propel/engine/database/model/Database.php +%%DATADIR%%/generator/classes/propel/engine/database/model/Domain.php +%%DATADIR%%/generator/classes/propel/engine/database/model/ForeignKey.php +%%DATADIR%%/generator/classes/propel/engine/database/model/IDMethod.php +%%DATADIR%%/generator/classes/propel/engine/database/model/IdMethodParameter.php +%%DATADIR%%/generator/classes/propel/engine/database/model/Index.php +%%DATADIR%%/generator/classes/propel/engine/database/model/Inheritance.php +%%DATADIR%%/generator/classes/propel/engine/database/model/NameFactory.php +%%DATADIR%%/generator/classes/propel/engine/database/model/NameGenerator.php +%%DATADIR%%/generator/classes/propel/engine/database/model/PhpNameGenerator.php +%%DATADIR%%/generator/classes/propel/engine/database/model/PropelTypes.php +%%DATADIR%%/generator/classes/propel/engine/database/model/Rule.php +%%DATADIR%%/generator/classes/propel/engine/database/model/Table.php +%%DATADIR%%/generator/classes/propel/engine/database/model/Unique.php +%%DATADIR%%/generator/classes/propel/engine/database/model/Validator.php +%%DATADIR%%/generator/classes/propel/engine/database/model/XMLElement.php +%%DATADIR%%/generator/classes/propel/engine/database/transform/XmlToAppData.php +%%DATADIR%%/generator/classes/propel/engine/database/transform/XmlToData.php +%%DATADIR%%/generator/classes/propel/engine/platform/Platform.php +%%DATADIR%%/generator/classes/propel/engine/platform/PlatformDefaultImpl.php +%%DATADIR%%/generator/classes/propel/engine/platform/PlatformFactory.php +%%DATADIR%%/generator/classes/propel/engine/platform/PlatformMssqlImpl.php +%%DATADIR%%/generator/classes/propel/engine/platform/PlatformMysqlImpl.php +%%DATADIR%%/generator/classes/propel/engine/platform/PlatformOracleImpl.php +%%DATADIR%%/generator/classes/propel/engine/platform/PlatformPgsqlImpl.php +%%DATADIR%%/generator/classes/propel/engine/platform/PlatformSqliteImpl.php +%%DATADIR%%/generator/classes/propel/phing/AbstractPropelDataModelTask.php +%%DATADIR%%/generator/classes/propel/phing/PropelCreoleTransformTask.php +%%DATADIR%%/generator/classes/propel/phing/PropelDataDTDTask.php +%%DATADIR%%/generator/classes/propel/phing/PropelDataDumpTask.php +%%DATADIR%%/generator/classes/propel/phing/PropelDataModelTask.php +%%DATADIR%%/generator/classes/propel/phing/PropelDataSQLTask.php +%%DATADIR%%/generator/classes/propel/phing/PropelGraphvizTask.php +%%DATADIR%%/generator/classes/propel/phing/PropelOMTask.php +%%DATADIR%%/generator/classes/propel/phing/PropelSQLExec.php +%%DATADIR%%/generator/classes/propel/phing/PropelSQLTask.php +%%DATADIR%%/generator/default.properties +%%DATADIR%%/generator/dtd/database.dtd +%%DATADIR%%/generator/pear/build-pear-package.xml +%%DATADIR%%/generator/pear/build.properties +%%DATADIR%%/generator/pear/pear-build.xml +%%DATADIR%%/generator/pear/pear-propel-gen +%%DATADIR%%/generator/pear/pear-propel-gen.bat +%%DATADIR%%/generator/projects/bookstore/build.properties +%%DATADIR%%/generator/projects/bookstore/runtime-conf.xml +%%DATADIR%%/generator/projects/bookstore/schema.xml +%%DATADIR%%/generator/projects/treetest/build.properties +%%DATADIR%%/generator/projects/treetest/runtime-conf.xml +%%DATADIR%%/generator/projects/treetest/treetest-schema.xml +%%DATADIR%%/generator/projects/treetest/treetest.properties +%%DATADIR%%/generator/templates/README +%%DATADIR%%/generator/templates/conf/Control.tpl +%%DATADIR%%/generator/templates/conf/xml.tpl +%%DATADIR%%/generator/templates/data/dtd/dataset.tpl +%%DATADIR%%/generator/templates/data/dtd/table.tpl +%%DATADIR%%/generator/templates/data/dump/bottom.tpl +%%DATADIR%%/generator/templates/data/dump/row.tpl +%%DATADIR%%/generator/templates/data/dump/top.tpl +%%DATADIR%%/generator/templates/om/php4/ExtensionNode.tpl +%%DATADIR%%/generator/templates/om/php4/ExtensionNodePeer.tpl +%%DATADIR%%/generator/templates/om/php4/ExtensionObject.tpl +%%DATADIR%%/generator/templates/om/php4/ExtensionPeer.tpl +%%DATADIR%%/generator/templates/om/php4/Interface.tpl +%%DATADIR%%/generator/templates/om/php4/MapBuilder.tpl +%%DATADIR%%/generator/templates/om/php4/MultiExtendObject.tpl +%%DATADIR%%/generator/templates/om/php4/Node.tpl +%%DATADIR%%/generator/templates/om/php4/NodePeer.tpl +%%DATADIR%%/generator/templates/om/php4/Object.tpl +%%DATADIR%%/generator/templates/om/php4/Peer.tpl +%%DATADIR%%/generator/templates/om/php5/ExtensionNode.tpl +%%DATADIR%%/generator/templates/om/php5/ExtensionNodePeer.tpl +%%DATADIR%%/generator/templates/om/php5/ExtensionObject.tpl +%%DATADIR%%/generator/templates/om/php5/ExtensionPeer.tpl +%%DATADIR%%/generator/templates/om/php5/Interface.tpl +%%DATADIR%%/generator/templates/om/php5/MapBuilder.tpl +%%DATADIR%%/generator/templates/om/php5/MultiExtendObject.tpl +%%DATADIR%%/generator/templates/om/php5/Node.tpl +%%DATADIR%%/generator/templates/om/php5/NodePeer.tpl +%%DATADIR%%/generator/templates/om/php5/Object.tpl +%%DATADIR%%/generator/templates/om/php5/Peer.tpl +%%DATADIR%%/generator/templates/sql/base/mssql/columns.tpl +%%DATADIR%%/generator/templates/sql/base/mssql/drop.tpl +%%DATADIR%%/generator/templates/sql/base/mssql/foreignkey.tpl +%%DATADIR%%/generator/templates/sql/base/mssql/index.tpl +%%DATADIR%%/generator/templates/sql/base/mssql/primarykey.tpl +%%DATADIR%%/generator/templates/sql/base/mssql/table.tpl +%%DATADIR%%/generator/templates/sql/base/mssql/tablefk.tpl +%%DATADIR%%/generator/templates/sql/base/mssql/unique.tpl +%%DATADIR%%/generator/templates/sql/base/mysql/columns.tpl +%%DATADIR%%/generator/templates/sql/base/mysql/database-end.tpl +%%DATADIR%%/generator/templates/sql/base/mysql/database-start.tpl +%%DATADIR%%/generator/templates/sql/base/mysql/drop.tpl +%%DATADIR%%/generator/templates/sql/base/mysql/foreignkey.tpl +%%DATADIR%%/generator/templates/sql/base/mysql/index.tpl +%%DATADIR%%/generator/templates/sql/base/mysql/primarykey.tpl +%%DATADIR%%/generator/templates/sql/base/mysql/table.tpl +%%DATADIR%%/generator/templates/sql/base/mysql/tablefk.tpl +%%DATADIR%%/generator/templates/sql/base/mysql/unique.tpl +%%DATADIR%%/generator/templates/sql/base/oracle/columns.tpl +%%DATADIR%%/generator/templates/sql/base/oracle/drop.tpl +%%DATADIR%%/generator/templates/sql/base/oracle/foreignkey.tpl +%%DATADIR%%/generator/templates/sql/base/oracle/index.tpl +%%DATADIR%%/generator/templates/sql/base/oracle/primarykey.tpl +%%DATADIR%%/generator/templates/sql/base/oracle/sequence.tpl +%%DATADIR%%/generator/templates/sql/base/oracle/table.tpl +%%DATADIR%%/generator/templates/sql/base/oracle/tablefk.tpl +%%DATADIR%%/generator/templates/sql/base/oracle/unique.tpl +%%DATADIR%%/generator/templates/sql/base/pgsql/columns.tpl +%%DATADIR%%/generator/templates/sql/base/pgsql/drop.tpl +%%DATADIR%%/generator/templates/sql/base/pgsql/foreignkey.tpl +%%DATADIR%%/generator/templates/sql/base/pgsql/index.tpl +%%DATADIR%%/generator/templates/sql/base/pgsql/primarykey.tpl +%%DATADIR%%/generator/templates/sql/base/pgsql/sequence.tpl +%%DATADIR%%/generator/templates/sql/base/pgsql/table.tpl +%%DATADIR%%/generator/templates/sql/base/pgsql/tablefk.tpl +%%DATADIR%%/generator/templates/sql/base/pgsql/unique.tpl +%%DATADIR%%/generator/templates/sql/base/sqlite/columns.tpl +%%DATADIR%%/generator/templates/sql/base/sqlite/drop.tpl +%%DATADIR%%/generator/templates/sql/base/sqlite/foreignkey.tpl +%%DATADIR%%/generator/templates/sql/base/sqlite/index.tpl +%%DATADIR%%/generator/templates/sql/base/sqlite/table.tpl +%%DATADIR%%/generator/templates/sql/base/sqlite/tablefk.tpl +%%DATADIR%%/generator/templates/sql/base/sqlite/unique.tpl +%%DATADIR%%/generator/templates/sql/db-init/Control.tpl +%%DATADIR%%/generator/templates/sql/db-init/mssql/unix.tpl +%%DATADIR%%/generator/templates/sql/db-init/mssql/windows.tpl +%%DATADIR%%/generator/templates/sql/db-init/mysql/createdb.tpl +%%DATADIR%%/generator/templates/sql/db-init/oracle/createdb.tpl +%%DATADIR%%/generator/templates/sql/db-init/pgsql/createdb.tpl +%%DATADIR%%/generator/templates/sql/load/mssql/row.tpl +%%DATADIR%%/generator/templates/sql/load/mssql/val.tpl +%%DATADIR%%/generator/templates/sql/load/mysql/row.tpl +%%DATADIR%%/generator/templates/sql/load/mysql/val.tpl +%%DATADIR%%/generator/templates/sql/load/oracle/row.tpl +%%DATADIR%%/generator/templates/sql/load/oracle/val.tpl +%%DATADIR%%/generator/templates/sql/load/pgsql/row.tpl +%%DATADIR%%/generator/templates/sql/load/pgsql/val.tpl +%%DATADIR%%/generator/templates/sql/load/sqlite/row.tpl +%%DATADIR%%/generator/templates/sql/load/sqlite/val.tpl +%%DATADIR%%/generator/test/README +%%DATADIR%%/generator/test/bookstore-test.php +%%DATADIR%%/generator/test/classes/bookstore/BookstoreDataPopulator.php +%%DATADIR%%/generator/test/classes/bookstore/BookstoreTestBase.php +%%DATADIR%%/generator/test/classes/propel/BaseTestCase.php +%%DATADIR%%/generator/test/classes/propel/GeneratedObjectTest.php +%%DATADIR%%/generator/test/classes/propel/GeneratedPeerTest.php +%%DATADIR%%/generator/test/classes/propel/engine/database/model/NameFactoryTest.php +%%DATADIR%%/generator/test/classes/propel/engine/database/model/TableTest.php +%%DATADIR%%/generator/test/classes/propel/util/CriteriaTest.php +%%DATADIR%%/generator/test/classes/propel/validator/ValidatorTest.php +%%DATADIR%%/generator/test/etc/lob/propel.gif +%%DATADIR%%/generator/test/etc/lob/tin_drum.gif +%%DATADIR%%/generator/test/etc/lob/tin_drum.txt +%%DATADIR%%/generator/test/etc/schema/tabletest-schema.xml +%%DATADIR%%/generator/test/php4/classes/TestListener.php +%%DATADIR%%/generator/test/php4/classes/TestSuite.php +%%DATADIR%%/generator/test/php4/classes/bookstore/BookstoreDataPopulator.php +%%DATADIR%%/generator/test/php4/classes/bookstore/BookstoreTestBase.php +%%DATADIR%%/generator/test/php4/classes/propel/BaseTestCase.php +%%DATADIR%%/generator/test/php4/classes/propel/GeneratedObjectTest.php +%%DATADIR%%/generator/test/php4/classes/propel/GeneratedPeerTest.php +%%DATADIR%%/generator/test/php4/classes/propel/util/CriteriaTest.php +%%DATADIR%%/generator/test/php4/classes/propel/validator/ValidatorTest.php +%%DATADIR%%/generator/test/php4/run-tests.php +%%DATADIR%%/generator/test/php4/tree-test.php +%%DATADIR%%/generator/test/run-om-tests.php +%%DATADIR%%/generator/test/run-tests.php +%%DATADIR%%/generator/test/tree-test.php +@dirrm %%DATADIR%%/generator/test/php4/classes/propel/validator +@dirrm %%DATADIR%%/generator/test/php4/classes/propel/util +@dirrm %%DATADIR%%/generator/test/php4/classes/propel +@dirrm %%DATADIR%%/generator/test/php4/classes/bookstore +@dirrm %%DATADIR%%/generator/test/php4/classes +@dirrm %%DATADIR%%/generator/test/php4 +@dirrm %%DATADIR%%/generator/test/etc/schema +@dirrm %%DATADIR%%/generator/test/etc/lob +@dirrm %%DATADIR%%/generator/test/etc +@dirrm %%DATADIR%%/generator/test/classes/propel/validator +@dirrm %%DATADIR%%/generator/test/classes/propel/util +@dirrm %%DATADIR%%/generator/test/classes/propel/engine/database/model +@dirrm %%DATADIR%%/generator/test/classes/propel/engine/database +@dirrm %%DATADIR%%/generator/test/classes/propel/engine +@dirrm %%DATADIR%%/generator/test/classes/propel +@dirrm %%DATADIR%%/generator/test/classes/bookstore +@dirrm %%DATADIR%%/generator/test/classes +@dirrm %%DATADIR%%/generator/test +@dirrm %%DATADIR%%/generator/templates/sql/load/sqlite +@dirrm %%DATADIR%%/generator/templates/sql/load/pgsql +@dirrm %%DATADIR%%/generator/templates/sql/load/oracle +@dirrm %%DATADIR%%/generator/templates/sql/load/mysql +@dirrm %%DATADIR%%/generator/templates/sql/load/mssql +@dirrm %%DATADIR%%/generator/templates/sql/load +@dirrm %%DATADIR%%/generator/templates/sql/db-init/pgsql +@dirrm %%DATADIR%%/generator/templates/sql/db-init/oracle +@dirrm %%DATADIR%%/generator/templates/sql/db-init/mysql +@dirrm %%DATADIR%%/generator/templates/sql/db-init/mssql +@dirrm %%DATADIR%%/generator/templates/sql/db-init +@dirrm %%DATADIR%%/generator/templates/sql/base/sqlite +@dirrm %%DATADIR%%/generator/templates/sql/base/pgsql +@dirrm %%DATADIR%%/generator/templates/sql/base/oracle +@dirrm %%DATADIR%%/generator/templates/sql/base/mysql +@dirrm %%DATADIR%%/generator/templates/sql/base/mssql +@dirrm %%DATADIR%%/generator/templates/sql/base +@dirrm %%DATADIR%%/generator/templates/sql +@dirrm %%DATADIR%%/generator/templates/om/php5 +@dirrm %%DATADIR%%/generator/templates/om/php4 +@dirrm %%DATADIR%%/generator/templates/om +@dirrm %%DATADIR%%/generator/templates/data/dump +@dirrm %%DATADIR%%/generator/templates/data/dtd +@dirrm %%DATADIR%%/generator/templates/data +@dirrm %%DATADIR%%/generator/templates/conf +@dirrm %%DATADIR%%/generator/templates +@dirrm %%DATADIR%%/generator/projects/treetest +@dirrm %%DATADIR%%/generator/projects/bookstore +@dirrm %%DATADIR%%/generator/projects +@dirrm %%DATADIR%%/generator/pear +@dirrm %%DATADIR%%/generator/dtd +@dirrm %%DATADIR%%/generator/classes/propel/phing +@dirrm %%DATADIR%%/generator/classes/propel/engine/platform +@dirrm %%DATADIR%%/generator/classes/propel/engine/database/transform +@dirrm %%DATADIR%%/generator/classes/propel/engine/database/model +@dirrm %%DATADIR%%/generator/classes/propel/engine/database +@dirrm %%DATADIR%%/generator/classes/propel/engine/builder/om +@dirrm %%DATADIR%%/generator/classes/propel/engine/builder +@dirrm %%DATADIR%%/generator/classes/propel/engine +@dirrm %%DATADIR%%/generator/classes/propel +@dirrm %%DATADIR%%/generator/classes +@dirrm %%DATADIR%%/generator +@dirrm %%DATADIR%% +@dirrm lib/php/propel/validator +@dirrm lib/php/propel/util +@dirrm lib/php/propel/om +@dirrm lib/php/propel/map +@dirrm lib/php/propel/logger +@dirrm lib/php/propel/adapter +@dirrm lib/php/propel