diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2015-03-20 20:07:50 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2015-03-20 20:07:50 +0000 |
commit | 37a1520519ee83036c46ea4a7bef0737f7af41aa (patch) | |
tree | d55fb2451f67f6538b539550623fa95154877b37 /Mk/bsd.port.mk | |
parent | 16488a9305b16333c943d98a656eed0a4b456eb0 (diff) | |
download | ports-37a1520519ee83036c46ea4a7bef0737f7af41aa.tar.gz ports-37a1520519ee83036c46ea4a7bef0737f7af41aa.zip |
Notes
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r-- | Mk/bsd.port.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 0659f327ce97..5e4831792fa4 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -1353,7 +1353,11 @@ _SUF2= ,${PORTEPOCH} PKGVERSION= ${PORTVERSION:C/[-_,]/./g}${_SUF1}${_SUF2} PKGNAME= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}-${PKGVERSION} DISTVERSIONFULL= ${DISTVERSIONPREFIX}${DISTVERSION:C/:(.)/\1/g}${DISTVERSIONSUFFIX} +.if defined(USE_GITHUB) && defined(GH_TAGNAME) && !defined(GH_COMMIT) +DISTNAME?= ${GH_ACCOUNT}-${GH_PROJECT}-${DISTVERSIONFULL}-${GH_TAGNAME} +.else DISTNAME?= ${PORTNAME}-${DISTVERSIONFULL} +.endif INDEXFILE?= INDEX-${OSVERSION:C/([0-9]*)[0-9]{5}/\1/} |