1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/Mk/Uses
Mathieu Arnold e8796ef612 Rewrite the target ordering code.
The targets now have priority assigned to them, and, when the dependency
ordering magic is done at the end of bsd.port.mk, they are sorted
according to their priority.

This allows USES to add targets easily and have them run whenever they
want without touching bsd.port.mk.

To add a target that runs just before post-configure run, do:

_USES_configure+=  695:my-post-configure
my-post-configure:
	do something

To fine tune when the target is ran, look at the values in the *_SEQ
variables at the end of bsd.port.mk, and the other USES.

Allow ports Makefiles to override the priority of targets with the
TARGET_ORDER_OVERRIDE variable.  For example, to get post-install
running earlier, (its default is 700) do:

TARGET_ORDER_OVERRIDE=	  650:post-install

While there, add options target helpers for the do-* targets when they
exist.

Reviewed by:	antoine, bapt
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3099
2015-08-17 13:31:25 +00:00
..
ada.mk Ada Framework: Switch to gcc5-aux, upgrade 6 packages at once 2015-06-23 22:20:35 +00:00
alias.mk - Instead of limiting effect of alias.mk to DragonFly, extend it to everything which is not FreeBSD 2015-07-03 16:54:08 +00:00
autoreconf.mk Rewrite the target ordering code. 2015-08-17 13:31:25 +00:00
bison.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
blaslapack.mk Adding ports/Mk/Uses/blaslapack.mk. 2015-01-05 20:43:02 +00:00
charsetfix.mk Rewrite the target ordering code. 2015-08-17 13:31:25 +00:00
cmake.mk Uses/cmake.mk: Reword description of CMAKE_VERBOSE and CMAKE_NOCOLOR a bit. 2014-12-18 16:47:19 +00:00
compiler.mk Bump the version of clang to 3.6 when c++14-lang is specified 2015-08-08 21:38:18 +00:00
cpe.mk CPE strings are all lower case. 2015-04-02 15:02:44 +00:00
cran.mk Rewrite the target ordering code. 2015-08-17 13:31:25 +00:00
desktop-file-utils.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
desthack.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
display.mk Rewrite the target ordering code. 2015-08-17 13:31:25 +00:00
dos2unix.mk Rewrite the target ordering code. 2015-08-17 13:31:25 +00:00
drupal.mk Cleanup plist a bit, DRUPAL_MODDIR and DRUPAL_BASE belong to drupal ports, 2014-11-15 17:05:44 +00:00
elixir.mk Not all Hex package specifications start with the '~' character, 2015-07-27 15:34:25 +00:00
erlang.mk Rewrite the target ordering code. 2015-08-17 13:31:25 +00:00
execinfo.mk - Set variables with libexecinfo preprocessor and linker flags 2015-04-16 14:15:12 +00:00
fakeroot.mk Only the definition of the fakeroot command should conditioned to the UID 2014-12-18 08:30:20 +00:00
fam.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
fmake.mk Allow user to override MAKE_CMD without breaking gmake/fmake/scons ports. 2015-03-23 03:59:04 +00:00
fonts.mk Prevent double inclusion 2015-06-12 19:52:27 +00:00
fortran.mk Move LANG_GCC_IS from bsd.gcc.mk to bsd.default-versions.mk and use 2015-01-26 00:03:46 +00:00
fuse.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
gecko.mk - Update Firefox to 40.0 2015-08-07 12:02:41 +00:00
gettext-runtime.mk Split devel/gettext in devel/gettext-runtime and devel/gettext-tools. The 2014-11-29 18:22:32 +00:00
gettext-tools.mk Split devel/gettext in devel/gettext-runtime and devel/gettext-tools. The 2014-11-29 18:22:32 +00:00
gettext.mk Split devel/gettext in devel/gettext-runtime and devel/gettext-tools. The 2014-11-29 18:22:32 +00:00
ghostscript.mk Use -nox11-suffixed ports instead of DEPENDS_ARGS. 2015-07-27 05:45:39 +00:00
gmake.mk Allow user to override MAKE_CMD without breaking gmake/fmake/scons ports. 2015-03-23 03:59:04 +00:00
gnustep.mk Update GNUstep ports to their latest versions. 2015-07-01 13:50:28 +00:00
gperf.mk Fix typo 2014-10-07 16:45:30 +00:00
gssapi.mk Add missing GSSAPI{LIB,INC}DIR when :mit is specified. 2014-12-02 23:45:15 +00:00
horde.mk Use "horde" as default CPE vendor for all horde applications 2015-04-15 11:13:49 +00:00
iconv.mk Update GNUstep ports to their latest versions. 2015-07-01 13:50:28 +00:00
imake.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
jpeg.mk Add USES=jpeg, to handle dependency on a jpeg library 2015-06-22 18:30:35 +00:00
kmod.mk Rewrite the target ordering code. 2015-08-17 13:31:25 +00:00
lha.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
libarchive.mk Add 3 new uses 2015-07-19 14:36:00 +00:00
libedit.mk Add 3 new uses 2015-07-19 14:36:00 +00:00
libtool.mk Rewrite the target ordering code. 2015-08-17 13:31:25 +00:00
localbase.mk Fix typo 2015-07-19 17:22:11 +00:00
lua.mk bye lua@ 2015-04-16 12:44:17 +00:00
makeinfo.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
makeself.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
metaport.mk meta ports are always NO_ARCH 2015-04-01 17:59:57 +00:00
mono.mk Set an arbitrary time-zone. 2015-03-10 12:58:43 +00:00
motif.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
ncurses.mk Rewrite the target ordering code. 2015-08-17 13:31:25 +00:00
ninja.mk - Make it possible to override _MAKE_JOBS when MAKE_JOBS_NUMBER=1 2015-04-10 05:45:15 +00:00
objc.mk Update GNUstep ports to their latest versions. 2015-07-01 13:50:28 +00:00
openal.mk Replace USES=libtool:oldver with USES=libtool or USES=libtool:keepla in 2014-12-08 16:48:38 +00:00
pathfix.mk Rewrite the target ordering code. 2015-08-17 13:31:25 +00:00
pear.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
perl5.mk Rewrite the target ordering code. 2015-08-17 13:31:25 +00:00
pgsql.mk - Fix dependencies on docs, plperl, pltcl 2015-07-07 21:31:39 +00:00
pkgconfig.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
pure.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
python.mk Pass the default Python version (or the version required by port) 2015-06-10 09:23:54 +00:00
qmail.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
qmake.mk Update Qt5 ports to 5.3.2. 2014-11-05 09:39:21 +00:00
readline.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
scons.mk Allow user to override MAKE_CMD without breaking gmake/fmake/scons ports. 2015-03-23 03:59:04 +00:00
shared-mime-info.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
shebangfix.mk Rewrite the target ordering code. 2015-08-17 13:31:25 +00:00
tar.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
tcl.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
tk.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
twisted.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
uidfix.mk Always define GID, this fixes build of uidfix when building as root 2015-06-04 11:53:06 +00:00
uniquefiles.mk Rewrite the target ordering code. 2015-08-17 13:31:25 +00:00
waf.mk Fix a typo 2015-04-08 18:32:18 +00:00
webplugin.mk Rewrite the target ordering code. 2015-08-17 13:31:25 +00:00
xfce.mk USES=xfce: Stop overriding MASTER_SITE_SUBDIR. 2015-04-28 17:01:46 +00:00
zip.mk Change the way USES is handled: 2014-09-28 16:36:31 +00:00
zope.mk Rewrite the target ordering code. 2015-08-17 13:31:25 +00:00