source: trunk/dports/www/phpmyadmin/Portfile @ 14721

Last change on this file since 14721 was 14721, checked in by mww, 14 years ago

Bug: #5406
Submitted by: joe@…
Reviewed by: mww@

update to 2.6.4-pl2

  • Property svn:eol-style set to native
File size: 1.6 KB
Line 
1# $Id: Portfile,v 1.7 2005/10/20 05:48:52 mww Exp $
2PortSystem 1.0
3
4name                    phpmyadmin
5version                 2.6.4-pl2
6categories              www
7maintainers             joe@netmusician.org
8description             A tool written in PHP intended to handle the administration \
9                                of MySQL over the Web.
10long_description        phpMyAdmin is a tool written in PHP intended to handle \
11                                the administration  of MySQL over the Web. Currently it can \
12                                create and drop databases,  create/drop/alter tables, \
13                                delete/edit/add fields, execute any SQL statement, manage keys \
14                                on fields, manage privileges,export data into  various formats \
15                                and is available in 47 languages.
16homepage                http://www.phpmyadmin.net
17master_sites            sourceforge
18distname                phpMyAdmin-${version}
19use_bzip2               yes
20checksums               md5 7d0e0ac0ebf97be76043ed4cbba588c9
21platforms               darwin freebsd
22
23default_variants        +apache +mysql4 +php4
24
25variant apache conflicts apache2 {
26        depends_lib-append      port:apache
27}
28
29variant apache2 conflicts apache {
30        depends_lib-append      port:apache2
31}
32
33variant php4 conflicts php5 {
34        depends_lib-append      port:php4
35}
36
37variant php5 conflicts php4 {
38        depends_lib-append      port:php5
39}
40
41variant mysql conflicts mysql4 {
42        depends_lib-append      port:mysql
43}
44
45variant mysql4 conflicts mysql {
46        depends_lib-append      port:mysql4
47}
48
49set docpath ${destroot}${prefix}/www/data
50             
51use_configure   no
52build                   {}
53
54destroot {
55        xinstall -d -m 0755 ${docpath}/phpmyadmin
56        eval file copy [glob ${worksrcpath}/*] ${docpath}/phpmyadmin
57        foreach confname {config config.footer config.header} {
58                file rename ${docpath}/phpmyadmin/${confname}.inc.php \
59                        ${docpath}/phpmyadmin/${confname}.inc.php-dist
60        }
61}
62
63
Note: See TracBrowser for help on using the repository browser.