aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/gide/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/devel/gide/Makefile b/devel/gide/Makefile
index 35a915103d7e..c2155de6c481 100644
--- a/devel/gide/Makefile
+++ b/devel/gide/Makefile
@@ -30,8 +30,7 @@ CONFIGURE_ARGS= --with-gnome=${PREFIX}
MAN1= gide.1 gdbio.1
-VERSION= ${DISTNAME:S/gIDE-//}
-PLIST_SUB= VERSION=${VERSION}
+PLIST_SUB= VERSION=${PORTVERSION}
post-patch:
@${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/src/*.c