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

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

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

some spring cleaning, inc. revision

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