Changeset View
Changeset View
Standalone View
Standalone View
Mk/bsd.port.mk
Show First 20 Lines • Show All 1,698 Lines • ▼ Show 20 Lines | |||||
. endif | . endif | ||||
WRKSRC?= ${WRKDIR}/${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT} | WRKSRC?= ${WRKDIR}/${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT} | ||||
. endif | . endif | ||||
. if !default(IGNORE_MASTER_SITE_GITLAB) && defined(USE_GITLAB) && empty(USE_GITLAB:Mnodefault) | . if !default(IGNORE_MASTER_SITE_GITLAB) && defined(USE_GITLAB) && empty(USE_GITLAB:Mnodefault) | ||||
. if defined(WRKSRC) | . if defined(WRKSRC) | ||||
DEV_WARNING+= "You are using USE_GITLAB and WRKSRC is set which is wrong. Set GL_PROJECT, GL_ACCOUNT correctly, and/or set WRKSRC_SUBDIR and remove WRKSRC entirely." | DEV_WARNING+= "You are using USE_GITLAB and WRKSRC is set which is wrong. Set GL_PROJECT, GL_ACCOUNT correctly, and/or set WRKSRC_SUBDIR and remove WRKSRC entirely." | ||||
. endif | . endif | ||||
WRKSRC?= ${WRKDIR}/${GL_PROJECT}-${GL_COMMIT} | WRKSRC?= ${WRKDIR}/${GL_PROJECT}-${GL_TAGNAME} | ||||
. endif | . endif | ||||
# If the distname is not extracting into a specific subdirectory, have the | # If the distname is not extracting into a specific subdirectory, have the | ||||
# ports framework force extract into a subdirectory so that metadata files | # ports framework force extract into a subdirectory so that metadata files | ||||
# do not get in the way of the build, and vice-versa. | # do not get in the way of the build, and vice-versa. | ||||
. if defined(NO_WRKSUBDIR) | . if defined(NO_WRKSUBDIR) | ||||
# Some ports have DISTNAME=PORTNAME, and USE_RC_SUBR=PORTNAME, in those case, | # Some ports have DISTNAME=PORTNAME, and USE_RC_SUBR=PORTNAME, in those case, | ||||
# the rc file will conflict with WRKSRC, as WRKSRC is artificial, make it the | # the rc file will conflict with WRKSRC, as WRKSRC is artificial, make it the | ||||
▲ Show 20 Lines • Show All 1,222 Lines • ▼ Show 20 Lines | |||||
DEPENDS_TARGET+= reinstall | DEPENDS_TARGET+= reinstall | ||||
. else | . else | ||||
DEPENDS_TARGET+= install | DEPENDS_TARGET+= install | ||||
. endif | . endif | ||||
. if defined(DEPENDS_CLEAN) | . if defined(DEPENDS_CLEAN) | ||||
DEPENDS_TARGET+= clean | DEPENDS_TARGET+= clean | ||||
DEPENDS_ARGS+= NOCLEANDEPENDS=yes | DEPENDS_ARGS+= NOCLEANDEPENDS=yes | ||||
. endif | . endif | ||||
. endif | |||||
. if defined(USE_GITLAB) && !${USE_GITLAB:Mnodefault} && empty(GL_COMMIT_DEFAULT) | |||||
check-makevars:: | |||||
@${ECHO_MSG} "GL_COMMIT is a required 40 character hash for use USE_GITLAB" | |||||
@${FALSE} | |||||
. endif | . endif | ||||
################################################################ | ################################################################ | ||||
# | # | ||||
# Do preliminary work to detect if we need to run the config | # Do preliminary work to detect if we need to run the config | ||||
# target or not. | # target or not. | ||||
# | # | ||||
################################################################ | ################################################################ | ||||
▲ Show 20 Lines • Show All 2,444 Lines • Show Last 20 Lines |