summaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2004-05-06 13:19:24 +0000
committermat <mat@FreeBSD.org>2004-05-06 13:19:24 +0000
commit52b0a0c42b73b4bda04334dd9236b014b1583473 (patch)
treeddd21c642b39e6ab60294cd164d0a27d5eb6641a /databases
parente3aa9d6f98c8e9fddb2ba16397aea8c64bddb27a (diff)
downloadFreeBSD-ports-52b0a0c42b73b4bda04334dd9236b014b1583473.zip
FreeBSD-ports-52b0a0c42b73b4bda04334dd9236b014b1583473.tar.gz
Add pear-sqlite 1.0.2, PEAR classes to access sqlite databases.
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/pear-sqlite/Makefile64
-rw-r--r--databases/pear-sqlite/distinfo2
-rw-r--r--databases/pear-sqlite/pkg-descr5
-rw-r--r--databases/pear-sqlite/pkg-message5
-rw-r--r--databases/pear-sqlite/pkg-plist25
-rw-r--r--databases/pecl-sqlite/Makefile64
-rw-r--r--databases/pecl-sqlite/distinfo2
-rw-r--r--databases/pecl-sqlite/pkg-descr5
-rw-r--r--databases/pecl-sqlite/pkg-message5
-rw-r--r--databases/pecl-sqlite/pkg-plist25
11 files changed, 203 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 1e495a5..3340a31 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -197,6 +197,7 @@
SUBDIR += p5-sqlrelay
SUBDIR += pear-DB
SUBDIR += pear-DB_Pager
+ SUBDIR += pear-sqlite
SUBDIR += pgaccess
SUBDIR += pgadmin3
SUBDIR += pgbash
diff --git a/databases/pear-sqlite/Makefile b/databases/pear-sqlite/Makefile
new file mode 100644
index 0000000..fd6afee
--- /dev/null
+++ b/databases/pear-sqlite/Makefile
@@ -0,0 +1,64 @@
+# Ports collection makefile for: pear-sqlite
+# Date created: 2004-04-30
+# Whom: mat
+#
+# $FreeBSD$
+#
+
+PORTNAME= sqlite
+PORTVERSION= 1.0.2
+CATEGORIES= databases www pear
+
+MAINTAINER= mat@FreeBSD.org
+COMMENT= PEAR classes to access sqlite databases
+
+BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+WRKSRC= ${WRKDIR}/SQLite-${PORTVERSION}
+PKGMESSAGE= ${WRKDIR}/pkg-message
+
+USE_PHP= yes
+USE_PHPIZE= yes
+
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
+
+.if exists(${LOCALBASE}/bin/php-config)
+EXT_DIR!= ${LOCALBASE}/bin/php-config --extension-dir | ${SED} -e \
+ "s:${PHP_BASE}/::"
+.endif
+PHP_DIR?= ${LOCALBASE}/etc
+PHP_INI= ${PHP_DIR}/php.ini
+PLIST_SUB+= EXTDIR=${EXT_DIR}
+
+DOCSDIR= ${PEARDIR}/docs/${PORTNAME}
+DOCS= CREDITS README
+TESTDIR= ${PEARDIR}/tests/${PORTNAME}
+
+post-install-script:
+ @${STRIP_CMD} ${PHP_BASE}/${EXT_DIR}/sqlite.so
+# Configure extension_dir
+ @if [ ! -f ${PHP_INI} ]; then \
+ ${ECHO_MSG} "===> Creating ${PHP_INI} for PHP" ; \
+ ${CP} -p ${PHP_INI}-dist ${PHP_INI} ; \
+ fi
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for FILE in ${DOCS}
+ @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
+.endfor
+ @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
+ @${MKDIR} ${TESTDIR}
+ @${CP} -Rp ${WRKSRC}/tests/* ${TESTDIR}
+ @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${TESTDIR}
+ @${ECHO_MSG} "===> Examples installed in ${TESTDIR}."
+.endif
+ @${ECHO_MSG}
+ @${SED} -e "s:%%INI%%:${PHP_INI}:" \
+ -e "s:%%BASE%%:${PHP_BASE}/${EXT_DIR}:" \
+ ${.CURDIR}/pkg-message > ${PKGMESSAGE}
+ @${CAT} ${PKGMESSAGE}
+ @${ECHO_MSG}
+
+.include <bsd.port.post.mk>
diff --git a/databases/pear-sqlite/distinfo b/databases/pear-sqlite/distinfo
new file mode 100644
index 0000000..f719865
--- /dev/null
+++ b/databases/pear-sqlite/distinfo
@@ -0,0 +1,2 @@
+MD5 (PEAR/sqlite-1.0.2.tgz) = a6ddfe1136e35ad7feddc9ce9bfac991
+SIZE (PEAR/sqlite-1.0.2.tgz) = 362412
diff --git a/databases/pear-sqlite/pkg-descr b/databases/pear-sqlite/pkg-descr
new file mode 100644
index 0000000..b3f120f
--- /dev/null
+++ b/databases/pear-sqlite/pkg-descr
@@ -0,0 +1,5 @@
+SQLite is a C library that implements an embeddable SQL database engine.
+Programs that link with the SQLite library can have SQL database access
+without running a separate RDBMS process.
+
+WWW: http://pear.php.net/package/sqlite
diff --git a/databases/pear-sqlite/pkg-message b/databases/pear-sqlite/pkg-message
new file mode 100644
index 0000000..5c56621
--- /dev/null
+++ b/databases/pear-sqlite/pkg-message
@@ -0,0 +1,5 @@
+************************************************************************
+Do not forget to configure your %%INI%% file:
+set
+extension_dir = "%%BASE%%"
+************************************************************************
diff --git a/databases/pear-sqlite/pkg-plist b/databases/pear-sqlite/pkg-plist
new file mode 100644
index 0000000..e6b6add
--- /dev/null
+++ b/databases/pear-sqlite/pkg-plist
@@ -0,0 +1,25 @@
+%%EXTDIR%%/sqlite.so
+%%PKGREGDIR%%/package.xml
+%%PORTDOCS%%%%PEARDIR%%/docs/sqlite/CREDITS
+%%PORTDOCS%%%%PEARDIR%%/docs/sqlite/README
+%%PORTDOCS%%%%PEARDIR%%/tests/sqlite/blankdb.inc
+%%PORTDOCS%%%%PEARDIR%%/tests/sqlite/sqlite_001.phpt
+%%PORTDOCS%%%%PEARDIR%%/tests/sqlite/sqlite_002.phpt
+%%PORTDOCS%%%%PEARDIR%%/tests/sqlite/sqlite_003.phpt
+%%PORTDOCS%%%%PEARDIR%%/tests/sqlite/sqlite_004.phpt
+%%PORTDOCS%%%%PEARDIR%%/tests/sqlite/sqlite_005.phpt
+%%PORTDOCS%%%%PEARDIR%%/tests/sqlite/sqlite_006.phpt
+%%PORTDOCS%%%%PEARDIR%%/tests/sqlite/sqlite_007.phpt
+%%PORTDOCS%%%%PEARDIR%%/tests/sqlite/sqlite_008.phpt
+%%PORTDOCS%%%%PEARDIR%%/tests/sqlite/sqlite_009.phpt
+%%PORTDOCS%%%%PEARDIR%%/tests/sqlite/sqlite_010.phpt
+%%PORTDOCS%%%%PEARDIR%%/tests/sqlite/sqlite_011.phpt
+%%PORTDOCS%%%%PEARDIR%%/tests/sqlite/sqlite_012.phpt
+%%PORTDOCS%%%%PEARDIR%%/tests/sqlite/sqlite_013.phpt
+%%PORTDOCS%%%%PEARDIR%%/tests/sqlite/sqlite_014.phpt
+%%PORTDOCS%%%%PEARDIR%%/tests/sqlite/sqlite_015.phpt
+%%PORTDOCS%%%%PEARDIR%%/tests/sqlite/sqlite_016.phpt
+%%PORTDOCS%%%%PEARDIR%%/tests/sqlite/sqlite_017.phpt
+%%PORTDOCS%%@dirrm %%PEARDIR%%/docs/sqlite
+%%PORTDOCS%%@dirrm %%PEARDIR%%/tests/sqlite/
+@dirrm %%PKGREGDIR%%
diff --git a/databases/pecl-sqlite/Makefile b/databases/pecl-sqlite/Makefile
new file mode 100644
index 0000000..fd6afee
--- /dev/null
+++ b/databases/pecl-sqlite/Makefile
@@ -0,0 +1,64 @@
+# Ports collection makefile for: pear-sqlite
+# Date created: 2004-04-30
+# Whom: mat
+#
+# $FreeBSD$
+#
+
+PORTNAME= sqlite
+PORTVERSION= 1.0.2
+CATEGORIES= databases www pear
+
+MAINTAINER= mat@FreeBSD.org
+COMMENT= PEAR classes to access sqlite databases
+
+BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+WRKSRC= ${WRKDIR}/SQLite-${PORTVERSION}
+PKGMESSAGE= ${WRKDIR}/pkg-message
+
+USE_PHP= yes
+USE_PHPIZE= yes
+
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
+
+.if exists(${LOCALBASE}/bin/php-config)
+EXT_DIR!= ${LOCALBASE}/bin/php-config --extension-dir | ${SED} -e \
+ "s:${PHP_BASE}/::"
+.endif
+PHP_DIR?= ${LOCALBASE}/etc
+PHP_INI= ${PHP_DIR}/php.ini
+PLIST_SUB+= EXTDIR=${EXT_DIR}
+
+DOCSDIR= ${PEARDIR}/docs/${PORTNAME}
+DOCS= CREDITS README
+TESTDIR= ${PEARDIR}/tests/${PORTNAME}
+
+post-install-script:
+ @${STRIP_CMD} ${PHP_BASE}/${EXT_DIR}/sqlite.so
+# Configure extension_dir
+ @if [ ! -f ${PHP_INI} ]; then \
+ ${ECHO_MSG} "===> Creating ${PHP_INI} for PHP" ; \
+ ${CP} -p ${PHP_INI}-dist ${PHP_INI} ; \
+ fi
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for FILE in ${DOCS}
+ @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
+.endfor
+ @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
+ @${MKDIR} ${TESTDIR}
+ @${CP} -Rp ${WRKSRC}/tests/* ${TESTDIR}
+ @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${TESTDIR}
+ @${ECHO_MSG} "===> Examples installed in ${TESTDIR}."
+.endif
+ @${ECHO_MSG}
+ @${SED} -e "s:%%INI%%:${PHP_INI}:" \
+ -e "s:%%BASE%%:${PHP_BASE}/${EXT_DIR}:" \
+ ${.CURDIR}/pkg-message > ${PKGMESSAGE}
+ @${CAT} ${PKGMESSAGE}
+ @${ECHO_MSG}
+
+.include <bsd.port.post.mk>
diff --git a/databases/pecl-sqlite/distinfo b/databases/pecl-sqlite/distinfo
new file mode 100644
index 0000000..f719865
--- /dev/null
+++ b/databases/pecl-sqlite/distinfo
@@ -0,0 +1,2 @@
+MD5 (PEAR/sqlite-1.0.2.tgz) = a6ddfe1136e35ad7feddc9ce9bfac991
+SIZE (PEAR/sqlite-1.0.2.tgz) = 362412
diff --git a/databases/pecl-sqlite/pkg-descr b/databases/pecl-sqlite/pkg-descr
new file mode 100644
index 0000000..b3f120f
--- /dev/null
+++ b/databases/pecl-sqlite/pkg-descr
@@ -0,0 +1,5 @@
+SQLite is a C library that implements an embeddable SQL database engine.
+Programs that link with the SQLite library can have SQL database access
+without running a separate RDBMS process.
+
+WWW: http://pear.php.net/package/sqlite
diff --git a/databases/pecl-sqlite/pkg-message b/databases/pecl-sqlite/pkg-message
new file mode 100644
index 0000000..5c56621
--- /dev/null
+++ b/databases/pecl-sqlite/pkg-message
@@ -0,0 +1,5 @@
+************************************************************************
+Do not forget to configure your %%INI%% file:
+set
+extension_dir = "%%BASE%%"
+************************************************************************
diff --git a/databases/pecl-sqlite/pkg-plist b/databases/pecl-sqlite/pkg-plist
new file mode 100644
index 0000000..e6b6add
--- /dev/null
+++ b/databases/pecl-sqlite/pkg-plist
@@ -0,0 +1,25 @@
+%%EXTDIR%%/sqlite.so
+%%PKGREGDIR%%/package.xml
+%%PORTDOCS%%%%PEARDIR%%/docs/sqlite/CREDITS
+%%PORTDOCS%%%%PEARDIR%%/docs/sqlite/README
+%%PORTDOCS%%%%PEARDIR%%/tests/sqlite/blankdb.inc
+%%PORTDOCS%%%%PEARDIR%%/tests/sqlite/sqlite_001.phpt
+%%PORTDOCS%%%%PEARDIR%%/tests/sqlite/sqlite_002.phpt
+%%PORTDOCS%%%%PEARDIR%%/tests/sqlite/sqlite_003.phpt
+%%PORTDOCS%%%%PEARDIR%%/tests/sqlite/sqlite_004.phpt
+%%PORTDOCS%%%%PEARDIR%%/tests/sqlite/sqlite_005.phpt
+%%PORTDOCS%%%%PEARDIR%%/tests/sqlite/sqlite_006.phpt
+%%PORTDOCS%%%%PEARDIR%%/tests/sqlite/sqlite_007.phpt
+%%PORTDOCS%%%%PEARDIR%%/tests/sqlite/sqlite_008.phpt
+%%PORTDOCS%%%%PEARDIR%%/tests/sqlite/sqlite_009.phpt
+%%PORTDOCS%%%%PEARDIR%%/tests/sqlite/sqlite_010.phpt
+%%PORTDOCS%%%%PEARDIR%%/tests/sqlite/sqlite_011.phpt
+%%PORTDOCS%%%%PEARDIR%%/tests/sqlite/sqlite_012.phpt
+%%PORTDOCS%%%%PEARDIR%%/tests/sqlite/sqlite_013.phpt
+%%PORTDOCS%%%%PEARDIR%%/tests/sqlite/sqlite_014.phpt
+%%PORTDOCS%%%%PEARDIR%%/tests/sqlite/sqlite_015.phpt
+%%PORTDOCS%%%%PEARDIR%%/tests/sqlite/sqlite_016.phpt
+%%PORTDOCS%%%%PEARDIR%%/tests/sqlite/sqlite_017.phpt
+%%PORTDOCS%%@dirrm %%PEARDIR%%/docs/sqlite
+%%PORTDOCS%%@dirrm %%PEARDIR%%/tests/sqlite/
+@dirrm %%PKGREGDIR%%
OpenPOWER on IntegriCloud