aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.gnustep.mk
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2004-06-16 08:17:22 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2004-06-16 08:17:22 +0000
commitc98e9b8795e86d79c38c68d6895edbc20287e279 (patch)
treed315f2cdfaf641b2c94e22e56dd77ffc0b66797b /Mk/bsd.gnustep.mk
parentb364dea907bb0fad6c5973a44331b11258946246 (diff)
downloadports-c98e9b8795e86d79c38c68d6895edbc20287e279.tar.gz
ports-c98e9b8795e86d79c38c68d6895edbc20287e279.zip
- new option DEFAULT_LIBVERSION
Notes
Notes: svn path=/head/; revision=111580
Diffstat (limited to 'Mk/bsd.gnustep.mk')
-rw-r--r--Mk/bsd.gnustep.mk11
1 files changed, 8 insertions, 3 deletions
diff --git a/Mk/bsd.gnustep.mk b/Mk/bsd.gnustep.mk
index 2c8ee87f0c7b..ccc4749b9b56 100644
--- a/Mk/bsd.gnustep.mk
+++ b/Mk/bsd.gnustep.mk
@@ -68,9 +68,6 @@ GNU_ARCH= ix86
GNU_ARCH= ${MACHINE_ARCH}
.endif
-PLIST_SUB+= GNU_ARCH=${GNU_ARCH} OPSYS=${OPSYS:L} VERSION=${PORTVERSION}
-PLIST_SUB+= MAJORVERSION=${PORTVERSION:C/([0-9]).*/\1/1}
-
SYSTEMDIR= ${PREFIX}/System
SYSMAKEDIR= ${SYSTEMDIR}/Makefiles
BUNDLEDIR= ${SYSTEMDIR}/Library/Bundles
@@ -84,10 +81,18 @@ PLIST_SUB+= NOFLAT=""
PKGNAMESUFFIX?= -devel${PKGNAMESUFFIX2}
PLIST_SUB+= GNUSTEP_DEVEL=""
PLIST_SUB+= GNUSTEP_STABLE="@comment "
+DEFAULT_LIBVERSION?= 0.0.1
.else
PLIST_SUB+= GNUSTEP_DEVEL="@comment "
PLIST_SUB+= GNUSTEP_STABLE=""
+DEFAULT_LIBVERSION?= 1.0.0
.endif
+
+PLIST_SUB+= GNU_ARCH=${GNU_ARCH} OPSYS=${OPSYS:L} VERSION=${PORTVERSION}
+PLIST_SUB+= MAJORVERSION=${PORTVERSION:C/([0-9]).*/\1/1}
+PLIST_SUB+= LIBVERSION=${DEFAULT_LIBVERSION}
+PLIST_SUB+= MAJORLIBVERSION=${DEFAULT_LIBVERSION:C/([0-9]).*/\1/1}
+
.if !defined(GNUSTEP_WITH_BASE_GCC)
.if defined(GNUSTEP_WITH_GCC32)
CC= gcc32