1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/Mk
Akinori MUSHA e00f292763 Add a bunch of generally used command macros:
BZCAT, BZIP2_CMD, CHGRP, CUT, DC, ECHO_CMD, EGREP, FILE, FIND,
    HEAD, ID, IDENT, STRIP_CMD, SU, TAIL, TEST, XARGS

And use shell (ash or ksh) builtins where available for efficiency:

    ECHO_CMD, FALSE, TEST, TRUE

Grepping the ports tree, a few dozen ports already have FIND,
STRIP_CMD and XARGS variables on their own and numerous ports use
these commands without using macros.  Some ports use FILE as a .for
loop variable, but it doesn't matter anyway.

Obtained from:	NetBSD

Remove the definition of ECHO because it is already defined in
/usr/share/mk/sys.mk and leaving the useless definition may mislead
developers.  Add the following comment that would help:

    # ECHO is defined in /usr/share/mk/sys.mk and its value can either be
    # "echo", or "true" if the make flag -s is given.  Use ECHO_CMD where
    # you mean the echo command.

No response yet from:	portmgr
Clued by:	Cyrille Lefevre <clefevre@citeweb.net> (on ${ECHO})
2001-11-17 21:05:50 +00:00
..
bsd.emacs.mk Add new emacsen: emacs21. 2001-10-23 17:14:25 +00:00
bsd.gnome.mk Fix a logic problem in rev 1.10. Allow datadir to be overridden in all 2001-09-11 18:56:22 +00:00
bsd.kde4.mk (QT3/KDE3 only:) Use alternate dependency style; fix looking for qt 2001-11-14 15:56:53 +00:00
bsd.kde.mk (QT3/KDE3 only:) Use alternate dependency style; fix looking for qt 2001-11-14 15:56:53 +00:00
bsd.port.mk Add a bunch of generally used command macros: 2001-11-17 21:05:50 +00:00
bsd.port.post.mk
bsd.port.pre.mk
bsd.port.subdir.mk Make 'make search key="something with spaces"' etc. work. 2001-06-29 03:39:54 +00:00
bsd.python.mk Use a variable for PYTHON_PORTVERSION. 2001-08-03 11:20:33 +00:00
bsd.ruby.mk Update ruby-devel to the latest snapshot (1.7.2-2001.11.09). 2001-11-10 19:08:34 +00:00
bsd.sites.mk Add more master sites of CPAN and GNU for whom from China and Hong Kong. 2001-08-26 04:14:17 +00:00