summaryrefslogtreecommitdiffstats
path: root/lang/gnustep-objc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/gnustep-objc/Makefile')
-rw-r--r--lang/gnustep-objc/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/gnustep-objc/Makefile b/lang/gnustep-objc/Makefile
index b822c62..d96c72b 100644
--- a/lang/gnustep-objc/Makefile
+++ b/lang/gnustep-objc/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gnustep-objc
PORTVERSION= 1.0.1
+PORTREVISION= 1
CATEGORIES= lang devel
MASTER_SITES= ftp://ftp.gnustep.org/pub/gnustep/libs/
@@ -34,7 +35,8 @@ GNU_ARCH= ix86
.else
GNU_ARCH= ${MACHINE_ARCH}
.endif
-PLIST_SUB+= GNU_ARCH=${GNU_ARCH} OPSYS=${OPSYS:L} VERSION=${PORTVERSION}
+PLIST_SUB+= GNU_ARCH=${GNU_ARCH} OPSYS=${OPSYS:L} VERSION=${PORTVERSION} \
+ MAJORVERSION=${PORTVERSION:C/([0-9]).*/\1/1}
SYSTEMDIR= ${PREFIX}/System
OpenPOWER on IntegriCloud