Changeset View
Changeset View
Standalone View
Standalone View
head/Mk/bsd.port.mk
Show First 20 Lines • Show All 568 Lines • ▼ Show 20 Lines | |||||
# - A command to install binary executables. (By | # - A command to install binary executables. (By | ||||
# default, also strips them, unless ${STRIP} is | # default, also strips them, unless ${STRIP} is | ||||
# overridden to be the empty string). | # overridden to be the empty string). | ||||
# INSTALL_KLD - As INSTALL_PROGRAM, but without the STRIP. | # INSTALL_KLD - As INSTALL_PROGRAM, but without the STRIP. | ||||
# INSTALL_LIB - As INSTALL_DATA, but also strips the file. | # INSTALL_LIB - As INSTALL_DATA, but also strips the file. | ||||
# INSTALL_SCRIPT | # INSTALL_SCRIPT | ||||
# - A command to install executable scripts. | # - A command to install executable scripts. | ||||
# INSTALL_DATA - A command to install sharable data. | # INSTALL_DATA - A command to install sharable data. | ||||
# INSTALL_MAN - A command to install manpages. May or not compress, | # INSTALL_MAN - A command to install manpages. | ||||
# depending on the value of MANCOMPRESSED (see below). | |||||
# COPYTREE_BIN | # COPYTREE_BIN | ||||
# COPYTREE_SHARE | # COPYTREE_SHARE | ||||
# - Similiar to INSTALL_PROGRAM and INSTALL_DATA commands but | # - Similiar to INSTALL_PROGRAM and INSTALL_DATA commands but | ||||
# working on whole trees of directories, takes 3 arguments, | # working on whole trees of directories, takes 3 arguments, | ||||
# last one is find(1) arguments and optional. | # last one is find(1) arguments and optional. | ||||
# Example use: | # Example use: | ||||
# cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${DOCSDIR} "! -name *\.bak" | # cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${DOCSDIR} "! -name *\.bak" | ||||
# | # | ||||
▲ Show 20 Lines • Show All 1,023 Lines • ▼ Show 20 Lines | |||||
PLIST_SUB+= PORTEXAMPLES="" | PLIST_SUB+= PORTEXAMPLES="" | ||||
.endif | .endif | ||||
CONFIGURE_SHELL?= ${SH} | CONFIGURE_SHELL?= ${SH} | ||||
MAKE_SHELL?= ${SH} | MAKE_SHELL?= ${SH} | ||||
CONFIGURE_ENV+= SHELL=${CONFIGURE_SHELL} CONFIG_SHELL=${CONFIGURE_SHELL} | CONFIGURE_ENV+= SHELL=${CONFIGURE_SHELL} CONFIG_SHELL=${CONFIGURE_SHELL} | ||||
MAKE_ENV+= SHELL=${MAKE_SHELL} NO_LINT=YES | MAKE_ENV+= SHELL=${MAKE_SHELL} NO_LINT=YES | ||||
.if defined(MANCOMPRESSED) | |||||
.if ${MANCOMPRESSED} != yes && ${MANCOMPRESSED} != no && \ | |||||
${MANCOMPRESSED} != maybe | |||||
check-makevars:: | |||||
@${ECHO_MSG} "${PKGNAME}: Makefile error: value of MANCOMPRESSED (is \"${MANCOMPRESSED}\") can only be \"yes\", \"no\" or \"maybe\"". | |||||
@${FALSE} | |||||
.endif | |||||
.endif | |||||
MANCOMPRESSED?= no | |||||
.if defined(PATCHFILES) | .if defined(PATCHFILES) | ||||
.if ${PATCHFILES:M*.zip}x != x | .if ${PATCHFILES:M*.zip}x != x | ||||
PATCH_DEPENDS+= ${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip | PATCH_DEPENDS+= ${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip | ||||
.endif | .endif | ||||
.endif | .endif | ||||
# Check the compatibility layer for amd64/ia64 | # Check the compatibility layer for amd64/ia64 | ||||
▲ Show 20 Lines • Show All 4,560 Lines • Show Last 20 Lines |