Annotation of pkgsrc/databases/phpmyadmin/Makefile, revision 1.142

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

CVSweb <webmaster@jp.NetBSD.org>