diff options
Diffstat (limited to 'lang')
-rw-r--r-- | lang/gnustep-objc/Makefile | 4 | ||||
-rw-r--r-- | lang/gnustep-objc/pkg-plist | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/lang/gnustep-objc/Makefile b/lang/gnustep-objc/Makefile index b822c6251d7..d96c72b0ef9 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 diff --git a/lang/gnustep-objc/pkg-plist b/lang/gnustep-objc/pkg-plist index 6f5750ae014..e527b8a4c81 100644 --- a/lang/gnustep-objc/pkg-plist +++ b/lang/gnustep-objc/pkg-plist @@ -11,6 +11,6 @@ System/Headers/objc/encoding.h System/Headers/objc/typedstream.h System/Headers/objc/thr.h System/Libraries/%%GNU_ARCH%%/%%OPSYS%%/libobjc.so +System/Libraries/%%GNU_ARCH%%/%%OPSYS%%/libobjc.so.%%MAJORVERSION%% System/Libraries/%%GNU_ARCH%%/%%OPSYS%%/libobjc.so.%%VERSION%% @dirrm System/Headers/objc - |