Date: Fri, 23 Jan 2015 10:39:34 +0000 (UTC) From: Johannes Jost Meixner <xmj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r377721 - in head/devel/newfile: . files Message-ID: <201501231039.t0NAdYS5095664@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: xmj Date: Fri Jan 23 10:39:33 2015 New Revision: 377721 URL: https://svnweb.freebsd.org/changeset/ports/377721 QAT: https://qat.redports.org/buildarchive/r377721/ Log: devel/newfile: add support for dots in project names. Fix a bug that would stop `port create` from creating ports with "dots" in their name -- `port create foo.bar` would previously yield a directory "foo". Approved by: koobs (mentor) Added: head/devel/newfile/files/patch-src_newfile.rb.in (contents, props changed) Modified: head/devel/newfile/Makefile head/devel/newfile/files/patch-src-Makefile.in Modified: head/devel/newfile/Makefile ============================================================================== --- head/devel/newfile/Makefile Fri Jan 23 10:35:08 2015 (r377720) +++ head/devel/newfile/Makefile Fri Jan 23 10:39:33 2015 (r377721) @@ -3,7 +3,7 @@ PORTNAME= newfile PORTVERSION= 1.0.14 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= devel MASTER_SITES= SF Modified: head/devel/newfile/files/patch-src-Makefile.in ============================================================================== --- head/devel/newfile/files/patch-src-Makefile.in Fri Jan 23 10:35:08 2015 (r377720) +++ head/devel/newfile/files/patch-src-Makefile.in Fri Jan 23 10:39:33 2015 (r377721) @@ -1,6 +1,6 @@ ---- src/Makefile.in.orig 2003-11-03 20:49:37.000000000 +0800 -+++ src/Makefile.in 2014-08-30 04:12:00.646368587 +0800 -@@ -279,12 +279,12 @@ +--- src/Makefile.in.orig 2003-11-03 12:49:37 UTC ++++ src/Makefile.in +@@ -279,12 +279,12 @@ uninstall-am: uninstall-info-am uninstal install-data-hook: Added: head/devel/newfile/files/patch-src_newfile.rb.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/newfile/files/patch-src_newfile.rb.in Fri Jan 23 10:39:33 2015 (r377721) @@ -0,0 +1,11 @@ +--- src/newfile.rb.in.orig 2015-01-23 10:28:31 UTC ++++ src/newfile.rb.in +@@ -431,7 +431,7 @@ class NewfileOpts + |proj| + arr = proj.split(".") + @opts["template"] = arr[0] +- @opts["project"] = arr[1] ++ @opts["project"] = arr.drop(1).join('.') + } + @parser.def_option("-s", "--show", + "Show installed file templates, project#{NL}" +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501231039.t0NAdYS5095664>