Commit graph

7 commits

Author SHA1 Message Date
Tijl Coosemans
fe837ee6c6 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)
2014-09-28 16:36:31 +00:00
Baptiste Daroussin
b4b12dff05 Add txz and bz2 arguments to USES=tar
bz2 with other arguments where the argument is the extention not the frmat
Keep bzip2 as an alias for bz2.
2014-08-04 11:46:15 +00:00
Antoine Brodin
6ab5e9e897 Fix a typo
Submitted by:	rene
With hat:	portmgr
2014-03-30 10:50:26 +00:00
Mathieu Arnold
b6007efa61 Add tar:tbz.
Suggested by:	danfe
Sponsored by:	Absolight
2014-03-17 13:13:01 +00:00
Gerald Pfeifer
5b4f2ad658 Move MAINTAINER lines to the end of the initial comment block and
make things a bit more consistent.

Approved by:	portmgr (bapt)
2014-03-15 10:31:54 +00:00
Sunpoet Po-Chuan Hsieh
e4a6a5ed41 - Add USES=tar:lzma for .tar.lzma case
Approved by:	bapt (portmgr)
2014-03-12 17:59:02 +00:00
Baptiste Daroussin
d17874dc5d Two new USES added to finish handling distfiles formats a consistent way:
USES=tar[:[xz|bzip2|Z|tgz]] handles distributions files in format:
- plain tar
- tar.xz
- tar.bz2
- tar.Z
- tgz

USES=lha handles distributions files info LHA format
2014-03-12 09:17:06 +00:00