aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2001-07-03 20:08:02 +0800
committertg <tg@FreeBSD.org>2001-07-03 20:08:02 +0800
commitf5e3d36990a8ce321521ebf691234141931c0ae4 (patch)
tree1a02ba1eae1d5eb46e935e3ad033882170eb7bd5 /lang
parent5fe9588f3d6727d5aff594c7ef1b0e39177daf5f (diff)
downloadfreebsd-ports-gnome-f5e3d36990a8ce321521ebf691234141931c0ae4.tar.gz
freebsd-ports-gnome-f5e3d36990a8ce321521ebf691234141931c0ae4.tar.zst
freebsd-ports-gnome-f5e3d36990a8ce321521ebf691234141931c0ae4.zip
Fix plist.
Diffstat (limited to 'lang')
-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 b822c6251d7a..d96c72b0ef9e 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 6f5750ae014f..e527b8a4c81d 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
-