aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.gnustep.mk
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-06-01 03:12:41 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-06-01 03:12:41 +0000
commitccc703d8a6766c0776c46d0668324a379d9d3d9f (patch)
tree16d2c8eb09361a3eadc2f2b72e389bc2e0b264ba /Mk/bsd.gnustep.mk
parente84ea0c0b9840776c07c592a40c851cf07784f56 (diff)
downloadports-ccc703d8a6766c0776c46d0668324a379d9d3d9f.tar.gz
ports-ccc703d8a6766c0776c46d0668324a379d9d3d9f.zip
Notes
Diffstat (limited to 'Mk/bsd.gnustep.mk')
-rw-r--r--Mk/bsd.gnustep.mk22
1 files changed, 19 insertions, 3 deletions
diff --git a/Mk/bsd.gnustep.mk b/Mk/bsd.gnustep.mk
index 6f6609f14027..7ed469358c3e 100644
--- a/Mk/bsd.gnustep.mk
+++ b/Mk/bsd.gnustep.mk
@@ -64,11 +64,27 @@ PLIST_SUB+= MAJORVERSION=${PORTVERSION:C/([0-9]).*/\1/1}
SYSTEMDIR= ${PREFIX}/System
SYSMAKEDIR= ${SYSTEMDIR}/Makefiles
-SYSLIBDIR= ${SYSTEMDIR}/Libraries/${GNU_ARCH}/${OPSYS:L}
-COMBOLIBDIR= ${SYSTEMDIR}/Libraries/${GNU_ARCH}/${OPSYS:L}/gnu-gnu-gnu
-BUNDLEDIR= ${SYSTEMDIR}/Library/Bundles
COMBOPATH= ${GNU_ARCH}/${OPSYS:L}/gnu-gnu-gnu
+.if defined(WITH_GNUSTEP_DEVEL)
+SYSLIBDIR= ${SYSTEMDIR}/Library/Libraries/${GNU_ARCH}/${OPSYS:L}
+COMBOLIBDIR= ${SYSTEMDIR}/Library/Libraries/${COMBOPATH}
+LOCALLIBDIR= ${PREFIX}/Local/Library/Libraries/${COMBOPATH}
+PLIST_SUB+= SYSTEMLIBRARY="System/Library"
+PLIST_SUB+= LOCALLIBRARY="Local/Library"
+PLIST_SUB+= GNUSTEP_DEVEL=""
+PLIST_SUB+= GNUSTEP_STABLE="@comment "
+PKGNAMESUFFIX?= -devel
+.else
+SYSLIBDIR= ${SYSTEMDIR}/Libraries/${GNU_ARCH}/${OPSYS:L}
+COMBOLIBDIR= ${SYSTEMDIR}/Libraries/${COMBOPATH}
LOCALLIBDIR= ${PREFIX}/Local/Libraries/${COMBOPATH}
+PLIST_SUB+= SYSTEMLIBRARY="System"
+PLIST_SUB+= LOCALLIBRARY="Local"
+PLIST_SUB+= GNUSTEP_DEVEL="@comment "
+PLIST_SUB+= GNUSTEP_STABLE=""
+.else
+.endif
+BUNDLEDIR= ${SYSTEMDIR}/Library/Bundles
CC= gcc32
CXX= g++32