Import of pkgsrc-2014Q1
This commit is contained in:
@@ -1,11 +1,8 @@
|
||||
# $NetBSD: Makefile,v 1.69 2013/05/31 12:41:47 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.71 2014/03/03 02:37:23 obache Exp $
|
||||
#
|
||||
|
||||
DISTNAME= url2pkg-2.17
|
||||
PKGREVISION= 1
|
||||
PKGNAME= url2pkg-2.18
|
||||
CATEGORIES= pkgtools
|
||||
MASTER_SITES= # none
|
||||
DISTFILES= # none
|
||||
|
||||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
HOMEPAGE= http://www.NetBSD.org/docs/pkgsrc/creating.html
|
||||
|
||||
@@ -53,6 +53,13 @@ BEGIN {
|
||||
@EXPORT = qw(WriteMakefile prompt);
|
||||
}
|
||||
|
||||
# From lib/perl5/5.18.0/ExtUtils/MakeMaker.pm
|
||||
our $VERSION = '6.66';
|
||||
|
||||
our $Verbose = 0; # exported
|
||||
our @EXPORT = qw($Verbose $version);
|
||||
our @EXPORT_OK = qw(&neatvalue);
|
||||
|
||||
# Finds and returns the category a given package lies in.
|
||||
# If the package does not exist, C<undef> is returned.
|
||||
# If the package exists more than once, it is unspecified which
|
||||
@@ -107,4 +114,8 @@ sub prompt(@) {
|
||||
return $default || "";
|
||||
}
|
||||
|
||||
sub neatvalue {
|
||||
return;
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: url2pkg.8,v 1.10 2013/05/29 14:37:29 wiz Exp $
|
||||
.\" $NetBSD: url2pkg.8,v 1.11 2013/07/20 21:50:54 wiz Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 2001 The NetBSD Foundation, Inc.
|
||||
.\" All rights reserved.
|
||||
@@ -109,8 +109,8 @@ url2pkg http://www.example.com/bar/buz.tgz
|
||||
.Sh AUTHORS
|
||||
.Nm
|
||||
was written by
|
||||
.An Roland Illig Aq rillig@NetBSD.org ,
|
||||
.An Roland Illig Aq Mt rillig@NetBSD.org ,
|
||||
enhancing the previous version by
|
||||
.An Hubert Feyrer Aq hubertf@NetBSD.org .
|
||||
.An Hubert Feyrer Aq Mt hubertf@NetBSD.org .
|
||||
This man page was written by
|
||||
.An Emmanuel Dreyfus Aq manu@NetBSD.org .
|
||||
.An Emmanuel Dreyfus Aq Mt manu@NetBSD.org .
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#! @PERL@
|
||||
# $NetBSD: url2pkg.pl,v 1.22 2013/05/14 19:42:38 wiz Exp $
|
||||
# $NetBSD: url2pkg.pl,v 1.23 2013/12/28 16:46:29 ryoon Exp $
|
||||
#
|
||||
|
||||
# Copyright (c) 2010 The NetBSD Foundation, Inc.
|
||||
@@ -178,6 +178,9 @@ sub magic_perlmod() {
|
||||
push(@build_vars, ["PERL5_MODULE_TYPE", "Module::Build"]);
|
||||
|
||||
} elsif (-f "${abs_wrksrc}/Makefile.PL") {
|
||||
# To avoid fix_up_makefile error, generate Makefile previously.
|
||||
# Ignore exit status (no "or die").
|
||||
system("cd ${abs_wrksrc} && perl Makefile.PL");
|
||||
open(DEPS, "cd ${abs_wrksrc} && perl -I${perllibdir} Makefile.PL |") or die;
|
||||
while (defined(my $dep = <DEPS>)) {
|
||||
chomp($dep);
|
||||
|
||||
Reference in New Issue
Block a user