Changeset View
Changeset View
Standalone View
Standalone View
Mk/bsd.port.mk
Show First 20 Lines • Show All 1,528 Lines • ▼ Show 20 Lines | |||||
DEV_ERROR+= "${PKGNAME}: Makefile error: you cannot include bsd.port[.post].mk twice" | DEV_ERROR+= "${PKGNAME}: Makefile error: you cannot include bsd.port[.post].mk twice" | ||||
@${FALSE} | @${FALSE} | ||||
.endif | .endif | ||||
_POSTMKINCLUDED= yes | _POSTMKINCLUDED= yes | ||||
WRKDIR?= ${WRKDIRPREFIX}${.CURDIR}/work | WRKDIR?= ${WRKDIRPREFIX}${.CURDIR}/work | ||||
.if !defined(IGNORE_MASTER_SITE_GITHUB) && defined(USE_GITHUB) | .if !defined(IGNORE_MASTER_SITE_GITHUB) && defined(USE_GITHUB) | ||||
. if defined(GH_COMMIT) | |||||
swills: Perhaps this should also check that GH_TAGNAME is defined? | |||||
WRKSRC?= ${WRKDIR}/${GH_ACCOUNT}-${GH_PROJECT}-${GH_COMMIT} | WRKSRC?= ${WRKDIR}/${GH_ACCOUNT}-${GH_PROJECT}-${GH_COMMIT} | ||||
. else | |||||
WRKSRC?= ${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME} | |||||
Not Done Inline ActionsGH_TAGNAME may not be defined if using a release, so a check that that's defined and using only ${GH_PROJECT}-${PORTVERSION} would be good. swills: GH_TAGNAME may not be defined if using a release, so a check that that's defined and using only… | |||||
Not Done Inline ActionsNevermind, I was misunderstanding something. swills: Nevermind, I was misunderstanding something. | |||||
. endif | |||||
.endif | .endif | ||||
.if defined(NO_WRKSUBDIR) | .if defined(NO_WRKSUBDIR) | ||||
WRKSRC?= ${WRKDIR} | WRKSRC?= ${WRKDIR} | ||||
.else | .else | ||||
WRKSRC?= ${WRKDIR}/${DISTNAME} | WRKSRC?= ${WRKDIR}/${DISTNAME} | ||||
.endif | .endif | ||||
.if defined(WRKSRC_SUBDIR) | .if defined(WRKSRC_SUBDIR) | ||||
WRKSRC:= ${WRKSRC}/${WRKSRC_SUBDIR} | WRKSRC:= ${WRKSRC}/${WRKSRC_SUBDIR} | ||||
▲ Show 20 Lines • Show All 4,650 Lines • Show Last 20 Lines |
Perhaps this should also check that GH_TAGNAME is defined?