Annotation of pkgsrc/databases/phpmyadmin/Makefile, revision 1.147
1.147 ! taca 1: # $NetBSD: Makefile,v 1.146 2015/05/15 17:36:06 tron Exp $
1.1 tron 2:
1.54 tron 3: DISTNAME= phpMyAdmin-${DIST_VERSION}-all-languages
1.21 tron 4: PKGNAME= phpmyadmin-${DIST_VERSION:S/-//}
1.1 tron 5: CATEGORIES= databases www
6: MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=phpmyadmin/}
1.140 tron 7: EXTRACT_SUFX= .tar.xz
1.1 tron 8:
1.146 tron 9: MAINTAINER= pkgsrc-users@NetBSD.org
1.23 jdolecek 10: HOMEPAGE= http://www.phpmyadmin.net/
1.1 tron 11: COMMENT= Set of PHP-scripts to adminstrate MySQL over the WWW
1.80 tron 12: LICENSE= gnu-gpl-v2
1.1 tron 13:
1.123 tron 14: DEPENDS+= ${PHP_PKG_PREFIX}-bz2>=5.3.0:../../archivers/php-bz2
15: DEPENDS+= ${PHP_PKG_PREFIX}-zip>=5.3.0:../../archivers/php-zip
16: DEPENDS+= ${PHP_PKG_PREFIX}-zlib>=5.3.0:../../archivers/php-zlib
17: DEPENDS+= ${PHP_PKG_PREFIX}-mbstring>=5.3.0:../../converters/php-mbstring
18: DEPENDS+= ${PHP_PKG_PREFIX}-gettext>=5.3.0:../../devel/php-gettext
19: DEPENDS+= ${PHP_PKG_PREFIX}-mysqli>=5.3.0:../../databases/php-mysqli
20: DEPENDS+= ${PHP_PKG_PREFIX}-gd>=5.3.0:../../graphics/php-gd
21: DEPENDS+= ${PHP_PKG_PREFIX}-mcrypt>=5.3.0:../../security/php-mcrypt
22: DEPENDS+= ${PHP_PKG_PREFIX}-json>=5.3.0:../../textproc/php-json
1.24 jdolecek 23:
1.147 ! taca 24: PHP_VERSIONS_ACCEPTED= 55 56
! 25:
1.106 tron 26: FILES_SUBST+= APACHE_GROUP=${APACHE_GROUP} APACHE_USER=${APACHE_USER}
27: FILES_SUBST+= PMSETUPDIR=${PMSETUPDIR} PMSETUPFILE=${PMSETUPFILE}
1.63 tron 28: PLIST_SUBST+= DIST_VERSION=${DIST_VERSION:Q}
29: MESSAGE_SUBST+= CONF_INC_PHP=${CONF_INC_PHP} PMCONFFILE=${PMCONFFILE:Q} \
1.45 tron 30: EXDIR=${EXDIR:Q}
1.1 tron 31:
1.106 tron 32: CONF_INC_PHP= ${PREFIX}/share/phpmyadmin/config.inc.php
1.145 tron 33: DIST_VERSION= 4.3.12
1.118 tron 34: DOC_FILES= ChangeLog LICENSE README RELEASE-DATE-${DIST_VERSION}
1.17 adrianp 35:
1.22 adrianp 36: APACHE_USER?= www
1.56 tron 37: APACHE_GROUP?= www
38: PKG_GROUPS= ${APACHE_GROUP}
39: PKG_USERS= ${APACHE_USER}:${APACHE_GROUP}
1.63 tron 40: BUILD_DEFS+= APACHE_USER APACHE_GROUP
1.61 jlam 41:
42: PKG_USERS_VARS+= APACHE_USER
43: PKG_GROUPS_VARS+= APACHE_GROUP
1.56 tron 44:
1.9 tron 45: EXDIR= ${PREFIX}/share/examples/phpmyadmin
1.17 adrianp 46: PMCONFFILE= ${PKG_SYSCONFDIR}/config.inc.php
1.106 tron 47: PMSETUPDIR= ${VARBASE}/phpmyadmin
48: PMSETUPFILE= ${PMSETUPDIR}/config.inc.php
1.9 tron 49: PMDIR= ${PREFIX}/share/phpmyadmin
1.59 jlam 50:
1.17 adrianp 51: PKG_SYSCONFSUBDIR?= phpmyadmin
52:
1.35 rillig 53: NO_BUILD= yes
1.19 jdolecek 54:
1.130 tron 55: CHECK_INTERPRETER_SKIP+= share/phpmyadmin/config.inc.php
56:
1.89 tron 57: INSTALLATION_DIRS+= ${PREFIX}/share/doc/phpmyadmin \
58: ${PREFIX}/share/examples/phpmyadmin \
59: ${PMDIR} ${PMDIR}/scripts
60:
1.118 tron 61: INSTALL_DIRS= doc/html
1.128 tron 62: INSTALL_DIRS+= doc/html/_static
1.118 tron 63: INSTALL_DIRS+= js
1.100 tron 64: INSTALL_DIRS+= js/canvg
65: INSTALL_DIRS+= js/codemirror
1.123 tron 66: INSTALL_DIRS+= js/codemirror/addon
1.141 tron 67: INSTALL_DIRS+= js/codemirror/addon/hint
1.123 tron 68: INSTALL_DIRS+= js/codemirror/addon/runmode
1.100 tron 69: INSTALL_DIRS+= js/codemirror/lib
70: INSTALL_DIRS+= js/codemirror/mode
1.123 tron 71: INSTALL_DIRS+= js/codemirror/mode/sql
1.141 tron 72: INSTALL_DIRS+= js/jqplot
73: INSTALL_DIRS+= js/jqplot/plugins
1.100 tron 74: INSTALL_DIRS+= js/jquery
1.123 tron 75: INSTALL_DIRS+= js/jquery/src
1.141 tron 76: INSTALL_DIRS+= js/jquery/src/jquery
1.123 tron 77: INSTALL_DIRS+= js/jquery/src/jquery-ui
78: INSTALL_DIRS+= js/jquery/src/jquery/ajax
1.100 tron 79: INSTALL_DIRS+= js/openlayers
80: INSTALL_DIRS+= js/openlayers/img
1.128 tron 81: INSTALL_DIRS+= js/openlayers/src
82: INSTALL_DIRS+= js/openlayers/src/openlayers
83: INSTALL_DIRS+= js/openlayers/src/openlayers/lib
84: INSTALL_DIRS+= js/openlayers/src/openlayers/lib/Firebug
85: INSTALL_DIRS+= js/openlayers/src/openlayers/lib/Gears
86: INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers
87: INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/BaseTypes
88: INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Control
89: INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Feature
90: INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Filter
91: INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Format
92: INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Format/ArcXML
93: INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Format/CSWGetDomain
94: INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Format/CSWGetRecords
95: INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Format/Filter
96: INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Format/GML
97: INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Format/OWSCommon
98: INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Format/OWSContext
99: INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Format/SLD
100: INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Format/SOSCapabilities
101: INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Format/WFSCapabilities
102: INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Format/WFST
103: INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Format/WMC
104: INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Format/WMSCapabilities
105: INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Format/WMSDescribeLayer
106: INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Format/WMTSCapabilities
107: INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Geometry
108: INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Handler
109: INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Lang
110: INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Layer
111: INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Layer/Google
112: INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Layer/MapServer
113: INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Layer/Vector
114: INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Layer/WMS
115: INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Marker
116: INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Popup
117: INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Protocol
118: INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Protocol/SOS
119: INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Protocol/SQL
120: INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Protocol/WFS
121: INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Renderer
122: INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Request
123: INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Strategy
124: INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Symbolizer
125: INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Tile
126: INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Tile/Image
127: INSTALL_DIRS+= js/openlayers/src/openlayers/lib/Rico
1.100 tron 128: INSTALL_DIRS+= js/openlayers/theme
129: INSTALL_DIRS+= js/openlayers/theme/default
130: INSTALL_DIRS+= js/openlayers/theme/default/img
131: INSTALL_DIRS+= js/pmd
1.123 tron 132: INSTALL_DIRS+= js/tracekit
1.141 tron 133: INSTALL_DIRS+= js/transformations
1.89 tron 134: INSTALL_DIRS+= libraries
135: INSTALL_DIRS+= libraries/PHPExcel
136: INSTALL_DIRS+= libraries/PHPExcel/PHPExcel
137: INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/CachedObjectStorage
138: INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/Calculation
139: INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/Cell
140: INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/Reader
141: INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/Reader/Excel2007
142: INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/Reader/Excel5
143: INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/RichText
144: INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/Shared
145: INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/Shared/Escher
146: INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/Shared/Escher/DgContainer
147: INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/Shared/Escher/DgContainer/SpgrContainer
148: INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/Shared/Escher/DggContainer
149: INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/Shared/Escher/DggContainer/BstoreContainer
150: INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE
151: INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/Shared/JAMA
152: INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/Shared/JAMA/utils
153: INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/Shared/OLE
154: INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/Shared/OLE/PPS
155: INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/Shared/PCLZip
156: INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/Shared/trend
157: INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/Style
158: INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/Worksheet
159: INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/Worksheet/Drawing
160: INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/Writer
161: INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/Writer/Excel2007
162: INSTALL_DIRS+= libraries/auth
163: INSTALL_DIRS+= libraries/auth/swekey
1.100 tron 164: INSTALL_DIRS+= libraries/bfShapeFiles
1.89 tron 165: INSTALL_DIRS+= libraries/chart
166: INSTALL_DIRS+= libraries/chart/pChart
167: INSTALL_DIRS+= libraries/chart/pChart/fonts
168: INSTALL_DIRS+= libraries/config
169: INSTALL_DIRS+= libraries/dbi
170: INSTALL_DIRS+= libraries/engines
171: INSTALL_DIRS+= libraries/export
1.118 tron 172: INSTALL_DIRS+= libraries/gis
1.89 tron 173: INSTALL_DIRS+= libraries/import
174: INSTALL_DIRS+= libraries/import/upload
1.118 tron 175: INSTALL_DIRS+= libraries/navigation
176: INSTALL_DIRS+= libraries/navigation/Nodes
1.89 tron 177: INSTALL_DIRS+= libraries/php-gettext
1.118 tron 178: INSTALL_DIRS+= libraries/phpseclib/Crypt
179: INSTALL_DIRS+= libraries/plugins
180: INSTALL_DIRS+= libraries/plugins/auth
181: INSTALL_DIRS+= libraries/plugins/auth/swekey
182: INSTALL_DIRS+= libraries/plugins/export
183: INSTALL_DIRS+= libraries/plugins/import
184: INSTALL_DIRS+= libraries/plugins/import/upload
1.141 tron 185: INSTALL_DIRS+= libraries/plugins/schema
186: INSTALL_DIRS+= libraries/plugins/schema/dia
187: INSTALL_DIRS+= libraries/plugins/schema/eps
188: INSTALL_DIRS+= libraries/plugins/schema/pdf
189: INSTALL_DIRS+= libraries/plugins/schema/svg
1.118 tron 190: INSTALL_DIRS+= libraries/plugins/transformations
191: INSTALL_DIRS+= libraries/plugins/transformations/abstract
1.141 tron 192: INSTALL_DIRS+= libraries/plugins/transformations/input
193: INSTALL_DIRS+= libraries/plugins/transformations/output
1.118 tron 194: INSTALL_DIRS+= libraries/properties
195: INSTALL_DIRS+= libraries/properties/options
196: INSTALL_DIRS+= libraries/properties/options/groups
197: INSTALL_DIRS+= libraries/properties/options/items
198: INSTALL_DIRS+= libraries/properties/plugins
1.100 tron 199: INSTALL_DIRS+= libraries/rte
1.89 tron 200: INSTALL_DIRS+= libraries/schema
201: INSTALL_DIRS+= libraries/tcpdf
202: INSTALL_DIRS+= libraries/tcpdf/cache
203: INSTALL_DIRS+= libraries/tcpdf/config
204: INSTALL_DIRS+= libraries/tcpdf/config/lang
205: INSTALL_DIRS+= libraries/tcpdf/fonts
206: INSTALL_DIRS+= libraries/tcpdf/fonts/dejavu-fonts-ttf-2.32
1.100 tron 207: INSTALL_DIRS+= libraries/tcpdf/fonts/dejavu-fonts-ttf-2.33
1.123 tron 208: INSTALL_DIRS+= libraries/tcpdf/include
1.89 tron 209: INSTALL_DIRS+= libraries/transformations
210: INSTALL_DIRS+= locale
211: INSTALL_DIRS+= locale/ar
212: INSTALL_DIRS+= locale/ar/LC_MESSAGES
1.141 tron 213: INSTALL_DIRS+= locale/az
214: INSTALL_DIRS+= locale/az/LC_MESSAGES
1.89 tron 215: INSTALL_DIRS+= locale/be
216: INSTALL_DIRS+= locale/be/LC_MESSAGES
217: INSTALL_DIRS+= locale/be@latin
218: INSTALL_DIRS+= locale/be@latin/LC_MESSAGES
219: INSTALL_DIRS+= locale/bg
220: INSTALL_DIRS+= locale/bg/LC_MESSAGES
221: INSTALL_DIRS+= locale/bn
222: INSTALL_DIRS+= locale/bn/LC_MESSAGES
223: INSTALL_DIRS+= locale/ca
224: INSTALL_DIRS+= locale/ca/LC_MESSAGES
225: INSTALL_DIRS+= locale/cs
226: INSTALL_DIRS+= locale/cs/LC_MESSAGES
227: INSTALL_DIRS+= locale/da
228: INSTALL_DIRS+= locale/da/LC_MESSAGES
229: INSTALL_DIRS+= locale/de
230: INSTALL_DIRS+= locale/de/LC_MESSAGES
231: INSTALL_DIRS+= locale/el
232: INSTALL_DIRS+= locale/el/LC_MESSAGES
233: INSTALL_DIRS+= locale/en_GB
234: INSTALL_DIRS+= locale/en_GB/LC_MESSAGES
235: INSTALL_DIRS+= locale/es
236: INSTALL_DIRS+= locale/es/LC_MESSAGES
237: INSTALL_DIRS+= locale/et
238: INSTALL_DIRS+= locale/et/LC_MESSAGES
239: INSTALL_DIRS+= locale/fi
240: INSTALL_DIRS+= locale/fi/LC_MESSAGES
241: INSTALL_DIRS+= locale/fr
242: INSTALL_DIRS+= locale/fr/LC_MESSAGES
243: INSTALL_DIRS+= locale/gl
244: INSTALL_DIRS+= locale/gl/LC_MESSAGES
245: INSTALL_DIRS+= locale/hi
246: INSTALL_DIRS+= locale/hi/LC_MESSAGES
247: INSTALL_DIRS+= locale/hr
248: INSTALL_DIRS+= locale/hr/LC_MESSAGES
249: INSTALL_DIRS+= locale/hu
250: INSTALL_DIRS+= locale/hu/LC_MESSAGES
1.141 tron 251: INSTALL_DIRS+= locale/ia
252: INSTALL_DIRS+= locale/ia/LC_MESSAGES
1.89 tron 253: INSTALL_DIRS+= locale/id
254: INSTALL_DIRS+= locale/id/LC_MESSAGES
255: INSTALL_DIRS+= locale/it
256: INSTALL_DIRS+= locale/it/LC_MESSAGES
257: INSTALL_DIRS+= locale/ja
258: INSTALL_DIRS+= locale/ja/LC_MESSAGES
259: INSTALL_DIRS+= locale/ka
260: INSTALL_DIRS+= locale/ka/LC_MESSAGES
1.141 tron 261: INSTALL_DIRS+= locale/ko
262: INSTALL_DIRS+= locale/ko/LC_MESSAGES
1.89 tron 263: INSTALL_DIRS+= locale/lt
264: INSTALL_DIRS+= locale/lt/LC_MESSAGES
265: INSTALL_DIRS+= locale/mn
266: INSTALL_DIRS+= locale/mn/LC_MESSAGES
267: INSTALL_DIRS+= locale/nb
268: INSTALL_DIRS+= locale/nb/LC_MESSAGES
269: INSTALL_DIRS+= locale/nl
270: INSTALL_DIRS+= locale/nl/LC_MESSAGES
271: INSTALL_DIRS+= locale/pl
272: INSTALL_DIRS+= locale/pl/LC_MESSAGES
1.141 tron 273: INSTALL_DIRS+= locale/pt/LC_MESSAGES
1.89 tron 274: INSTALL_DIRS+= locale/pt_BR
275: INSTALL_DIRS+= locale/pt_BR/LC_MESSAGES
276: INSTALL_DIRS+= locale/ro
277: INSTALL_DIRS+= locale/ro/LC_MESSAGES
278: INSTALL_DIRS+= locale/ru
279: INSTALL_DIRS+= locale/ru/LC_MESSAGES
280: INSTALL_DIRS+= locale/si
281: INSTALL_DIRS+= locale/si/LC_MESSAGES
282: INSTALL_DIRS+= locale/sk
283: INSTALL_DIRS+= locale/sk/LC_MESSAGES
284: INSTALL_DIRS+= locale/sl
285: INSTALL_DIRS+= locale/sl/LC_MESSAGES
286: INSTALL_DIRS+= locale/sr
287: INSTALL_DIRS+= locale/sr/LC_MESSAGES
288: INSTALL_DIRS+= locale/sr@latin
289: INSTALL_DIRS+= locale/sr@latin/LC_MESSAGES
290: INSTALL_DIRS+= locale/sv
291: INSTALL_DIRS+= locale/sv/LC_MESSAGES
292: INSTALL_DIRS+= locale/tr
293: INSTALL_DIRS+= locale/tr/LC_MESSAGES
1.100 tron 294: INSTALL_DIRS+= locale/uk
295: INSTALL_DIRS+= locale/uk/LC_MESSAGES
1.89 tron 296: INSTALL_DIRS+= locale/uz
297: INSTALL_DIRS+= locale/uz/LC_MESSAGES
298: INSTALL_DIRS+= locale/uz@latin
299: INSTALL_DIRS+= locale/uz@latin/LC_MESSAGES
300: INSTALL_DIRS+= locale/zh_CN
301: INSTALL_DIRS+= locale/zh_CN/LC_MESSAGES
302: INSTALL_DIRS+= locale/zh_TW
303: INSTALL_DIRS+= locale/zh_TW/LC_MESSAGES
1.100 tron 304: INSTALL_DIRS+= scripts
1.105 tron 305: INSTALL_DIRS+= setup
1.100 tron 306: INSTALL_DIRS+= setup/frames
307: INSTALL_DIRS+= setup/lib
1.89 tron 308: INSTALL_DIRS+= themes
309: INSTALL_DIRS+= themes/original
310: INSTALL_DIRS+= themes/original/css
311: INSTALL_DIRS+= themes/original/img
1.100 tron 312: INSTALL_DIRS+= themes/original/img/pmd
1.89 tron 313: INSTALL_DIRS+= themes/original/jquery
314: INSTALL_DIRS+= themes/original/jquery/images
315: INSTALL_DIRS+= themes/pmahomme
316: INSTALL_DIRS+= themes/pmahomme/css
317: INSTALL_DIRS+= themes/pmahomme/img
1.100 tron 318: INSTALL_DIRS+= themes/pmahomme/img/pmd
1.89 tron 319: INSTALL_DIRS+= themes/pmahomme/jquery
320: INSTALL_DIRS+= themes/pmahomme/jquery/images
321:
322: .for dir in $(INSTALL_DIRS)
323: INSTALLATION_DIRS+= ${PMDIR}/${dir}
324: .endfor
1.86 tron 325:
1.32 jlam 326: do-configure:
1.51 tron 327: ${SED} -e "s|@PMDIR@|${PMDIR}|g" ${FILESDIR}/phpmyadmin.conf \
1.105 tron 328: >${WRKDIR}/phpmyadmin.conf
329: cd ${WRKSRC}/libraries; \
1.106 tron 330: ${SED} -e "s#@@PMSETUPFILE@@#${PMSETUPFILE}#" vendor_config.php \
1.105 tron 331: >vendor_config.php.pkgsrc
1.1 tron 332:
333: do-install:
1.89 tron 334: ${INSTALL_DATA} ${WRKSRC}/*.css ${DESTDIR}${PMDIR}
335: ${INSTALL_DATA} ${WRKSRC}/*.ico ${DESTDIR}${PMDIR}
336: ${INSTALL_DATA} ${WRKSRC}/*.php ${DESTDIR}${PMDIR}
337: ${INSTALL_DATA} ${WRKSRC}/*.txt ${DESTDIR}${PMDIR}
1.17 adrianp 338:
1.67 obache 339: ${MV} ${DESTDIR}${PREFIX}/share/phpmyadmin/config.sample.inc.php \
1.64 jlam 340: ${DESTDIR}${EXDIR}/config.inc.php
1.106 tron 341: ${INSTALL_DATA} ${WRKSRC}/examples/* ${DESTDIR}${EXDIR}
1.141 tron 342: ${LN} -fs ${EXDIR} ${DESTDIR}${PREFIX}/share/phpmyadmin/examples
1.17 adrianp 343:
1.19 jdolecek 344: for dir in ${INSTALL_DIRS}; do \
1.62 tron 345: for file in ${WRKSRC}/$$dir/*; do \
346: case "$$file" in \
1.89 tron 347: *.orig|*.sh) \
1.62 tron 348: ;; \
349: *) \
350: if [ -f "$$file" ]; then \
351: ${INSTALL_DATA} "$$file" \
1.64 jlam 352: ${DESTDIR}${PMDIR}/$$dir; \
1.62 tron 353: fi \
354: ;; \
355: esac; \
1.19 jdolecek 356: done \
357: done
358:
1.17 adrianp 359: cd ${WRKSRC} && \
1.64 jlam 360: ${INSTALL_DATA} ${DOC_FILES} ${DESTDIR}${PREFIX}/share/doc/phpmyadmin
361: ${INSTALL_DATA} ${WRKDIR}/phpmyadmin.conf ${DESTDIR}${EXDIR}/apache.conf
1.106 tron 362: ${LN} -s ${PMCONFFILE} ${DESTDIR}${CONF_INC_PHP}
1.105 tron 363: cd ${DESTDIR}${PREFIX}/share/phpmyadmin/libraries; \
364: ${MV} -f vendor_config.php.pkgsrc vendor_config.php
1.48 tron 365:
1.50 joerg 366: .include "../../lang/php/phpversion.mk"
1.1 tron 367: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>