Revision
100214
Author
pixilla@macports.org
Date
2012-12-03 13:03:16 -0800 (Mon, 03 Dec 2012)

Log Message

user/pixilla/tools:
- Use pear PortGroup.

Modified Paths

Diff

Modified: users/pixilla/tools/pear2port.sh (100213 => 100214)


--- users/pixilla/tools/pear2port.sh	2012-12-03 20:46:42 UTC (rev 100213)
+++ users/pixilla/tools/pear2port.sh	2012-12-03 21:03:16 UTC (rev 100214)
@@ -7,11 +7,11 @@
 then
     echo "Error: No package name given!"
     echo "Try something like:"
-    echo "  \$ VERBOSE=yes MAINTAINERS=\"$(users) openmaintainer\" ${0} Auth"
+    echo "  \$ VERBOSE=yes MAINTAINERS=\"$(whoami) openmaintainer\" ${0} Auth"
     echo "To specify a channel (default pear.php.net)"
-    echo "  \$ VERBOSE=yes MAINTAINERS=\"$(users) openmaintainer\" ${0} Auth pear.php.net"
+    echo "  \$ VERBOSE=yes MAINTAINERS=\"$(whoami) openmaintainer\" ${0} Auth pear.php.net"
     echo "To specify a channel (required) and a version (defaults to current version)"
-    echo "  \$ VERBOSE=yes MAINTAINERS=\"$(users) openmaintainer\" ${0} Auth pear.php.net 0.3.1"
+    echo "  \$ VERBOSE=yes MAINTAINERS=\"$(whoami) openmaintainer\" ${0} Auth pear.php.net 0.3.1"
     exit 
 fi
 [ "x${VERBOSE}" == "xyes" ] && echo "Package: ${package}"
@@ -58,9 +58,9 @@
 # \$Id\$
 
 PortSystem          1.0
-PortGroup           php5pear 1.0
+PortGroup           pear 1.0
 
-php5pear.setup      ${package} ${version} ${channel}
+pear.setup          ${package} ${version} ${channel}
 categories-append   net www
 platforms           darwin
 maintainers         ${MAINTAINERS}