aboutsummaryrefslogtreecommitdiffstats
path: root/misc/porteasy
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2004-04-05 21:27:21 +0800
committerdes <des@FreeBSD.org>2004-04-05 21:27:21 +0800
commit5983bceb8a8cce5fcdc886ab6b3d12621e049bae (patch)
treebb3ce8ef6d6195b92da9c49a600f68add00c6b16 /misc/porteasy
parent03253c0831e62c2446f526cfc38fa00250e81e1f (diff)
downloadfreebsd-ports-gnome-5983bceb8a8cce5fcdc886ab6b3d12621e049bae.tar.gz
freebsd-ports-gnome-5983bceb8a8cce5fcdc886ab6b3d12621e049bae.tar.zst
freebsd-ports-gnome-5983bceb8a8cce5fcdc886ab6b3d12621e049bae.zip
Cosmetic: sort the status report, wrap a long line.
Diffstat (limited to 'misc/porteasy')
-rw-r--r--misc/porteasy/Makefile1
-rw-r--r--misc/porteasy/src/porteasy.pl8
2 files changed, 6 insertions, 3 deletions
diff --git a/misc/porteasy/Makefile b/misc/porteasy/Makefile
index 536b055f49a4..1b9e4505d397 100644
--- a/misc/porteasy/Makefile
+++ b/misc/porteasy/Makefile
@@ -9,6 +9,7 @@
PORTNAME= porteasy
PORTVERSION= 2.7.13
+PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= # none
DISTFILES= # none
diff --git a/misc/porteasy/src/porteasy.pl b/misc/porteasy/src/porteasy.pl
index 26195ae3980f..04a8801fd7cc 100644
--- a/misc/porteasy/src/porteasy.pl
+++ b/misc/porteasy/src/porteasy.pl
@@ -1018,8 +1018,10 @@ sub build_port($) {
push(@makeargs, "DEPENDS_CLEAN=YES");
}
setproctitle("building $port");
- make($port, @makeargs)
- or bsd::errx(1, "failed to %s %s", $packages ? "package" : "build", $port);
+ if (!make($port, @makeargs)) {
+ bsd::errx(1, "failed to %s %s",
+ $packages ? "package" : "build", $port);
+ }
setproctitle();
}
@@ -1226,7 +1228,7 @@ MAIN:{
# Step 6: list installed ports
if ($status) {
- foreach $port (keys(%reqd)) {
+ foreach $port (sort({ $pkgname{$a} cmp $pkgname{$b} } keys(%reqd))) {
show_port_status($port);
}
}