- pear-sqlite was renamed to pecl-sqlite

- Update to 1.0.3
- Reset maintainership

PR:		ports/78003
Submitted by:	Marcus Grando <marcus@corp.grupos.com.br>
OK'ed by:	mat (maintainer)
This commit is contained in:
Pav Lucistnik 2005-04-13 08:15:15 +00:00
parent adaa32695b
commit bedd03627e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=133214
5 changed files with 34 additions and 71 deletions

View file

@ -6,59 +6,50 @@
# #
PORTNAME= sqlite PORTNAME= sqlite
PORTVERSION= 1.0.2 PORTVERSION= 1.0.3
CATEGORIES= databases www pear CATEGORIES= databases www
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
DISTNAME= SQLite-${PORTVERSION}
EXTRACT_SUFX= .tgz
DIST_SUBDIR= PECL
MAINTAINER= mat@FreeBSD.org MAINTAINER= ports@FreeBSD.org
COMMENT= PEAR classes to access sqlite databases COMMENT= PECL classes to access sqlite databases
BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
RUN_DEPENDS= ${BUILD_DEPENDS}
WRKSRC= ${WRKDIR}/SQLite-${PORTVERSION} WRKSRC= ${WRKDIR}/SQLite-${PORTVERSION}
PKGMESSAGE= ${WRKDIR}/pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message
USE_PHP= yes USE_PHP= yes
USE_PHPIZE= yes USE_PHPIZE= yes
USE_PHPEXT= yes
PHP_MODNAME= sqlite
CONFIGURE_ARGS= --with-sqlite
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
.if exists(${LOCALBASE}/bin/php-config) .if ${PHP_VER} == 5
EXT_DIR!= ${LOCALBASE}/bin/php-config --extension-dir | ${SED} -e \ IGNORE= Please use databases/php${PHP_VER}-sqlite
"s:${PHP_BASE}/::"
.endif .endif
PHP_DIR?= ${LOCALBASE}/etc
PHP_INI= ${PHP_DIR}/php.ini
PLIST_SUB+= EXTDIR=${EXT_DIR}
DOCSDIR= ${PEARDIR}/docs/${PORTNAME} .if !defined(NOPORTDOCS)
DOCS= CREDITS README PORTDOCS= *
TESTDIR= ${PEARDIR}/tests/${PORTNAME} .endif
post-install-script: post-install:
@${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) .if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR} @${MKDIR} ${DOCSDIR}
.for FILE in ${DOCS} @${MKDIR} ${DOCSDIR}/tests
@${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/CREDITS ${DOCSDIR}
.endfor @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." @${INSTALL_DATA} ${WRKSRC}/tests/* ${DOCSDIR}/tests
@${MKDIR} ${TESTDIR}
@${CP} -Rp ${WRKSRC}/tests/* ${TESTDIR} @${MKDIR} ${EXAMPLESDIR}
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${TESTDIR} @${INSTALL_DATA} ${WRKSRC}/sqlite.php ${EXAMPLESDIR}
@${ECHO_MSG} "===> Examples installed in ${TESTDIR}."
.endif .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> .include <bsd.port.post.mk>

View file

@ -1,2 +1,2 @@
MD5 (PEAR/sqlite-1.0.2.tgz) = a6ddfe1136e35ad7feddc9ce9bfac991 MD5 (PECL/SQLite-1.0.3.tgz) = 3741cb211f9eb3f77de086e96d232e95
SIZE (PEAR/sqlite-1.0.2.tgz) = 362412 SIZE (PECL/SQLite-1.0.3.tgz) = 371189

View file

@ -2,4 +2,4 @@ SQLite is a C library that implements an embeddable SQL database engine.
Programs that link with the SQLite library can have SQL database access Programs that link with the SQLite library can have SQL database access
without running a separate RDBMS process. without running a separate RDBMS process.
WWW: http://pear.php.net/package/sqlite WWW: http://pecl.php.net/package/sqlite

View file

@ -1,5 +0,0 @@
************************************************************************
Do not forget to configure your %%INI%% file:
set
extension_dir = "%%BASE%%"
************************************************************************

View file

@ -1,25 +1,2 @@
%%EXTDIR%%/sqlite.so %%PORTDOCS%%%%EXAMPLESDIR%%/sqlite.php
%%PKGREGDIR%%/package.xml %%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
%%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%%