summaryrefslogtreecommitdiffstats
path: root/lang/gnustep-objc
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2001-07-03 12:08:02 +0000
committertg <tg@FreeBSD.org>2001-07-03 12:08:02 +0000
commitf5e3d36990a8ce321521ebf691234141931c0ae4 (patch)
tree1a02ba1eae1d5eb46e935e3ad033882170eb7bd5 /lang/gnustep-objc
parent5fe9588f3d6727d5aff594c7ef1b0e39177daf5f (diff)
downloadFreeBSD-ports-f5e3d36990a8ce321521ebf691234141931c0ae4.zip
FreeBSD-ports-f5e3d36990a8ce321521ebf691234141931c0ae4.tar.gz
Fix plist.
Diffstat (limited to 'lang/gnustep-objc')
-rw-r--r--lang/gnustep-objc/Makefile4
-rw-r--r--lang/gnustep-objc/pkg-plist2
2 files changed, 4 insertions, 2 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
diff --git a/lang/gnustep-objc/pkg-plist b/lang/gnustep-objc/pkg-plist
index 6f5750a..e527b8a 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
-
OpenPOWER on IntegriCloud