diff options
author | ru <ru@FreeBSD.org> | 2003-04-15 23:06:46 +0800 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2003-04-15 23:06:46 +0800 |
commit | f6de92a254be6998415d35fb1b972d51edba9660 (patch) | |
tree | bb213d7d3f44a0ede3fedfdb5dbe286ecff8fcd6 /textproc | |
parent | 117bf4800f5bd442598686349d1f6ceee1146365 (diff) | |
download | freebsd-ports-gnome-f6de92a254be6998415d35fb1b972d51edba9660.tar.gz freebsd-ports-gnome-f6de92a254be6998415d35fb1b972d51edba9660.tar.zst freebsd-ports-gnome-f6de92a254be6998415d35fb1b972d51edba9660.zip |
Automatic PORTVERSION numbering.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/gxditview/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/textproc/gxditview/Makefile b/textproc/gxditview/Makefile index 77de22c43081..deb34b2f1cd8 100644 --- a/textproc/gxditview/Makefile +++ b/textproc/gxditview/Makefile @@ -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 |