aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2011-01-03 20:10:53 +0000
committerSteve Price <steve@FreeBSD.org>2011-01-03 20:10:53 +0000
commit8f1a424a89affed6a6ff63252af78fa2a4ddb5dc (patch)
treeb37e834fb223aca1d6059f34dbe49caaf6f80db4
parent68dd236cc95f01daeeb2d2a58df653be16cec122 (diff)
downloadports-8f1a424a89affed6a6ff63252af78fa2a4ddb5dc.tar.gz
ports-8f1a424a89affed6a6ff63252af78fa2a4ddb5dc.zip
Notes
-rw-r--r--databases/Makefile1
-rw-r--r--databases/dalmp/Makefile30
-rw-r--r--databases/dalmp/distinfo2
-rw-r--r--databases/dalmp/pkg-descr17
-rw-r--r--databases/dalmp/pkg-plist12
5 files changed, 62 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index dd43a4f42d16..99f88261dc1b 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -29,6 +29,7 @@
SUBDIR += courier-authlib-userdb
SUBDIR += courier-authlib-usergdbm
SUBDIR += cyrus-imspd
+ SUBDIR += dalmp
SUBDIR += db
SUBDIR += db2
SUBDIR += db3
diff --git a/databases/dalmp/Makefile b/databases/dalmp/Makefile
new file mode 100644
index 000000000000..145e6c786f1b
--- /dev/null
+++ b/databases/dalmp/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: dalmp
+# Date created: 06 Nov 2010
+# Whom: Nicolas de Bari Embriz <nbari@dalmp.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= dalmp
+PORTVERSION= 0.9.230
+CATEGORIES= databases
+MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+DISTNAME= dalmp
+
+MAINTAINER= nbari@dalmp.com
+COMMENT= Database Abstraction Layer for MySQL using PHP
+
+USE_BZIP2= YES
+LICENSE= BSD
+
+DEFAULT_PHP_VER=5
+IGNORE_WITH_PHP=4
+
+NO_BUILD= YES
+USE_PHP= pcre mysql mysqli session memcache sqlite curl
+
+do-install:
+ @${MKDIR} ${DATADIR}
+ @${CP} -R ${WRKSRC}/ ${DATADIR}
+
+.include <bsd.port.mk>
diff --git a/databases/dalmp/distinfo b/databases/dalmp/distinfo
new file mode 100644
index 000000000000..74512933296d
--- /dev/null
+++ b/databases/dalmp/distinfo
@@ -0,0 +1,2 @@
+SHA256 (dalmp.tar.bz2) = f432360181830f3d3b166e975dfb2904033676af2d7f3ac7b27a71d9027e2050
+SIZE (dalmp.tar.bz2) = 15666
diff --git a/databases/dalmp/pkg-descr b/databases/dalmp/pkg-descr
new file mode 100644
index 000000000000..73f0de2e4da5
--- /dev/null
+++ b/databases/dalmp/pkg-descr
@@ -0,0 +1,17 @@
+DALMP - Database Abstraction Layer for MySQL using PHP
+
+%0 fat, extremely easy to use, define some constants and you are ready to go.
+
+Details:
+ redis support.
+ memcache support.
+ apc support.
+ Disck cache support.
+ Prepared statements ready.
+ Ability to use different cache types at the same time.
+ Simple store of session on database or a cache like redis/memcache/apc.
+ Easy to use/install/adapt DALMP is just a single file.
+ Nested Transactions (SAVEPOINT / ROLLBACK TO SAVEPOINT).
+ sql queue.
+
+WWW: http://code.google.com/p/dalmp
diff --git a/databases/dalmp/pkg-plist b/databases/dalmp/pkg-plist
new file mode 100644
index 000000000000..048a5a4a1e9c
--- /dev/null
+++ b/databases/dalmp/pkg-plist
@@ -0,0 +1,12 @@
+%%DATADIR%%/LICENSE.txt
+%%DATADIR%%/dalmp.php
+%%DATADIR%%/examples/2databases.php
+%%DATADIR%%/examples/REF.php
+%%DATADIR%%/examples/cache.php
+%%DATADIR%%/examples/query_Execute.php
+%%DATADIR%%/examples/queue.php
+%%DATADIR%%/examples/sessions.php
+%%DATADIR%%/examples/transactions.php
+%%DATADIR%%/mplt.php
+@dirrm %%DATADIR%%/examples
+@dirrm %%DATADIR%%