mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Add a USES=imake:noman to make NO_INSTALL_MANPAGES go away.
CR: D594 Reviewed by: antoine Sponsored by: Absolight
This commit is contained in:
parent
ecef389230
commit
4d74d14e32
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364718
@ -6,6 +6,8 @@
|
||||
# Usage: USES=imake
|
||||
# Valid ARGS: env: do not define any target
|
||||
# notall: do not pass -a to xmkmf
|
||||
# noman: do not add install-man to
|
||||
# INSTALL_TARGET
|
||||
#
|
||||
# MAINTAINER: x11@FreeBSD.org
|
||||
|
||||
@ -13,16 +15,19 @@
|
||||
_INCLUDE_USES_IMAKE_MK= yes
|
||||
|
||||
.if defined(imake_ARGS)
|
||||
.if ${imake_ARGS} == env
|
||||
IMAKE_ENV_ONLY= yes
|
||||
.elif ${imake_ARGS} == notall
|
||||
IMAKE_NOTALL= yes
|
||||
.else
|
||||
IGNORE= USES=imake ${imake_ARGS} is not a valid argument
|
||||
imake_ARGS:= ${imake_ARGS:S/,/ /g}
|
||||
.if ${imake_ARGS:Nnotall:Nenv:Nnoman}
|
||||
IGNORE= USES=imake:${imake_ARGS:S/ /,/g} is not a valid argument
|
||||
.endif
|
||||
.else
|
||||
imake_ARGS=
|
||||
.endif
|
||||
|
||||
.if !defined(NO_INSTALL_MANPAGES)
|
||||
.if defined(NO_INSTALL_MANPAGES)
|
||||
imake_ARGS+= noman
|
||||
.endif
|
||||
|
||||
.if ! ${imake_ARGS:Mnoman}
|
||||
MANCOMPRESSED?= yes
|
||||
.endif
|
||||
|
||||
@ -39,17 +44,17 @@ BUILD_DEPENDS+= tradcpp:${PORTSDIR}/devel/tradcpp
|
||||
MAKE_ENV+= IMAKECPP=${IMAKECPP} IMAKECPPFLAGS="${IMAKECPPFLAGS}"
|
||||
CONFIGURE_ENV+= IMAKECPP=${IMAKECPP} IMAKECPPFLAGS="${IMAKECPPFLAGS}"
|
||||
|
||||
.if !defined(IMAKE_NOTALL)
|
||||
.if ! ${imake_ARGS:Mnotall}
|
||||
XMKMF_ARGS+= -a
|
||||
.endif
|
||||
|
||||
.if !defined(IMAKE_ENV_ONLY)
|
||||
.if ! ${imake_ARGS:Menv}
|
||||
.if !target(do-configure)
|
||||
do-configure:
|
||||
@(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${MAKE_ENV} ${XMKMF} ${XMKMF_ARGS})
|
||||
.endif
|
||||
|
||||
.if !defined(NO_INSTALL_MANPAGES)
|
||||
.if ! ${imake_ARGS:Mnoman}
|
||||
LATE_INSTALL_ARGS= install.man
|
||||
.endif
|
||||
|
||||
|
@ -587,12 +587,6 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org
|
||||
# Installs all directories and files from ${WRKSRC}/doc
|
||||
# to ${DOCSDIR} except sed backup files.
|
||||
#
|
||||
# Boolean to control whether manpages are installed.
|
||||
#
|
||||
# NO_INSTALL_MANPAGES
|
||||
# - If set, this port doesn't want to install any manpages.
|
||||
# Default: not set, i.e. manpages are installed by default.
|
||||
#
|
||||
# Set the following to specify all manpages that your port installs.
|
||||
# These manpages will be automatically listed in ${PLIST}. Depending
|
||||
# on the setting of NO_MANCOMPRESS, the make rules will compress the
|
||||
@ -629,8 +623,8 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org
|
||||
# "maybe". "yes" means manpages are installed
|
||||
# compressed; "no" means they are not; "maybe" means
|
||||
# it changes depending on the value of NO_MANCOMPRESS.
|
||||
# Default: "yes" if USES=imake is set and NO_INSTALL_MANPAGES
|
||||
# is not set, and "no" otherwise.
|
||||
# Default: "yes" if USES=imake is set without the noman
|
||||
# argument, and "no" otherwise.
|
||||
#
|
||||
# Set the following to specify all .info files your port installs.
|
||||
#
|
||||
|
@ -150,7 +150,8 @@ SANITY_UNSUPPORTED= USE_OPENAL USE_FAM USE_MAKESELF USE_ZIP USE_LHA USE_CMAKE \
|
||||
USE_GETTEXT USE_GMAKE USE_SCONS USE_DRUPAL
|
||||
SANITY_DEPRECATED= USE_XZ USE_BZIP2 USE_PYDISTUTILS PYTHON_CONCURRENT_INSTALL \
|
||||
PYDISTUTILS_AUTOPLIST PYTHON_PY3K_PLIST_HACK PYDISTUTILS_NOEGGINFO \
|
||||
PYTHON_MASTER_SITES USE_PYTHON_PREFIX PYTHON_PKGNAMESUFFIX
|
||||
PYTHON_MASTER_SITES USE_PYTHON_PREFIX PYTHON_PKGNAMESUFFIX \
|
||||
NO_INSTALL_MANPAGES
|
||||
|
||||
USE_OPENAL_ALT= USES=openal
|
||||
USE_FAM_ALT= USES=fam
|
||||
@ -180,6 +181,7 @@ PYDISTUTILS_NOEGGINFO_ALT= PYTHON_FEATURES=noegginfo
|
||||
USE_PYTHON_PREFIX_ALT= PYTHON_FEATURES=pythonprefix
|
||||
PYTHON_PKGNAMESUFFIX_ALT= PYTHON_PKGNAMEPREFIX
|
||||
PYTHON_MASTER_SITES_ALT= MASTER_SITE_PYTHON
|
||||
NO_INSTALL_MANPAGES_ALT= USES=imake:noman
|
||||
|
||||
.for a in ${SANITY_DEPRECATED}
|
||||
.if defined(${a})
|
||||
|
Loading…
Reference in New Issue
Block a user