notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
non port: Mk/Uses/uniquefiles.mk
SVNWeb

Number of commits found: 12

Tue, 6 Apr 2021
[ 14:27 Mathieu Arnold (mat) search for other commits by this committer ]    commit hash:5d33e045968104ac678d8b4b4ec1e8956bbf68e0  5d33e04  (Only the first 10 of 224 ports in this commit are shown above. View all ports for this commit)
framework: Remove $FreeBSD$

Where appropriate fiddle with a few other things.
Tue, 19 Dec 2017
[ 16:23 mat search for other commits by this committer ] Original commit   Revision:456737
Enhance USES=uniquefiles to be more generic.

This allows to have more complex renaming schemes.  Until now, it could
only add a prefix or a suffix, but this was not working at all for man
pages, because it would give man/man1/pyfoo.1.gz-2.7 or
man/man1/pyfoo-1-2.7.gz.  With this change, a man page will be correctly
renamed to man/man1/pyfoo-2.7.1.gz.

Unfix ports that were already handling man pages.

PR:		220214
Submitted by:	Fukang Chen (previous patch)
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D13444
Thu, 20 Apr 2017
[ 11:13 mat search for other commits by this committer ] Original commit   Revision:438939
Use the new ${RLN} relative symlink magic to create uniquefiles.

Before, the symlinks were created as absolute paths, so it would look
like this:

  $ ls -l /usr/local/bin/
  [...]
  lrwxr-xr-x  1 root  wheel      12 Apr 14 14:28 autopep8 ->
/usr/local/bin/autopep8-2.7
  -rwxr-xr-x  1 root  wheel     395 Apr 14 14:28 autopep8-2.7
  [...]

After, the symlinks are created with relative paths:

  $ ls -l /usr/local/bin/
  [...]
  lrwxr-xr-x  1 root  wheel      12 Apr 14 14:28 autopep8 -> autopep8-2.7
  -rwxr-xr-x  1 root  wheel     395 Apr 14 14:28 autopep8-2.7
  [...]

Reviewed by:	bapt
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D10395
Mon, 17 Aug 2015
[ 13:31 mat search for other commits by this committer ] Original commit   Revision:394503 (Only the first 10 of 17 ports in this commit are shown above. View all ports for this commit)
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
(Only the first 15 lines of the commit message are shown above View all of this commit message)
Tue, 2 Jun 2015
[ 03:25 koobs search for other commits by this committer ] Original commit   Revision:388301
Mk/Uses/uniquefiles.mk: Clearer and less ambiguous output

Make output messaging clearer about what uniquefiles is doing
especially with regard to moving and linking (default links).

- Add "action" prefix (Move, Link) to operations performed
- Use the form "Creating unique files" for the stage summary
- Be clear that we're processing files that *need* prefixes or
  suffixes, and not moving files that *have* prefixes or suffixes"

Differential Revision:	https://reviews.freebsd.org/D2706
Reviewed by:		mat
Approved by:		mat (portmgr)
Sun, 28 Sep 2014
[ 16:36 tijl search for other commits by this committer ] Original commit   Revision:369465 (Only the first 10 of 53 ports in this commit are shown above. View all ports for this commit)
Change the way USES is handled:
- Loop over USES twice, once to define all *_ARGS variables and once to
  include Uses/*.mk.  This allows all Uses/*.mk to examine arguments given
  to other USES entries.
- Always define *_ARGS (possibly empty) and replace commas with spaces.

Similar for _USES_POST.

Adjust all Uses/*.mk:
- defined(u_ARGS) becomes !empty(u_ARGS)
- Eliminate helper variables like _*_ARGS=${*_ARGS:C/,/ /g}
- Some Uses/*.mk used ":" as argument separator instead of ",", but no port
  used this form
- Uses/cran.mk: remove unused variable VALID_ARGS and USES+=fortran which
  has no effect
- Uses/twisted.mk: simplify handling of the case where neither "build" nor
  "run" arguments have been specified

PR:		193931
Exp-run by:	antoine
Approved by:	portmgr (antoine)
Mon, 1 Sep 2014
[ 05:43 bapt search for other commits by this committer ] Original commit   Revision:366839 (Only the first 10 of 17 ports in this commit are shown above. View all ports for this commit)
Remove support for NO_STAGE
Mark all current non staged ports as BROKEN

Reviewed by:	antoine
Exp-run:	antoine
Differential Revision:	https://reviews.freebsd.org/D693
Thu, 7 Aug 2014
[ 16:57 mva search for other commits by this committer ] Original commit   Revision:364309
- If USES=uniquefiles is used without another .mk file incorporating it, the
  post hooks might not be properly executed, causing a loss of functionality,
  especially moving individual files around

Phabric:		D559
Approved by:	portmgr (antoine@)
Wed, 18 Jun 2014
[ 07:17 bapt search for other commits by this committer ] Original commit   Revision:358215
Switch to tabspace: 8
Sat, 15 Mar 2014
[ 10:31 gerald search for other commits by this committer ] Original commit   Revision:348308 (Only the first 10 of 47 ports in this commit are shown above. View all ports for this commit)
Move MAINTAINER lines to the end of the initial comment block and
make things a bit more consistent.

Approved by:	portmgr (bapt)
Tue, 11 Feb 2014
[ 18:37 mva search for other commits by this committer ] Original commit   Revision:343796
- Properly prefix or suffix symlinks, which do not point to a file within the
  stagedir environment, but to some file using a ${PREFIX}-based path

PR:		ports/186619
Submitted by:	mva@ (myself)
Approved by:	portmgr@ (bapt)
Sat, 11 Jan 2014
[ 16:52 mva search for other commits by this committer ] Original commit   Revision:339436
New USES=uniquefiles to make files or directories unique
by adding a prefix or suffix to them.

Files listed in UNIQUE_PREFIX_FILES will receive the prefix
set via UNIQUE_PREFIX. The same applies to UNIQUE_SUFFIX_FILES,
but with the chosen UNIQUE_SUFFIX. UNIQUE_PREFIX and
UNIQUE_SUFFIX are set to PKGNAMEPREFIX and PKGNAMESUFFIX by
default.
The uniquefiles USES enables ports to name files in special
ways, e.g. by outlining that the port does not support X11
(-nox11). A binary named bin/foo thus can be easily renamed
to bin/foo-featureA via

USES=                 uniquefiles
UNIQUE_SUFFIX=        -featureA
(Only the first 15 lines of the commit message are shown above View all of this commit message)

Number of commits found: 12