mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
78b8b9e4ba
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@ |
||
---|---|---|
.. | ||
ada.mk | ||
bison.mk | ||
charsetfix.mk | ||
cmake.mk | ||
compiler.mk | ||
cran.mk | ||
desktop-file-utils.mk | ||
display.mk | ||
dos2unix.mk | ||
fam.mk | ||
fmake.mk | ||
fortran.mk | ||
fuse.mk | ||
gettext.mk | ||
gmake.mk | ||
iconv.mk | ||
imake.mk | ||
kmod.mk | ||
lua.mk | ||
motif.mk | ||
ncurses.mk | ||
ninja.mk | ||
openal.mk | ||
pathfix.mk | ||
perl5.mk | ||
pkgconfig.mk | ||
pure.mk | ||
qmail.mk | ||
qmake.mk | ||
readline.mk | ||
scons.mk | ||
shared-mime-info.mk | ||
shebangfix.mk | ||
tcl.mk | ||
tk.mk | ||
twisted.mk | ||
uidfix.mk | ||
uniquefiles.mk | ||
webplugin.mk | ||
zenoss.mk | ||
zope.mk |