1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/databases/adodb/Makefile

186 lines
4.8 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: adodb
# Date created: 4 May 2001
# Whom: abgoeree@uwnet.nl
#
# $FreeBSD$
#
PORTNAME= adodb
PORTVERSION= 3.60
PORTREVISION= 1
CATEGORIES= databases www
MASTER_SITES= http://phplens.com/lens/dl/
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//}
EXTRACT_SUFX= .tgz
MAINTAINER= abgoeree@wish.net
2003-02-21 11:15:57 +00:00
COMMENT= A database library for PHP4
2003-02-26 08:38:24 +00:00
.if defined(WITH_APACHE2)
RUN_DEPENDS= ${LOCALBASE}/libexec/apache2/libphp4.so:${PORTSDIR}/www/mod_php4
.else
RUN_DEPENDS= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
2003-02-26 08:38:24 +00:00
.endif
WRKSRC= ${WRKDIR}/${PORTNAME}
NO_BUILD= YES
ADODB_DIR= www/data.default/php/adodb
ADODB_DATADICT= ${ADODB_DIR}/datadict
ADODB_DRIVERS= ${ADODB_DIR}/drivers
ADODB_LANG= ${ADODB_DIR}/lang
ADODB_TESTS= ${ADODB_DIR}/tests
PLIST_SUB= ADODB_DIR=${ADODB_DIR} \
ADODB_DATADICT=${ADODB_DATADICT} \
ADODB_DRIVERS=${ADODB_DRIVERS} \
ADODB_LANG=${ADODB_LANG} \
ADODB_TESTS=${ADODB_TESTS} \
DOCSDIR=share/doc/adodb
DATADICT= datadict/datadict-access.inc.php \
datadict/datadict-db2.inc.php \
datadict/datadict-generic.inc.php \
datadict/datadict-ibase.inc.php \
datadict/datadict-informix.inc.php \
datadict/datadict-mssql.inc.php \
datadict/datadict-mysql.inc.php \
datadict/datadict-oci8.inc.php \
datadict/datadict-postgres.inc.php
DOCS= adodb-xmlschema.zip \
docs-adodb.htm \
docs-datadict.htm \
docs-session.htm \
readme.htm \
readme.txt \
tips_portable_sql.htm \
tute.htm
DRIVERS= drivers/adodb-access.inc.php \
drivers/adodb-ado.inc.php \
drivers/adodb-ado_access.inc.php \
drivers/adodb-ado_mssql.inc.php \
drivers/adodb-borland_ibase.inc.php \
drivers/adodb-csv.inc.php \
drivers/adodb-db2.inc.php \
drivers/adodb-fbsql.inc.php \
drivers/adodb-firebird.inc.php \
drivers/adodb-ibase.inc.php \
drivers/adodb-informix.inc.php \
drivers/adodb-informix72.inc.php \
drivers/adodb-mssql.inc.php \
drivers/adodb-mssqlpo.inc.php \
drivers/adodb-mysql.inc.php \
drivers/adodb-mysqlt.inc.php \
drivers/adodb-oci8.inc.php \
drivers/adodb-oci805.inc.php \
drivers/adodb-oci8po.inc.php \
drivers/adodb-odbc.inc.php \
drivers/adodb-odbc_mssql.inc.php \
drivers/adodb-odbc_oracle.inc.php \
drivers/adodb-oracle.inc.php \
drivers/adodb-postgres.inc.php \
drivers/adodb-postgres64.inc.php \
drivers/adodb-postgres7.inc.php \
drivers/adodb-proxy.inc.php \
drivers/adodb-sqlanywhere.inc.php \
drivers/adodb-sybase.inc.php \
drivers/adodb-vfp.inc.php \
INCLUDES= adodb-csvlib.inc.php \
adodb-datadict.inc.php \
adodb-error.inc.php \
adodb-errorhandler.inc.php \
adodb-errorpear.inc.php \
adodb-lib.inc.php \
adodb-pager.inc.php \
adodb-pear.inc.php \
2003-07-27 20:27:54 +00:00
adodb-time.inc.php \
adodb-xmlschema.inc.php \
adodb.inc.php \
crypt.inc.php \
pivottable.inc.php \
rsfilter.inc.php \
toexport.inc.php \
tohtml.inc.php
LANG= lang/adodb-en.inc.php \
lang/adodb-fr.inc.php
PICS= cute_icons_for_site/adodb.gif \
cute_icons_for_site/adodb.png \
cute_icons_for_site/adodb2.gif \
cute_icons_for_site/adodb2.png
SAMPLES= adodb-cryptsession.php \
adodb-session-clob.php \
adodb-session.php \
server.php
TESTS= tests/benchmark.php \
tests/client.php \
tests/test-datadict.php \
tests/test.php \
tests/test2.php \
tests/test3.php \
tests/test4.php \
tests/test5.php \
tests/testcache.php \
tests/testdatabases.inc.php \
tests/testgenid.php \
tests/testmssql.php \
tests/testoci8.php \
tests/testoci8cursor.php \
tests/testpaging.php \
tests/testpear.php \
tests/testsessions.php \
tests/time.php \
tests/tmssql.php
do-install:
@${MKDIR} ${PREFIX}/${ADODB_DATADICT}
@${MKDIR} ${PREFIX}/${ADODB_DRIVERS}
@${MKDIR} ${PREFIX}/${ADODB_LANG}
@${MKDIR} ${PREFIX}/${ADODB_TESTS}
.for FILE in ${DATADICT}
${INSTALL_DATA} ${WRKSRC}/${FILE} ${PREFIX}/${ADODB_DATADICT}
.endfor
.for FILE in ${DRIVERS}
${INSTALL_DATA} ${WRKSRC}/${FILE} ${PREFIX}/${ADODB_DRIVERS}
.endfor
.for FILE in ${INCLUDES}
${INSTALL_DATA} ${WRKSRC}/${FILE} ${PREFIX}/${ADODB_DIR}/${FILE}
.endfor
.for FILE in ${LANG}
${INSTALL_DATA} ${WRKSRC}/${FILE} ${PREFIX}/${ADODB_LANG}
.endfor
.for FILE in ${PICS}
${INSTALL_DATA} ${WRKSRC}/${FILE} ${PREFIX}/${ADODB_DIR}
.endfor
.for FILE in ${SAMPLES}
if [ ! -f ${PREFIX}/${ADODB_DIR}/${FILE} ]; then \
${INSTALL_DATA} ${WRKSRC}/${FILE} \
${PREFIX}/${ADODB_DIR}/${FILE};\
fi
${INSTALL_DATA} ${WRKSRC}/${FILE} \
${PREFIX}/${ADODB_DIR}/${FILE}.sample
.endfor
.for FILE in ${TESTS}
if [ ! -f ${PREFIX}/${ADODB_DIR}/${FILE} ]; then \
${INSTALL_DATA} ${WRKSRC}/${FILE} \
${PREFIX}/${ADODB_DIR}/${FILE};\
fi
${INSTALL_DATA} ${WRKSRC}/${FILE} \
${PREFIX}/${ADODB_DIR}/${FILE}.sample
.endfor
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for FILE in ${DOCS}
${INSTALL_MAN} ${WRKSRC}/${FILE} ${DOCSDIR}
.endfor
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>