1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/Mk
Marcus von Appen 78b8b9e4ba 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
UNIQUE_SUFFIX_FILES=  bin/foo

The uniquefiles USES automatically adjusts the plist at
installation time. There is no need to consider the prefix
or suffix in the pkg-plist file itself. If the original name
of the renamed file is bin/foo, this exact name should be put
into pkg-plist.

The dirs argument to USES=uniquefiles will cause certain
standard directories, such as DOCSDIR or EXAMPLESDIR to be
prepended with the UNIQUE_PREFIX. The change to the directories
will hapen prior to configuring or building the port, so that
the port Makefile as well as the port's build logic are aware
of the changed name.

Since the uniquefiles USES effectively manipulates the port's
installation and file layout, it will only be available for
stagedir-aware ports. Ports with NO_STAGE=yes will be unable
to use the uniquefiles USES.

Reviewed by:	portmgr@
Approved by:	portmgr@
2014-01-11 16:52:34 +00:00
..
Scripts Fix paths check from qa.sh 2014-01-09 18:43:36 +00:00
Uses New USES=uniquefiles to make files or directories unique 2014-01-11 16:52:34 +00:00
bsd.apache.mk - support STAGE for ports using AP_FAST_BUILD 2013-11-10 23:05:35 +00:00
bsd.autotools.mk Convert LIB_DEPENDS 2013-12-13 10:44:22 +00:00
bsd.commands.mk Two imake related changes: 2013-09-02 13:26:34 +00:00
bsd.database.mk Use new LIB_DEPENDS format for USE_SQLITE 2013-12-16 23:03:50 +00:00
bsd.default-versions.mk Add a USES=lua (WIP) that only supports lua 5.2 2014-01-10 08:25:49 +00:00
bsd.destdir.mk
bsd.drupal.mk
bsd.efl.mk - Convert to new LIB_DEPENDS syntax 2013-09-29 09:31:56 +00:00
bsd.emacs.mk
bsd.fpc.mk
bsd.gcc.mk Disconnect lang/gcc34 from bsd.gcc.mk, it is not used by any port anymore. 2014-01-04 15:49:15 +00:00
bsd.gecko.mk Update to nspr 4.10.2 2013-12-14 13:42:06 +00:00
bsd.gnome.mk Update ltverhack. 2013-12-27 16:05:36 +00:00
bsd.gnustep.mk Use new LIB_DEPENDS syntax for bsd.gnustep.mk 2013-12-16 23:12:24 +00:00
bsd.gstreamer.mk Update to 1.2.2. 2013-12-30 12:56:11 +00:00
bsd.java.mk Change DESTDIRNAME into a ant compatible argument when a port is staged 2013-11-12 10:36:16 +00:00
bsd.kde4.mk - Update Calligra Suite to 2.7.5. 2013-12-16 22:59:42 +00:00
bsd.ldap.mk
bsd.licenses.db.mk Replace a source of information that has disapeared[1] by another one[2] 2013-12-30 23:06:37 +00:00
bsd.licenses.mk Remove more now useless fallback targets 2014-01-03 23:05:37 +00:00
bsd.linux-apps.mk Now that x11-toolkits/linux-f10-gtk is gone, remove its definition. 2013-12-01 00:40:07 +00:00
bsd.linux-rpm.mk Rework linux rpm plist generation/installation 2013-10-06 09:08:22 +00:00
bsd.local.mk
bsd.lua.mk Finish removing support for lua50 2013-11-18 16:15:51 +00:00
bsd.mate.mk Say hello to Mate 1.6. 2013-11-23 11:39:07 +00:00
bsd.ocaml.mk - Fix svn properties for Mk/bsd.ocaml.mk 2013-09-20 12:16:14 +00:00
bsd.octave.mk - USE_GMAKE to USES=gmake. 2013-07-06 01:48:53 +00:00
bsd.openssl.mk
bsd.options.desc.mk Add description for DJVU and PS 2013-11-23 18:18:33 +00:00
bsd.options.mk fmake doesn't like previous commit (which breaks index) [1] 2013-12-15 23:44:13 +00:00
bsd.pbi.mk - Fix bsd.pbi.mk to pull pbi-manager from the correct port 2013-09-27 10:10:29 +00:00
bsd.php.mk Add support for staging PHP extensions. 2013-10-30 13:28:00 +00:00
bsd.pkgng.mk Backout encoding of comments, it is triggering a pkgng bug with one of our ports 2014-01-10 13:07:05 +00:00
bsd.port.mk New USES=uniquefiles to make files or directories unique 2014-01-11 16:52:34 +00:00
bsd.port.options.mk
bsd.port.post.mk
bsd.port.pre.mk
bsd.port.subdir.mk - Use proper UNAME variable here 2013-12-03 19:08:47 +00:00
bsd.python.mk - Remove lang/python as implicit build and run dependency from 2013-12-18 17:21:49 +00:00
bsd.qt.mk In preparation for Qt 5 ports: 2014-01-06 16:16:52 +00:00
bsd.ruby.mk - Fix mkmf DESTDIR issue with patch from upstream 2014-01-02 20:46:29 +00:00
bsd.sanity.mk - Remove USE_FAM, it has been replaced by USES=fam 2014-01-05 13:33:37 +00:00
bsd.scons.mk Allow scons port to support staging 2013-10-02 22:33:27 +00:00
bsd.sdl.mk Version two of the SDL2_gfx library, compatible with SDL2.0. 2013-11-13 18:15:08 +00:00
bsd.sites.mk backout 2 changes that should not have been committed with r339348 2014-01-10 13:10:34 +00:00
bsd.ssp.mk - Rename public name of SSP support to WITH_SSP_PORTS as /usr/src 2013-09-22 00:26:05 +00:00
bsd.stage.mk Add an internal variable to decide if DESTDIR should ve define in MAKE_ENV or MAKE_ARGS 2014-01-07 08:17:17 +00:00
bsd.tcl.mk
bsd.tex.mk
bsd.wx.mk - Revert file erroneously included in my previous commit 2013-09-19 09:58:00 +00:00
bsd.xfce.mk - Fix devel/xfce4-dev-tools detection, when xfdev is used in USE_XFCE macro 2013-10-20 18:53:04 +00:00
bsd.xorg.mk Try to fix font handling for xorg fonts when using staging and pkgng. 2013-12-19 10:49:00 +00:00