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

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

CVSweb <webmaster@jp.NetBSD.org>