aboutsummaryrefslogtreecommitdiff
path: root/textproc/gxditview/Makefile
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2003-04-15 15:06:46 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2003-04-15 15:06:46 +0000
commit243cbafde87484cc759d0d342dbb15bb2a828e8f (patch)
tree07155d6620b23049ee4096b666cc62b2a467be4c /textproc/gxditview/Makefile
parent59e8a3689f6659893f0b296da0b75da28c7b1f4b (diff)
downloadports-243cbafde87484cc759d0d342dbb15bb2a828e8f.tar.gz
ports-243cbafde87484cc759d0d342dbb15bb2a828e8f.zip
Notes
Diffstat (limited to 'textproc/gxditview/Makefile')
-rw-r--r--textproc/gxditview/Makefile4
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