aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>2001-07-03 12:08:02 +0000
committerThomas Gellekum <tg@FreeBSD.org>2001-07-03 12:08:02 +0000
commit4df3104072d5892f397224130804bb12d6c7c5d7 (patch)
treeb0947170eb732d13b9b8f08b4f46e59673a9e53f /lang
parentfe053034baf981c693b1ae4bdfbe6836d334e576 (diff)
downloadports-4df3104072d5892f397224130804bb12d6c7c5d7.tar.gz
ports-4df3104072d5892f397224130804bb12d6c7c5d7.zip
Notes
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
-