1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Automatic PORTVERSION numbering.

This commit is contained in:
Ruslan Ermilov 2003-04-15 15:06:46 +00:00
parent 59e8a3689f
commit 243cbafde8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=79009

View File

@ -19,7 +19,9 @@ MAN1= gxditview.1
.if exists(/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
GXDVSRC= /usr/src/contrib/groff/xditview
PORTVERSION= 1.16.1