[Bug 204772] Added GH_PROJECTS that allows to add many GitHub projects in a more succinct form
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Nov 25 03:33:38 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204772
Jan Beich <jbeich at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jbeich at FreeBSD.org
--- Comment #2 from Jan Beich <jbeich at FreeBSD.org> ---
Comment on attachment 163461
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=163461
patch
>+# GH_PROJECTS - column-separated account, project, tagname and id
s/column/colon/ and plural names may attract typos. How about the following?
# GH_TUPLE - above shortened to account:project:tagname[:group]
>+. if defined(GH_PROJECTS)
>+GH_ACCOUNT+= ${GH_PROJECTS:@ENTRY@${ENTRY:C,^([^:]*):([^:]*):([^:]*)((:[^:]*)?),\1\4,}@}
>+GH_PROJECT+= ${GH_PROJECTS:@ENTRY@${ENTRY:C,^([^:]*):([^:]*):([^:]*)((:[^:]*)?),\2\4,}@}
>+GH_TAGNAME+= ${GH_PROJECTS:@ENTRY@${ENTRY:C,^([^:]*):([^:]*):([^:]*)((:[^:]*)?),\3\4,}@}
>+. endif
:@ loops are neither supported by fmake (on 9.x systems) nor required here.
GH_ACCOUNT+= ${GH_PROJECTS:C@^([^:]*):([^:]*):([^:]*)((:[^:]*)?)@\1\4@}
GH_PROJECT+= ${GH_PROJECTS:C@^([^:]*):([^:]*):([^:]*)((:[^:]*)?)@\2\4@}
GH_TAGNAME+= ${GH_PROJECTS:C@^([^:]*):([^:]*):([^:]*)((:[^:]*)?)@\3\4@}
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-ports-bugs
mailing list