blob: e0c56cafc3d7f25d6aa2be645e8b4fea0da07d53 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
|
# 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
COMMENT= A database library for PHP4
.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
.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 \
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>
|