[95102] trunk/dports/www/phppgadmin/Portfile
ryandesign at macports.org
ryandesign at macports.org
Thu Jul 5 13:32:35 PDT 2012
Revision: 95102
https://trac.macports.org/changeset/95102
Author: ryandesign at macports.org
Date: 2012-07-05 13:32:33 -0700 (Thu, 05 Jul 2012)
Log Message:
-----------
phppgadmin: update to 5.0.4 (#34580); rewrite master_sites to avoid redirects; add php variants
Modified Paths:
--------------
trunk/dports/www/phppgadmin/Portfile
Modified: trunk/dports/www/phppgadmin/Portfile
===================================================================
--- trunk/dports/www/phppgadmin/Portfile 2012-07-05 20:12:47 UTC (rev 95101)
+++ trunk/dports/www/phppgadmin/Portfile 2012-07-05 20:32:33 UTC (rev 95102)
@@ -5,7 +5,8 @@
name phppgadmin
set my_name phpPgAdmin
-version 5.0.2
+version 5.0.4
+set branch [join [lrange [split ${version} .] 0 1] .]
categories www databases
maintainers freebsd.org:miwi
supported_archs noarch
@@ -15,17 +16,33 @@
the administration of PostgreSQL over the Web. phpPgAdmin \
supports a wide range of operations with PostgreSQL.
homepage http://phppgadmin.sourceforge.net/
-master_sites sourceforge
+master_sites sourceforge:project/phppgadmin/phpPgAdmin%20%5Bstable%5D/phpPgAdmin-${branch}
distname ${my_name}-${version}
use_bzip2 yes
-checksums sha1 14fc59074e23ea57697ccd9c031936f853838bba \
- rmd160 13373330d2d118dff6243db49edc8ab3eef31ab8
+checksums rmd160 d3cad1238e9c89b7e20b5032cf932cd6e15a9b8d \
+ sha256 cd4b16008c9b5b2b8b9f20708e51e77690d910a7b3d85f9f66386c79994a4349
platforms darwin freebsd
-depends_run port:php5-postgresql
+# The php variants deliberately do not conflict
+variant php5 description {Use php5} {
+ depends_run-append port:php5-postgresql
+}
+
+variant php53 description {Use php53} {
+ depends_run-append port:php53-postgresql
+}
+
+variant php54 description {Use php54} {
+ depends_run-append port:php54-postgresql
+}
+
+if {![variant_isset php5] && ![variant_isset php53] && ![variant_isset php54]} {
+ default_variants +php5
+}
+
use_configure no
build {}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120705/ee764033/attachment.html>
More information about the macports-changes
mailing list