1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00
freebsd-ports/Mk
Mathieu Arnold e2e97eb2bc Implement basic flavors.
**Do not start migrating any ports, a hook will prevent it**

This has been a long awaiting feature, most of the work has been done by
bapt, bdrewery and antoine, I am just the one actually doing the commit.

All this informations, and more to come are in the first link to our wiki
in the bottom block. A roadmap is in the second link.

To define a different flavors in a port, before any include, set:

FLAVORS=  flavor1 flavor2 [...]

The first flavor in the list will be the default.

You can then check for flavors after includ'ing bsd.port.options.mk with:

.if ${FLAVOR} == flavor2
[some stuff]
.endif

To build flavor2, simply run:

make FLAVOR=flavor2

To depend on a specific flavor, write @<flavor> at the end of the depend
string, like:

RUN_DEPENDS=	something:origin@foo

Submitted by:	bapt, bdrewery, antoine
Reviewed by:	portmgr
More infos:	https://wiki.freebsd.org/Ports/FlavorsMigration
Todo List:	https://wiki.freebsd.org/Ports/FlavorsAndSubPackages
With hat:	portmgr
Differential Revision: https://reviews.freebsd.org/D10327
2017-09-26 14:14:44 +00:00
..
Scripts Implement basic flavors. 2017-09-26 14:14:44 +00:00
Uses Define ICONV_GET_ILSEQ_INVALID and ICONV_SET_ILSEQ_INVALID when mimicking 2017-09-25 20:55:27 +00:00
bsd.apache.mk
bsd.autotools.mk
bsd.ccache.mk
bsd.commands.mk
bsd.default-versions.mk lang/tcl87, x11-toolkits/tk87: import Tcl/Tk 8.7a1 2017-09-11 06:30:53 +00:00
bsd.destdir.mk
bsd.emacs.mk - Update Emacs to 25.3 2017-09-12 15:34:32 +00:00
bsd.fpc.mk
bsd.gcc.mk Connect the new lang/gcc7 port into the infrastructure of Mk/bsd.gcc.mk 2017-08-15 12:44:16 +00:00
bsd.gecko.mk Mk/bsd.gecko.mk, multimedia/librespot: Fix version of Rust which started to ship Cargo 2017-09-25 21:21:33 +00:00
bsd.gstreamer.mk Update GStreamer1 ports to 1.12.2. 2017-07-22 11:35:44 +00:00
bsd.java.mk Minor cleanup to Java version/vendor/OS validation 2017-07-14 18:09:11 +00:00
bsd.ldap.mk
bsd.licenses.db.mk Introduce versions of the Mozilla Public License (MPL) 2017-07-26 23:58:05 +00:00
bsd.licenses.mk
bsd.local.mk
bsd.ocaml.mk
bsd.octave.mk
bsd.options.desc.mk Shorten GSSAPI_BASE desc so it fits 80x24 terminals. 2017-08-11 08:33:19 +00:00
bsd.options.mk
bsd.port.mk Implement basic flavors. 2017-09-26 14:14:44 +00:00
bsd.port.options.mk
bsd.port.post.mk
bsd.port.pre.mk
bsd.port.subdir.mk
bsd.qt.mk New port: www/qt5-webengine. 2017-08-17 15:56:11 +00:00
bsd.ruby.mk Update to 2.3.5 2017-09-24 12:41:44 +00:00
bsd.sanity.mk Introduce versions of the Mozilla Public License (MPL) 2017-07-26 23:58:05 +00:00
bsd.sdl.mk
bsd.sites.mk Remove ftp.dti.ad.jp 2017-09-13 13:07:50 +00:00
bsd.ssp.mk
bsd.tex.mk
bsd.wx.mk
bsd.xorg.mk