1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00

Look for pkg-descr rather than pkg/DESCR.

Always use the -d option when invoking CVS, to work around breakage in CVS
(said breakage has reportedly been fixed in 1.11, but I haven't verified this)
Bump version number.
This commit is contained in:
Dag-Erling Smørgrav 2000-10-09 11:45:46 +00:00
parent f605096311
commit 1f3c3106a8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=33609
4 changed files with 14 additions and 14 deletions

View File

@ -8,7 +8,7 @@
#
PORTNAME= porteasy
PORTVERSION= 1.6
PORTVERSION= 1.7
CATEGORIES= misc
MASTER_SITES= # none
DISTFILES= # none

View File

@ -34,7 +34,7 @@ use Data::Dumper;
use Fcntl;
use Getopt::Long;
my $VERSION = "1.6";
my $VERSION = "1.7";
# Constants
sub ANONCVS_ROOT { ":pserver:anoncvs\@anoncvs.FreeBSD.org:/home/ncvs" }
@ -146,7 +146,7 @@ sub cvs($;@) {
my @args; # Arguments to CVS
push(@args, "-f", "-z3", "-R",
push(@args, "-f", "-z3", "-R", "-d$cvsroot",
$verbose ? "-q" : "-Q", $cmd, "-A");
if ($cmd eq "checkout") {
push(@args, "-P");
@ -354,7 +354,7 @@ sub show_port_info($) {
local *FILE; # File handle
my $info; # Port info
sysopen(FILE, "$portsdir/$ports{$port}/pkg/DESCR", O_RDONLY)
sysopen(FILE, "$portsdir/$ports{$port}/pkg-descr", O_RDONLY)
or err(1, "can't read description for $port");
$info = join("| ", <FILE>);
close(FILE);
@ -552,10 +552,10 @@ MAIN:{
if ($anoncvs) {
$cvsroot = &ANONCVS_ROOT;
}
if ($cvsroot) {
$ENV{'CVSROOT'} = $cvsroot;
if (!$cvsroot) {
$cvsroot = $ENV{'CVSROOT'};
}
if (!$ENV{'CVSROOT'}) {
if (!$cvsroot) {
errx(1, "No CVS root, please use the -r option or set \$CVSROOT");
}

View File

@ -8,7 +8,7 @@
#
PORTNAME= porteasy
PORTVERSION= 1.6
PORTVERSION= 1.7
CATEGORIES= misc
MASTER_SITES= # none
DISTFILES= # none

View File

@ -34,7 +34,7 @@ use Data::Dumper;
use Fcntl;
use Getopt::Long;
my $VERSION = "1.6";
my $VERSION = "1.7";
# Constants
sub ANONCVS_ROOT { ":pserver:anoncvs\@anoncvs.FreeBSD.org:/home/ncvs" }
@ -146,7 +146,7 @@ sub cvs($;@) {
my @args; # Arguments to CVS
push(@args, "-f", "-z3", "-R",
push(@args, "-f", "-z3", "-R", "-d$cvsroot",
$verbose ? "-q" : "-Q", $cmd, "-A");
if ($cmd eq "checkout") {
push(@args, "-P");
@ -354,7 +354,7 @@ sub show_port_info($) {
local *FILE; # File handle
my $info; # Port info
sysopen(FILE, "$portsdir/$ports{$port}/pkg/DESCR", O_RDONLY)
sysopen(FILE, "$portsdir/$ports{$port}/pkg-descr", O_RDONLY)
or err(1, "can't read description for $port");
$info = join("| ", <FILE>);
close(FILE);
@ -552,10 +552,10 @@ MAIN:{
if ($anoncvs) {
$cvsroot = &ANONCVS_ROOT;
}
if ($cvsroot) {
$ENV{'CVSROOT'} = $cvsroot;
if (!$cvsroot) {
$cvsroot = $ENV{'CVSROOT'};
}
if (!$ENV{'CVSROOT'}) {
if (!$cvsroot) {
errx(1, "No CVS root, please use the -r option or set \$CVSROOT");
}