pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/pkgtools/url2pkg



Module Name:    pkgsrc
Committed By:   maya
Date:           Sun Aug 18 06:23:20 UTC 2019

Modified Files:
        pkgsrc/pkgtools/url2pkg: Makefile
        pkgsrc/pkgtools/url2pkg/files: url2pkg.pl

Log Message:
url2pkg 2.31:

maya:
detect meson

rillig:
refactor generation of Makefiles
rename local variables to match pkgsrc counterparts
make print_section simpler to use
run editor with line number only if supported
refactoring to make Makefile generation testable
make dist_subdir a local variable
initialize dist_subdir early
fix indentation
fix for p5-HTML-Quoted
fix parsing of mk/fetch/sites.mk


To generate a diff of this commit:
cvs rdiff -u -r1.92 -r1.93 pkgsrc/pkgtools/url2pkg/Makefile
cvs rdiff -u -r1.49 -r1.50 pkgsrc/pkgtools/url2pkg/files/url2pkg.pl

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/pkgtools/url2pkg/Makefile
diff -u pkgsrc/pkgtools/url2pkg/Makefile:1.92 pkgsrc/pkgtools/url2pkg/Makefile:1.93
--- pkgsrc/pkgtools/url2pkg/Makefile:1.92       Sun Aug 11 13:22:37 2019
+++ pkgsrc/pkgtools/url2pkg/Makefile    Sun Aug 18 06:23:19 2019
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.92 2019/08/11 13:22:37 wiz Exp $
+# $NetBSD: Makefile,v 1.93 2019/08/18 06:23:19 maya Exp $
 
-PKGNAME=       url2pkg-2.30
-PKGREVISION=   1
+PKGNAME=       url2pkg-2.31
 CATEGORIES=    pkgtools
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost

Index: pkgsrc/pkgtools/url2pkg/files/url2pkg.pl
diff -u pkgsrc/pkgtools/url2pkg/files/url2pkg.pl:1.49 pkgsrc/pkgtools/url2pkg/files/url2pkg.pl:1.50
--- pkgsrc/pkgtools/url2pkg/files/url2pkg.pl:1.49       Sun Aug 18 06:10:38 2019
+++ pkgsrc/pkgtools/url2pkg/files/url2pkg.pl    Sun Aug 18 06:23:19 2019
@@ -1,5 +1,5 @@
 #! @PERL@
-# $NetBSD: url2pkg.pl,v 1.49 2019/08/18 06:10:38 rillig Exp $
+# $NetBSD: url2pkg.pl,v 1.50 2019/08/18 06:23:19 maya Exp $
 #
 
 # Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -154,6 +154,13 @@ sub magic_cmake() {
        push(@build_vars, ["USE_CMAKE", "yes"]);
 }
 
+sub magic_meson() {
+       open(CONF, "<", "${abs_wrksrc}/meson.build") or return;
+       close(CONF);
+
+       push(@includes, "../../devel/py-meson/build.mk");
+}
+
 sub magic_gconf2_schemas() {
        my @gconf2_files = grep(/schemas(?:\.in.*)$/, @wrksrc_files);
        if (@gconf2_files) {
@@ -465,6 +472,7 @@ sub adjust_package_from_extracted_distfi
 
        magic_configure();
        magic_cmake();
+       magic_meson();
        magic_gconf2_schemas();
        magic_libtool();
        magic_perlmod();



Home | Main Index | Thread Index | Old Index