mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 15:36:35 -04:00
Automatic PORTVERSION numbering.
This commit is contained in:
parent
59e8a3689f
commit
243cbafde8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=79009
1 changed files with 3 additions and 1 deletions
|
@ -19,7 +19,9 @@ MAN1= gxditview.1
|
||||||
|
|
||||||
.if exists(/usr/src/contrib/groff/src/xditview)
|
.if exists(/usr/src/contrib/groff/src/xditview)
|
||||||
GXDVSRC= /usr/src/contrib/groff/src/xditview
|
GXDVSRC= /usr/src/contrib/groff/src/xditview
|
||||||
PORTVERSION= 1.17
|
GXDVVERSION!= cat /usr/src/contrib/groff/VERSION
|
||||||
|
GXDVREVISION!= sed -e 's/^0$$//' -e 's/^[1-9].*$$/.&/' /usr/src/contrib/groff/REVISION
|
||||||
|
PORTVERSION= ${GXDVVERSION}${GXDVREVISION}
|
||||||
.else
|
.else
|
||||||
GXDVSRC= /usr/src/contrib/groff/xditview
|
GXDVSRC= /usr/src/contrib/groff/xditview
|
||||||
PORTVERSION= 1.16.1
|
PORTVERSION= 1.16.1
|
||||||
|
|
Loading…
Add table
Reference in a new issue