Opened 21 years ago

Closed 20 years ago

Last modified 19 years ago

#553 closed defect (fixed)

phpmyadmin port submission

Reported by: ari@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: bchesneau@…
Port:

Description

I haven't figured out how to give the user a message at the end of the process (like FreeBSD ports) to tell them to edit the file config.inc.php or to merge changes from config.inc.php.old into the new file if they are upgrading.

# $Id: $

PortSystem 1.0

name phpMyAdmin version 2.5.0 homepage http://www.phpmyadmin.net/ description administration of MySQL over the web categories databases www platforms darwin maintainers ari@… master_sites http://flow.dl.sourceforge.net/sourceforge/phpmyadmin/ \

http://us.dl.sourceforge.net/phpmyadmin/ \ http://eu.dl.sourceforge.net/phpmyadmin/

use_bzip2 yes extract.sufx .tar.bz2 distfiles ${name}-${version}-php${extract.sufx} checksums md5 d64b1e6a630ad8f218196d16c948854e depends_lib bin:httpd:apache configure {} build {}

prefix /Library/WebServer/Documents/phpmyadmin install {

file mkdir -p ${destroot}/${prefix} # save the old preference file if {[ file exists ${prefix}/config.inc.php]} {

system "cp -f ${prefix}/config.inc.php

${destroot}/${prefix}/config.inc.php.old"

} system "cp -fr ${worksrcpath}/*

${destroot}/${prefix}/"

system "chown -R www.www ${destroot}/${prefix}"

}

long_description Almost any MySQL administration function can be performed \ in this web interface, including queries, defining structures, exporting,\ importing and managing privileges.

Attachments (3)

Portfile (1.9 KB) - added by bchesneau@… 21 years ago.
Clean/upgrade first submission
Portfile.2 (2.5 KB) - added by bchesneau@… 21 years ago.
phpmyadmin version 2.5.4 portfile
Portfile.3 (2.7 KB) - added by bchesneau@… 21 years ago.
Portfile

Download all attachments as: .zip

Change History (8)

Changed 21 years ago by bchesneau@…

Attachment: Portfile added

Clean/upgrade first submission

comment:1 Changed 21 years ago by bchesneau@…

Cc: bchesneau@… added

Changed 21 years ago by bchesneau@…

Attachment: Portfile.2 added

phpmyadmin version 2.5.4 portfile

comment:2 Changed 21 years ago by bchesneau@…

attachments.isobsolete: 01

Changed 21 years ago by bchesneau@…

Attachment: Portfile.3 added

Portfile

comment:3 Changed 21 years ago by bchesneau@…

attachments.isobsolete: 01

comment:4 Changed 20 years ago by bchesneau@…

Resolution: fixed
Status: newclosed

comment:5 Changed 20 years ago by bchesneau@…

Thx for the first submission. I released today the 2.5.6 version with apache/apache2 and mysql/mysql4 variants.

  • Benoît
Note: See TracTickets for help on using tickets.