[Bug 205106] [NEW MODULE] bundle.mk: USES=bundle allows bundling ports with the third party submodules

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Dec 8 00:52:04 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205106

            Bug ID: 205106
           Summary: [NEW MODULE] bundle.mk: USES=bundle allows bundling
                    ports with the third party submodules
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr at FreeBSD.org
          Reporter: yuri at rawbw.com
                CC: freebsd-ports-bugs at FreeBSD.org

Created attachment 163956
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=163956&action=edit
patch

USES=bundle simplifies bundling ports with submodules taken from the other
repositories.

# example use
USES+=          bundle
BUNDLE+=        3rdparty/easyloggingpp:easyloggingpp
BUNDLE+=        3rdparty/qtconsole:qtconsole
BUNDLE+=       
src/resources/qml/3rdparty/php-unserialize-js:php-unserialize-js

# bundled distfiles might be defined like this
GH_TUPLE+=      easylogging:easyloggingpp:f926802:easyloggingpp
GH_TUPLE+=      uglide:QtConsole:0e7c88c:qtconsole
GH_TUPLE+=      RedisDesktop:php-unserialize-js:a4d804f:php-unserialize-js

In case of USES=bundle extract will only extract the default distfile, and the
rest will be extracted into the specified subdirectories.

The idea of USES=bundle was inspired by git submodules (which are used a lot
now). Many projects now recommend to use
> git submodule update --recursive
to update git submodules. In this case USES=bundle should be used.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list