2003-04-13 06:53:03 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
# This file contains some variable definitions that are supposed to
|
|
|
|
# make your life easier when dealing with ports related to the GNUstep.
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Options for user to customize in /etc/make.conf:
|
|
|
|
# ================================================
|
|
|
|
#
|
2006-01-18 19:50:18 +00:00
|
|
|
# WITH_GNUSTEP_XLIB=yes
|
|
|
|
# use xlib as backend (default)
|
|
|
|
#
|
2003-04-13 11:38:53 +00:00
|
|
|
# WITH_GNUSTEP_XDPS=yes
|
2006-01-18 19:50:18 +00:00
|
|
|
# use xdps as backend while build instead of xlib.
|
2003-04-13 06:53:03 +00:00
|
|
|
#
|
2003-04-13 11:38:53 +00:00
|
|
|
# WITH_GNUSTEP_LIBART=yes
|
2006-01-18 19:50:18 +00:00
|
|
|
# use libart as backend while build instead of xlib.
|
2003-04-13 06:53:03 +00:00
|
|
|
#
|
2005-10-25 07:45:22 +00:00
|
|
|
# WITH_GNUSTEP_CAIRO=yes
|
2006-01-18 19:50:18 +00:00
|
|
|
# use cairo as backend while build instead of xlib.
|
|
|
|
#
|
|
|
|
# GNUSTEP_WITH_GCC34=yes
|
2009-12-03 13:50:43 +00:00
|
|
|
# use gcc 3.4.x with objective C shared libraries.
|
2006-01-18 19:50:18 +00:00
|
|
|
#
|
|
|
|
# GNUSTEP_WITH_GCC42=yes
|
2009-12-03 13:50:43 +00:00
|
|
|
# use gcc 4.2.x with objective C shared libraries (default).
|
|
|
|
#
|
2012-01-13 10:48:33 +00:00
|
|
|
# GNUSTEP_WITH_GCC46=yes
|
|
|
|
# use gcc 4.6.x with objective C shared libraries.
|
|
|
|
#
|
|
|
|
# GNUSTEP_WITH_CLANG=yes
|
|
|
|
# use clang with objective C shared libraries.
|
|
|
|
#
|
2003-04-13 06:53:03 +00:00
|
|
|
#
|
|
|
|
# Options for a port before include this file:
|
|
|
|
# ============================================
|
|
|
|
#
|
|
|
|
# USE_GNUSTEP_BASE=yes
|
|
|
|
# your port depends on the gnustep-base port.
|
|
|
|
#
|
|
|
|
# USE_GNUSTEP_GUI=yes
|
|
|
|
# your port depends on the gnustep-gui port.
|
|
|
|
#
|
|
|
|
# USE_GNUSTEP_BACK=yes
|
2003-08-27 14:46:06 +00:00
|
|
|
# your port depends on the gnustep-back port.
|
2003-04-13 06:53:03 +00:00
|
|
|
#
|
|
|
|
# USE_GNUSTEP_CONFIGURE=yes
|
|
|
|
# call configure script with GNUstep.sh sourced in the current shell
|
|
|
|
#
|
|
|
|
# USE_GNUSTEP_BUILD=yes
|
|
|
|
# call build target with GNUstep.sh sourced in the current shell
|
|
|
|
#
|
|
|
|
# USE_GNUSTEP_INSTALL=yes
|
|
|
|
# call install target with GNUstep.sh sourced in the current shell
|
2005-01-09 10:12:07 +00:00
|
|
|
#
|
2006-10-31 05:27:21 +00:00
|
|
|
# USE_GNUSTEP_MAKE_DIRS= App Tools
|
|
|
|
# call build and install target in each of the given dirs.
|
|
|
|
#
|
2006-09-28 19:15:53 +00:00
|
|
|
# USE_GNUSTEP_MAKE=yes
|
2006-10-05 17:27:31 +00:00
|
|
|
# require GNUstep.sh for build and install
|
2006-09-28 19:15:53 +00:00
|
|
|
#
|
2006-10-31 05:27:21 +00:00
|
|
|
# USE_GNUSTEP_SYSTEM_LIBS+= Renaissance:x11-toolkits/renaissance
|
2006-09-10 16:41:27 +00:00
|
|
|
# depends on a shared lib in System directrory
|
|
|
|
#
|
2006-11-19 20:52:08 +00:00
|
|
|
# USE_GNUSTEP_SYSTEM_BUNDLES+= EtoileMenus:x11-themes/etoile-etoilemenus
|
2006-12-31 13:42:50 +00:00
|
|
|
# depends on Bundles installed in System directrory
|
2006-11-19 20:52:08 +00:00
|
|
|
#
|
2006-11-20 03:47:08 +00:00
|
|
|
# USE_GNUSTEP_SYSTEM_THEMES+= Camaelon:x11-themes/etoile-camaelon
|
2006-12-31 13:42:50 +00:00
|
|
|
# depends on Themes installed in System directrory
|
2006-11-20 03:47:08 +00:00
|
|
|
#
|
2006-10-31 05:27:21 +00:00
|
|
|
# USE_GNUSTEP_LOCAL_LIBS+= pantomime:mail/pantomime
|
2006-09-10 16:41:27 +00:00
|
|
|
# depends on a shared lib in Local directrory
|
|
|
|
#
|
2006-11-17 13:01:35 +00:00
|
|
|
# USE_GNUSTEP_LOCAL_BUNDLES+= Cddb:audio/cddb-bundle
|
2006-12-31 13:42:50 +00:00
|
|
|
# depends on Bundles installed in Local directrory
|
2006-11-17 13:01:35 +00:00
|
|
|
#
|
2006-11-20 03:47:08 +00:00
|
|
|
# USE_GNUSTEP_LOCAL_THEMES+= WildMenus:x11-themes/etoile-wildmenus
|
2006-12-31 13:42:50 +00:00
|
|
|
# depends on Themes installed in Local directrory
|
2006-11-20 03:47:08 +00:00
|
|
|
#
|
2008-11-29 20:32:02 +00:00
|
|
|
# USE_GNUSTEP_LOCAL_MENULETS+= PowerMenulet:sysutils/etoile-powermenulet
|
|
|
|
# depends on Menulets installed in Local directrory
|
|
|
|
#
|
2009-03-20 09:14:26 +00:00
|
|
|
# USE_GNUSTEP_LOCAL_ASTS+= CommentToLog:lang/etoile-lkplugins
|
|
|
|
# depends on Ast Bundles installed in Local directrory
|
|
|
|
#
|
|
|
|
# USE_GNUSTEP_LOCAL_BURNS+= MP3ToWav:audio/mp3towav-bundle
|
|
|
|
# depends on Burn Bundles installed in Local directrory
|
|
|
|
#
|
2006-10-31 05:27:21 +00:00
|
|
|
# USE_GNUSTEP_SYSTEM_APPS+= ProjectCenter:devel/projectcenter.app
|
2006-12-31 13:42:50 +00:00
|
|
|
# depends on Application installed in System directrory
|
2006-10-31 05:27:21 +00:00
|
|
|
#
|
|
|
|
# USE_GNUSTEP_LOCAL_APPS+= Ink:misc/gnustep-examples
|
2006-12-31 13:42:50 +00:00
|
|
|
# depends on Application installed in Local directrory
|
|
|
|
#
|
|
|
|
# USE_GNUSTEP_SYSTEM_TOOLS+= resizer:deskutils/gworkspace
|
|
|
|
# depends on Tool installed in System directrory
|
2006-10-31 05:27:21 +00:00
|
|
|
#
|
2006-11-16 14:57:47 +00:00
|
|
|
# USE_GNUSTEP_LOCAL_TOOLS+= zillion:net/zillion
|
2006-12-31 13:42:50 +00:00
|
|
|
# depends on Tool installed in Local directrory
|
|
|
|
#
|
|
|
|
# USE_GNUSTEP_SYSTEM_SERVICES+= thumbnailer:deskutils/gworkspace
|
|
|
|
# depends on Services installed in System directrory
|
|
|
|
#
|
|
|
|
# USE_GNUSTEP_LOCAL_SERVICES+= LaTeX:textproc/latex-service
|
|
|
|
# depends on Services installed in Local directrory
|
2006-11-16 14:57:47 +00:00
|
|
|
#
|
2003-04-13 06:53:03 +00:00
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
.if !defined(_POSTMKINCLUDED)
|
|
|
|
|
2012-06-26 05:44:19 +00:00
|
|
|
GNUstep_Include_MAINTAINER= ports@FreeBSD.org
|
2003-04-13 06:53:03 +00:00
|
|
|
|
2006-09-28 19:15:53 +00:00
|
|
|
.if defined(USE_GNUSTEP_BUILD) || defined(USE_GNUSTEP_MAKE)
|
2006-12-31 13:42:50 +00:00
|
|
|
BUILD_DEPENDS+= ${GNUSTEP_MAKEFILES}/GNUstep.sh:${PORTSDIR}/${GNUSTEP_MAKE_PORT}
|
2006-09-10 16:41:27 +00:00
|
|
|
.endif
|
2006-09-28 19:15:53 +00:00
|
|
|
.if defined(USE_GNUSTEP_INSTALL) || defined(USE_GNUSTEP_MAKE)
|
2006-12-31 13:42:50 +00:00
|
|
|
RUN_DEPENDS+= ${GNUSTEP_MAKEFILES}/GNUstep.sh:${PORTSDIR}/${GNUSTEP_MAKE_PORT}
|
2006-09-10 16:41:27 +00:00
|
|
|
.endif
|
|
|
|
|
2003-04-13 06:53:03 +00:00
|
|
|
GNUSTEP_MAKE_PORT?= devel/gnustep-make
|
|
|
|
GNUSTEP_BASE_PORT?= lang/gnustep-base
|
|
|
|
GNUSTEP_GUI_PORT?= x11-toolkits/gnustep-gui
|
|
|
|
GNUSTEP_BACK_PORT?= x11-toolkits/gnustep-back
|
|
|
|
GNUSTEP_XDPS_PORT?= x11-toolkits/gnustep-xdps
|
|
|
|
GNUSTEP_ART_PORT?= x11-toolkits/gnustep-art
|
2005-10-25 07:45:22 +00:00
|
|
|
GNUSTEP_CAIRO_PORT?= x11-toolkits/gnustep-cairo
|
2003-04-13 06:53:03 +00:00
|
|
|
|
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
|
|
|
GNU_ARCH= ix86
|
|
|
|
.else
|
|
|
|
GNU_ARCH= ${MACHINE_ARCH}
|
|
|
|
.endif
|
|
|
|
|
2006-11-30 06:55:29 +00:00
|
|
|
.if !defined(USE_MAKEFILE)
|
|
|
|
USE_GMAKE= yes
|
|
|
|
MAKEFILE= GNUmakefile
|
|
|
|
.endif
|
|
|
|
|
2006-12-18 16:07:46 +00:00
|
|
|
.if defined(ADDITIONAL_FLAGS)
|
|
|
|
MAKE_ENV+= ADDITIONAL_FLAGS="${ADDITIONAL_FLAGS}"
|
|
|
|
.endif
|
|
|
|
.if defined(ADDITIONAL_CFLAGS)
|
|
|
|
MAKE_ENV+= ADDITIONAL_CFLAGS="${ADDITIONAL_CFLAGS}"
|
|
|
|
.endif
|
2006-12-09 21:37:26 +00:00
|
|
|
.if defined(ADDITIONAL_CPPFLAGS)
|
|
|
|
MAKE_ENV+= ADDITIONAL_CPPFLAGS="${ADDITIONAL_CPPFLAGS}"
|
|
|
|
.endif
|
2006-11-30 06:55:29 +00:00
|
|
|
.if defined(ADDITIONAL_OBJCFLAGS)
|
|
|
|
MAKE_ENV+= ADDITIONAL_OBJCFLAGS="${ADDITIONAL_OBJCFLAGS}"
|
|
|
|
.endif
|
2006-12-09 21:37:26 +00:00
|
|
|
.if defined(ADDITIONAL_INCLUDE_DIRS)
|
|
|
|
MAKE_ENV+= ADDITIONAL_INCLUDE_DIRS="${ADDITIONAL_INCLUDE_DIRS}"
|
|
|
|
.endif
|
2006-11-30 06:55:29 +00:00
|
|
|
.if defined(ADDITIONAL_LDFLAGS)
|
|
|
|
MAKE_ENV+= ADDITIONAL_LDFLAGS="${ADDITIONAL_LDFLAGS}"
|
|
|
|
.endif
|
2006-12-09 21:37:26 +00:00
|
|
|
.if defined(ADDITIONAL_LIB_DIRS)
|
|
|
|
MAKE_ENV+= ADDITIONAL_LIB_DIRS="${ADDITIONAL_LIB_DIRS}"
|
|
|
|
.endif
|
2006-11-30 06:55:29 +00:00
|
|
|
|
2006-03-18 08:04:45 +00:00
|
|
|
GNUSTEP_PREFIX?= ${LOCALBASE}/GNUstep
|
2006-11-30 06:55:29 +00:00
|
|
|
DEFAULT_LIBVERSION?= 0.0.1
|
|
|
|
|
2006-03-18 08:04:45 +00:00
|
|
|
.if defined(USE_GNUSTEP_PREFIX)
|
|
|
|
PREFIX= ${GNUSTEP_PREFIX}
|
|
|
|
NO_MTREE= yes
|
|
|
|
.endif
|
2006-11-30 06:55:29 +00:00
|
|
|
|
2006-12-31 13:42:50 +00:00
|
|
|
GNUSTEP_SYSTEM_ROOT= ${GNUSTEP_PREFIX}/System
|
|
|
|
GNUSTEP_MAKEFILES= ${GNUSTEP_SYSTEM_ROOT}/Library/Makefiles
|
|
|
|
GNUSTEP_SYSTEM_BUNDLES= ${GNUSTEP_SYSTEM_ROOT}/Library/Bundles
|
|
|
|
GNUSTEP_SYSTEM_LIBRARIES= ${GNUSTEP_SYSTEM_ROOT}/Library/Libraries
|
|
|
|
GNUSTEP_SYSTEM_APPS= ${GNUSTEP_SYSTEM_ROOT}/Applications
|
|
|
|
GNUSTEP_SYSTEM_TOOLS= ${GNUSTEP_SYSTEM_ROOT}/Tools
|
2007-01-02 17:26:31 +00:00
|
|
|
GNUSTEP_SYSTEM_SERVICES= ${GNUSTEP_SYSTEM_ROOT}/Library/Services
|
2006-12-31 13:42:50 +00:00
|
|
|
|
|
|
|
GNUSTEP_LOCAL_ROOT= ${GNUSTEP_PREFIX}/Local
|
|
|
|
GNUSTEP_LOCAL_BUNDLES= ${GNUSTEP_LOCAL_ROOT}/Library/Bundles
|
|
|
|
GNUSTEP_LOCAL_LIBRARIES= ${GNUSTEP_LOCAL_ROOT}/Library/Libraries
|
|
|
|
GNUSTEP_LOCAL_APPS= ${GNUSTEP_LOCAL_ROOT}/Applications
|
|
|
|
GNUSTEP_LOCAL_TOOLS= ${GNUSTEP_LOCAL_ROOT}/Tools
|
2007-01-02 17:26:31 +00:00
|
|
|
GNUSTEP_LOCAL_SERVICES= ${GNUSTEP_LOCAL_ROOT}/Library/Services
|
2006-12-31 13:42:50 +00:00
|
|
|
|
2003-10-19 11:14:19 +00:00
|
|
|
.if defined(WITH_GNUSTEP_DEVEL)
|
2004-03-26 08:00:35 +00:00
|
|
|
PKGNAMESUFFIX?= -devel${PKGNAMESUFFIX2}
|
2003-06-01 03:12:41 +00:00
|
|
|
PLIST_SUB+= GNUSTEP_DEVEL=""
|
|
|
|
PLIST_SUB+= GNUSTEP_STABLE="@comment "
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= GNUSTEP_DEVEL="@comment "
|
|
|
|
PLIST_SUB+= GNUSTEP_STABLE=""
|
|
|
|
.endif
|
2004-06-16 08:17:22 +00:00
|
|
|
|
2004-11-14 08:06:16 +00:00
|
|
|
PLIST_SUB+= GNU_ARCH=${GNU_ARCH} VERSION=${PORTVERSION}
|
2004-06-16 08:17:22 +00:00
|
|
|
PLIST_SUB+= MAJORVERSION=${PORTVERSION:C/([0-9]).*/\1/1}
|
|
|
|
PLIST_SUB+= LIBVERSION=${DEFAULT_LIBVERSION}
|
|
|
|
PLIST_SUB+= MAJORLIBVERSION=${DEFAULT_LIBVERSION:C/([0-9]).*/\1/1}
|
|
|
|
|
2012-01-13 10:48:33 +00:00
|
|
|
.if !defined(GNUSTEP_WITH_GCC34) && !defined(GNUSTEP_WITH_GCC42) && !defined(GNUSTEP_WITH_GCC46) && !defined(GNUSTEP_WITH_BASE_GCC)
|
2012-01-16 18:55:36 +00:00
|
|
|
.if defined(PACKAGE_BUILDING)
|
|
|
|
.if ${OSVERSION} > 900035
|
|
|
|
GNUSTEP_WITH_GCC42=yes
|
|
|
|
.endif
|
|
|
|
.endif
|
2012-06-01 09:59:53 +00:00
|
|
|
.if !exists(${DESTDIR}/usr/lib/libobjc.so)
|
2012-01-16 18:34:15 +00:00
|
|
|
GNUSTEP_WITH_GCC42=yes
|
2011-11-06 07:40:58 +00:00
|
|
|
.endif
|
|
|
|
.endif
|
|
|
|
|
2012-01-13 10:48:33 +00:00
|
|
|
.if defined(GNUSTEP_WITH_CLANG)
|
2012-06-10 07:44:57 +00:00
|
|
|
.if defined(CC) && ${CC:T:Mclang}
|
|
|
|
# all done
|
|
|
|
.else
|
2012-01-13 10:48:33 +00:00
|
|
|
.if !exists(${DESTDIR}/usr/bin/clang)
|
|
|
|
BUILD_DEPENDS+= ${LOCALBASE}/bin/clang:${PORTSDIR}/lang/clang
|
|
|
|
CC= clang
|
|
|
|
CXX= clang++
|
|
|
|
.else
|
|
|
|
# use clang in base
|
2012-06-10 07:44:57 +00:00
|
|
|
CC= clang
|
|
|
|
CXX= clang++
|
|
|
|
.endif
|
|
|
|
# ignore gcc ports
|
2012-01-13 10:48:33 +00:00
|
|
|
GNUSTEP_WITH_BASE_GCC=yes
|
|
|
|
.endif
|
|
|
|
LIB_DEPENDS+= objc:${PORTSDIR}/lang/libobjc2
|
|
|
|
.else
|
|
|
|
.if defined(GNUSTEP_WITH_GCC34) || defined(GNUSTEP_WITH_GCC42) || defined(GNUSTEP_WITH_GCC46)
|
2004-10-12 04:32:33 +00:00
|
|
|
.if defined(GNUSTEP_WITH_GCC34)
|
2006-03-28 19:50:51 +00:00
|
|
|
GCCSUFFIX=34
|
2010-06-11 09:12:37 +00:00
|
|
|
.if ${ARCH} == sparc64
|
|
|
|
BROKEN= gcc34 does not build the required libobjc
|
|
|
|
.endif
|
2004-10-12 04:32:33 +00:00
|
|
|
.endif
|
2006-01-18 19:50:18 +00:00
|
|
|
.if defined(GNUSTEP_WITH_GCC42)
|
2006-03-28 19:50:51 +00:00
|
|
|
GCCSUFFIX=42
|
2009-12-03 13:50:43 +00:00
|
|
|
.endif
|
2012-01-13 10:48:33 +00:00
|
|
|
.if defined(GNUSTEP_WITH_GCC46)
|
|
|
|
GCCSUFFIX=46
|
|
|
|
.endif
|
2006-03-28 19:50:51 +00:00
|
|
|
CC= gcc${GCCSUFFIX}
|
|
|
|
CXX= g++${GCCSUFFIX}
|
|
|
|
GNUSTEP_GCC_PORT?= lang/gcc${GCCSUFFIX}
|
2011-04-16 10:21:38 +00:00
|
|
|
BUILD_DEPENDS+= ${TARGLIB}/libobjc.so:${PORTSDIR}/${GNUSTEP_GCC_PORT}
|
|
|
|
RUN_DEPENDS+= ${TARGLIB}/libobjc.so:${PORTSDIR}/${GNUSTEP_GCC_PORT}
|
|
|
|
.else
|
2012-01-13 10:48:33 +00:00
|
|
|
GNUSTEP_WITH_BASE_GCC=yes
|
|
|
|
.endif
|
2011-04-16 10:21:38 +00:00
|
|
|
.endif
|
2003-04-13 06:53:03 +00:00
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
# using base
|
|
|
|
#
|
|
|
|
.if defined(USE_GNUSTEP_BASE)
|
2006-12-31 13:42:50 +00:00
|
|
|
BUILD_DEPENDS+= ${GNUSTEP_SYSTEM_LIBRARIES}/libgnustep-base.so:${PORTSDIR}/${GNUSTEP_BASE_PORT}
|
|
|
|
RUN_DEPENDS+= ${GNUSTEP_SYSTEM_LIBRARIES}/libgnustep-base.so:${PORTSDIR}/${GNUSTEP_BASE_PORT}
|
2003-04-13 06:53:03 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
# using gui
|
|
|
|
#
|
|
|
|
.if defined(USE_GNUSTEP_GUI)
|
2006-12-31 13:42:50 +00:00
|
|
|
BUILD_DEPENDS+= ${GNUSTEP_SYSTEM_LIBRARIES}/libgnustep-gui.so:${PORTSDIR}/${GNUSTEP_GUI_PORT}
|
|
|
|
RUN_DEPENDS+= ${GNUSTEP_SYSTEM_LIBRARIES}/libgnustep-gui.so:${PORTSDIR}/${GNUSTEP_GUI_PORT}
|
2003-04-13 06:53:03 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
# using any backend
|
|
|
|
#
|
|
|
|
.if defined(USE_GNUSTEP_BACK)
|
2010-05-23 21:03:45 +00:00
|
|
|
.if defined(WITH_GNUSTEP_DEVEL)
|
2012-06-09 12:49:45 +00:00
|
|
|
BACKSUFFIX?= -022
|
2010-05-23 21:03:45 +00:00
|
|
|
.else
|
2012-06-09 12:49:45 +00:00
|
|
|
BACKSUFFIX?= -022
|
2010-05-23 21:03:45 +00:00
|
|
|
.endif
|
2003-04-13 11:38:53 +00:00
|
|
|
.if defined(WITH_GNUSTEP_XDPS)
|
2003-04-13 06:53:03 +00:00
|
|
|
GNUSTEP_WITH_XDPS=yes
|
2005-10-25 07:45:22 +00:00
|
|
|
.elif defined(WITH_GNUSTEP_LIBART)
|
2003-04-13 06:53:03 +00:00
|
|
|
USE_GNUSTEP_LIBART=yes
|
2005-10-25 07:45:22 +00:00
|
|
|
.elif defined(WITH_GNUSTEP_CAIRO)
|
|
|
|
USE_GNUSTEP_CAIRO=yes
|
2006-01-18 19:50:18 +00:00
|
|
|
.elif defined(WITH_GNUSTEP_XLIB)
|
|
|
|
USE_GNUSTEP_XLIB=yes
|
2003-04-13 06:53:03 +00:00
|
|
|
.else
|
2006-01-18 19:50:18 +00:00
|
|
|
# default:
|
2003-04-13 06:53:03 +00:00
|
|
|
USE_GNUSTEP_XLIB=yes
|
|
|
|
.endif
|
|
|
|
.endif
|
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
# Backend using xlib
|
|
|
|
#
|
|
|
|
.if defined(USE_GNUSTEP_XLIB)
|
2006-12-31 13:42:50 +00:00
|
|
|
BUILD_DEPENDS+= ${GNUSTEP_SYSTEM_BUNDLES}/${BACKXLIB}.bundle/${BACKXLIB}:${PORTSDIR}/${GNUSTEP_BACK_PORT}
|
|
|
|
RUN_DEPENDS+= ${GNUSTEP_SYSTEM_BUNDLES}/${BACKXLIB}.bundle/${BACKXLIB}:${PORTSDIR}/${GNUSTEP_BACK_PORT}
|
2003-04-13 06:53:03 +00:00
|
|
|
|
2006-01-29 07:31:51 +00:00
|
|
|
BACKXLIB= libgnustep-back${BACKSUFFIX}
|
2003-04-13 06:53:03 +00:00
|
|
|
MAKE_FLAGS+= GUI_BACKEND_LIB=back
|
|
|
|
.endif
|
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
# Backend using xdps
|
|
|
|
#
|
|
|
|
.if defined(USE_GNUSTEP_XDPS)
|
2006-12-31 13:42:50 +00:00
|
|
|
BUILD_DEPENDS+= ${GNUSTEP_SYSTEM_BUNDLES}/${BACKXDPS}.bundle/${BACKXDPS}:${PORTSDIR}/${GNUSTEP_XDPS_PORT}
|
|
|
|
RUN_DEPENDS+= ${GNUSTEP_SYSTEM_BUNDLES}/${BACKXDPS}.bundle/${BACKXDPS}:${PORTSDIR}/${GNUSTEP_XDPS_PORT}
|
2003-04-13 06:53:03 +00:00
|
|
|
|
2006-01-29 07:31:51 +00:00
|
|
|
BACKXDPS= libgnustep-xdps${BACKSUFFIX}
|
2003-04-13 06:53:03 +00:00
|
|
|
MAKE_FLAGS+= GUI_BACKEND_LIB=xdps
|
|
|
|
.endif
|
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
# Backend using libart
|
|
|
|
#
|
|
|
|
.if defined(USE_GNUSTEP_LIBART)
|
2006-12-31 13:42:50 +00:00
|
|
|
BUILD_DEPENDS+= ${GNUSTEP_SYSTEM_BUNDLES}/${BACKART}.bundle/${BACKART}:${PORTSDIR}/${GNUSTEP_ART_PORT}
|
|
|
|
RUN_DEPENDS+= ${GNUSTEP_SYSTEM_BUNDLES}/${BACKART}.bundle/${BACKART}:${PORTSDIR}/${GNUSTEP_ART_PORT}
|
2003-04-13 06:53:03 +00:00
|
|
|
|
2006-01-29 07:31:51 +00:00
|
|
|
BACKART= libgnustep-art${BACKSUFFIX}
|
2003-04-13 06:53:03 +00:00
|
|
|
MAKE_FLAGS+= GUI_BACKEND_LIB=art
|
|
|
|
.endif
|
|
|
|
|
2005-10-25 07:45:22 +00:00
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
# Backend using cairo
|
|
|
|
#
|
|
|
|
.if defined(USE_GNUSTEP_CAIRO)
|
2006-12-31 13:42:50 +00:00
|
|
|
BUILD_DEPENDS+= ${GNUSTEP_SYSTEM_BUNDLES}/${BACKCAIRO}.bundle/${BACKCAIRO}:${PORTSDIR}/${GNUSTEP_CAIRO_PORT}
|
|
|
|
RUN_DEPENDS+= ${GNUSTEP_SYSTEM_BUNDLES}/${BACKCAIRO}.bundle/${BACKCAIRO}:${PORTSDIR}/${GNUSTEP_CAIRO_PORT}
|
2005-10-25 07:45:22 +00:00
|
|
|
|
2006-01-29 07:31:51 +00:00
|
|
|
BACKCAIRO= libgnustep-cairo${BACKSUFFIX}
|
2005-10-25 07:45:22 +00:00
|
|
|
MAKE_FLAGS+= GUI_BACKEND_LIB=cairo
|
|
|
|
.endif
|
|
|
|
|
2006-09-10 16:41:27 +00:00
|
|
|
# ---------------------------------------------------------------------------
|
2006-10-31 05:27:21 +00:00
|
|
|
# source system libs
|
2006-09-10 16:41:27 +00:00
|
|
|
#
|
|
|
|
.if defined(USE_GNUSTEP_SYSTEM_LIBS)
|
|
|
|
.for _GNUSTEP_DEP in ${USE_GNUSTEP_SYSTEM_LIBS}
|
2006-12-31 13:42:50 +00:00
|
|
|
BUILD_DEPENDS+= ${GNUSTEP_SYSTEM_LIBRARIES}/lib${_GNUSTEP_DEP:C/:.*//}.so:${PORTSDIR}/${_GNUSTEP_DEP:C/.*://}
|
|
|
|
RUN_DEPENDS+= ${GNUSTEP_SYSTEM_LIBRARIES}/lib${_GNUSTEP_DEP:C/:.*//}.so:${PORTSDIR}/${_GNUSTEP_DEP:C/.*://}
|
2006-09-10 16:41:27 +00:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
2006-11-19 20:52:08 +00:00
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
# source system bundles
|
|
|
|
#
|
|
|
|
.if defined(USE_GNUSTEP_SYSTEM_BUNDLES)
|
|
|
|
.for _GNUSTEP_DEP in ${USE_GNUSTEP_SYSTEM_BUNDLES}
|
2006-12-31 13:42:50 +00:00
|
|
|
BUILD_DEPENDS+= ${GNUSTEP_SYSTEM_BUNDLES}/${_GNUSTEP_DEP:C/:.*//}.bundle/${_GNUSTEP_DEP:C/:.*//}:${PORTSDIR}/${_GNUSTEP_DEP:C/.*://}
|
|
|
|
RUN_DEPENDS+= ${GNUSTEP_SYSTEM_BUNDLES}/${_GNUSTEP_DEP:C/:.*//}.bundle/${_GNUSTEP_DEP:C/:.*//}:${PORTSDIR}/${_GNUSTEP_DEP:C/.*://}
|
2006-11-20 03:47:08 +00:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
# source system themes
|
|
|
|
#
|
|
|
|
.if defined(USE_GNUSTEP_SYSTEM_THEMES)
|
|
|
|
.for _GNUSTEP_DEP in ${USE_GNUSTEP_SYSTEM_THEMES}
|
2006-12-31 13:42:50 +00:00
|
|
|
BUILD_DEPENDS+= ${GNUSTEP_SYSTEM_BUNDLES}/${_GNUSTEP_DEP:C/:.*//}.themeEngine/${_GNUSTEP_DEP:C/:.*//}:${PORTSDIR}/${_GNUSTEP_DEP:C/.*://}
|
|
|
|
RUN_DEPENDS+= ${GNUSTEP_SYSTEM_BUNDLES}/${_GNUSTEP_DEP:C/:.*//}.themeEngine/${_GNUSTEP_DEP:C/:.*//}:${PORTSDIR}/${_GNUSTEP_DEP:C/.*://}
|
2006-11-19 20:52:08 +00:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
2006-09-10 16:41:27 +00:00
|
|
|
# ---------------------------------------------------------------------------
|
2006-10-31 05:27:21 +00:00
|
|
|
# source local libs
|
2006-09-10 16:41:27 +00:00
|
|
|
#
|
|
|
|
.if defined(USE_GNUSTEP_LOCAL_LIBS)
|
|
|
|
.for _GNUSTEP_DEP in ${USE_GNUSTEP_LOCAL_LIBS}
|
2006-12-31 13:42:50 +00:00
|
|
|
BUILD_DEPENDS+= ${GNUSTEP_LOCAL_LIBRARIES}/lib${_GNUSTEP_DEP:C/:.*//}.so:${PORTSDIR}/${_GNUSTEP_DEP:C/.*://}
|
|
|
|
RUN_DEPENDS+= ${GNUSTEP_LOCAL_LIBRARIES}/lib${_GNUSTEP_DEP:C/:.*//}.so:${PORTSDIR}/${_GNUSTEP_DEP:C/.*://}
|
2006-09-10 16:41:27 +00:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
2006-11-17 13:01:35 +00:00
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
# source local bundles
|
|
|
|
#
|
|
|
|
.if defined(USE_GNUSTEP_LOCAL_BUNDLES)
|
|
|
|
.for _GNUSTEP_DEP in ${USE_GNUSTEP_LOCAL_BUNDLES}
|
2008-11-29 21:41:48 +00:00
|
|
|
BUILD_DEPENDS+= ${GNUSTEP_LOCAL_BUNDLES}/${_GNUSTEP_DEP:C/:.*//}.bundle/${_GNUSTEP_DEP:C/:.*//:C;.*/;;}:${PORTSDIR}/${_GNUSTEP_DEP:C/.*://}
|
|
|
|
RUN_DEPENDS+= ${GNUSTEP_LOCAL_BUNDLES}/${_GNUSTEP_DEP:C/:.*//}.bundle/${_GNUSTEP_DEP:C/:.*//:C;.*/;;}:${PORTSDIR}/${_GNUSTEP_DEP:C/.*://}
|
2006-11-20 03:47:08 +00:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
# source local themes
|
|
|
|
#
|
|
|
|
.if defined(USE_GNUSTEP_LOCAL_THEMES)
|
|
|
|
.for _GNUSTEP_DEP in ${USE_GNUSTEP_LOCAL_THEMES}
|
2006-12-31 13:42:50 +00:00
|
|
|
BUILD_DEPENDS+= ${GNUSTEP_LOCAL_BUNDLES}/${_GNUSTEP_DEP:C/:.*//}.themeEngine/${_GNUSTEP_DEP:C/:.*//}:${PORTSDIR}/${_GNUSTEP_DEP:C/.*://}
|
|
|
|
RUN_DEPENDS+= ${GNUSTEP_LOCAL_BUNDLES}/${_GNUSTEP_DEP:C/:.*//}.themeEngine/${_GNUSTEP_DEP:C/:.*//}:${PORTSDIR}/${_GNUSTEP_DEP:C/.*://}
|
2006-11-17 13:01:35 +00:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
2008-11-29 20:32:02 +00:00
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
# source local menulets
|
|
|
|
#
|
|
|
|
.if defined(USE_GNUSTEP_LOCAL_MENULETS)
|
|
|
|
.for _GNUSTEP_DEP in ${USE_GNUSTEP_LOCAL_MENULETS}
|
|
|
|
BUILD_DEPENDS+= ${GNUSTEP_LOCAL_BUNDLES}/${_GNUSTEP_DEP:C/:.*//}.menulet/${_GNUSTEP_DEP:C/:.*//}:${PORTSDIR}/${_GNUSTEP_DEP:C/.*://}
|
|
|
|
RUN_DEPENDS+= ${GNUSTEP_LOCAL_BUNDLES}/${_GNUSTEP_DEP:C/:.*//}.menulet/${_GNUSTEP_DEP:C/:.*//}:${PORTSDIR}/${_GNUSTEP_DEP:C/.*://}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
2009-03-20 09:14:26 +00:00
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
# source local asts
|
|
|
|
#
|
|
|
|
.if defined(USE_GNUSTEP_LOCAL_ASTS)
|
|
|
|
.for _GNUSTEP_DEP in ${USE_GNUSTEP_LOCAL_ASTS}
|
|
|
|
BUILD_DEPENDS+= ${GNUSTEP_LOCAL_BUNDLES}/LanguageKit/${_GNUSTEP_DEP:C/:.*//}.ast/${_GNUSTEP_DEP:C/:.*//}:${PORTSDIR}/${_GNUSTEP_DEP:C/.*://}
|
|
|
|
RUN_DEPENDS+= ${GNUSTEP_LOCAL_BUNDLES}/LanguageKit/${_GNUSTEP_DEP:C/:.*//}.ast/${_GNUSTEP_DEP:C/:.*//}:${PORTSDIR}/${_GNUSTEP_DEP:C/.*://}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
# source local burns
|
|
|
|
#
|
|
|
|
.if defined(USE_GNUSTEP_LOCAL_BURNS)
|
|
|
|
.for _GNUSTEP_DEP in ${USE_GNUSTEP_LOCAL_BURNS}
|
|
|
|
BUILD_DEPENDS+= ${GNUSTEP_LOCAL_ROOT}/Library/Burn/${_GNUSTEP_DEP:C/:.*//}.bundle/${_GNUSTEP_DEP:C/:.*//}:${PORTSDIR}/${_GNUSTEP_DEP:C/.*://}
|
|
|
|
RUN_DEPENDS+= ${GNUSTEP_LOCAL_ROOT}/Library/Burn/${_GNUSTEP_DEP:C/:.*//}.bundle/${_GNUSTEP_DEP:C/:.*//}:${PORTSDIR}/${_GNUSTEP_DEP:C/.*://}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
2006-10-31 05:27:21 +00:00
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
# source system apps
|
|
|
|
#
|
|
|
|
.if defined(USE_GNUSTEP_SYSTEM_APPS)
|
|
|
|
.for _GNUSTEP_DEP in ${USE_GNUSTEP_SYSTEM_APPS}
|
2006-12-31 13:42:50 +00:00
|
|
|
BUILD_DEPENDS+= ${GNUSTEP_SYSTEM_APPS}/${_GNUSTEP_DEP:C/:.*//}.app/${_GNUSTEP_DEP:C/:.*//}:${PORTSDIR}/${_GNUSTEP_DEP:C/.*://}
|
|
|
|
RUN_DEPENDS+= ${GNUSTEP_SYSTEM_APPS}/${_GNUSTEP_DEP:C/:.*//}.app/${_GNUSTEP_DEP:C/:.*//}:${PORTSDIR}/${_GNUSTEP_DEP:C/.*://}
|
2006-10-31 05:27:21 +00:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
# source local apps
|
|
|
|
#
|
|
|
|
.if defined(USE_GNUSTEP_LOCAL_APPS)
|
|
|
|
.for _GNUSTEP_DEP in ${USE_GNUSTEP_LOCAL_APPS}
|
2006-12-31 13:42:50 +00:00
|
|
|
BUILD_DEPENDS+= ${GNUSTEP_LOCAL_APPS}/${_GNUSTEP_DEP:C/:.*//}.app/${_GNUSTEP_DEP:C/:.*//}:${PORTSDIR}/${_GNUSTEP_DEP:C/.*://}
|
|
|
|
RUN_DEPENDS+= ${GNUSTEP_LOCAL_APPS}/${_GNUSTEP_DEP:C/:.*//}.app/${_GNUSTEP_DEP:C/:.*//}:${PORTSDIR}/${_GNUSTEP_DEP:C/.*://}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
# source system tools
|
|
|
|
#
|
|
|
|
.if defined(USE_GNUSTEP_SYSTEM_TOOLS)
|
|
|
|
.for _GNUSTEP_DEP in ${USE_GNUSTEP_SYSTEM_TOOLS}
|
|
|
|
BUILD_DEPENDS+= ${GNUSTEP_SYSTEM_TOOLS}/${_GNUSTEP_DEP:C/:.*//}:${PORTSDIR}/${_GNUSTEP_DEP:C/.*://}
|
|
|
|
RUN_DEPENDS+= ${GNUSTEP_SYSTEM_TOOLS}/${_GNUSTEP_DEP:C/:.*//}:${PORTSDIR}/${_GNUSTEP_DEP:C/.*://}
|
2006-11-16 14:57:47 +00:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
# source local tools
|
|
|
|
#
|
|
|
|
.if defined(USE_GNUSTEP_LOCAL_TOOLS)
|
|
|
|
.for _GNUSTEP_DEP in ${USE_GNUSTEP_LOCAL_TOOLS}
|
2006-12-31 13:42:50 +00:00
|
|
|
BUILD_DEPENDS+= ${GNUSTEP_LOCAL_TOOLS}/${_GNUSTEP_DEP:C/:.*//}:${PORTSDIR}/${_GNUSTEP_DEP:C/.*://}
|
|
|
|
RUN_DEPENDS+= ${GNUSTEP_LOCAL_TOOLS}/${_GNUSTEP_DEP:C/:.*//}:${PORTSDIR}/${_GNUSTEP_DEP:C/.*://}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
# source system services
|
|
|
|
#
|
|
|
|
.if defined(USE_GNUSTEP_SYSTEM_SERVICES)
|
|
|
|
.for _GNUSTEP_DEP in ${USE_GNUSTEP_SYSTEM_SERVICES}
|
|
|
|
BUILD_DEPENDS+= ${GNUSTEP_SYSTEM_SERVICES}/${_GNUSTEP_DEP:C/:.*//}.service/${_GNUSTEP_DEP:C/:.*//}:${PORTSDIR}/${_GNUSTEP_DEP:C/.*://}
|
|
|
|
RUN_DEPENDS+= ${GNUSTEP_SYSTEM_SERVICES}/${_GNUSTEP_DEP:C/:.*//}.service/${_GNUSTEP_DEP:C/:.*//}:${PORTSDIR}/${_GNUSTEP_DEP:C/.*://}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
# source local services
|
|
|
|
#
|
|
|
|
.if defined(USE_GNUSTEP_LOCAL_SERVICES)
|
|
|
|
.for _GNUSTEP_DEP in ${USE_GNUSTEP_LOCAL_SERVICES}
|
|
|
|
BUILD_DEPENDS+= ${GNUSTEP_LOCAL_SERVICES}/${_GNUSTEP_DEP:C/:.*//}.service/${_GNUSTEP_DEP:C/:.*//}:${PORTSDIR}/${_GNUSTEP_DEP:C/.*://}
|
|
|
|
RUN_DEPENDS+= ${GNUSTEP_LOCAL_SERVICES}/${_GNUSTEP_DEP:C/:.*//}.service/${_GNUSTEP_DEP:C/:.*//}:${PORTSDIR}/${_GNUSTEP_DEP:C/.*://}
|
2006-10-31 05:27:21 +00:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
2003-04-13 06:53:03 +00:00
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
# source GNUstep.sh
|
|
|
|
#
|
|
|
|
.if defined(USE_GNUSTEP_CONFIGURE)
|
2013-05-30 01:06:51 +00:00
|
|
|
NO_CCACHE= Overrides PATH set from GNUstep.sh
|
2005-11-19 06:02:20 +00:00
|
|
|
run-autotools::
|
2004-01-20 09:14:10 +00:00
|
|
|
@${DO_NADA}
|
|
|
|
|
2003-04-13 06:53:03 +00:00
|
|
|
do-configure:
|
2006-12-31 13:42:50 +00:00
|
|
|
@(cd ${CONFIGURE_WRKSRC}; . ${GNUSTEP_MAKEFILES}/GNUstep.sh; \
|
2003-04-13 06:53:03 +00:00
|
|
|
if ! ${SETENV} CC="${CC}" CXX="${CXX}" \
|
|
|
|
CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \
|
2011-09-23 22:26:39 +00:00
|
|
|
CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
|
2003-04-13 06:53:03 +00:00
|
|
|
INSTALL="/usr/bin/install -c -o ${BINOWN} -g ${BINGRP}" \
|
|
|
|
INSTALL_DATA="${INSTALL} -c" \
|
|
|
|
INSTALL_PROGRAM="${INSTALL} -c" \
|
|
|
|
INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
|
|
|
|
${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}; then \
|
|
|
|
${ECHO} "===> Script \"${CONFIGURE_SCRIPT}\" failed: here are the contents of \"${CONFIGURE_LOG}\""; \
|
|
|
|
${CAT} ${CONFIGURE_LOG}; \
|
|
|
|
${ECHO} "(end of \"${CONFIGURE_LOG}\")"; \
|
|
|
|
${FALSE}; \
|
|
|
|
fi)
|
|
|
|
.endif
|
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
# source GNUstep.sh
|
|
|
|
#
|
|
|
|
.if defined(USE_GNUSTEP_BUILD)
|
2013-05-30 01:06:51 +00:00
|
|
|
NO_CCACHE= Overrides PATH set from GNUstep.sh
|
2003-04-13 06:53:03 +00:00
|
|
|
do-build:
|
2006-10-31 05:27:21 +00:00
|
|
|
.if defined(USE_GNUSTEP_MAKE_DIRS)
|
|
|
|
.for i in ${USE_GNUSTEP_MAKE_DIRS}
|
2008-11-17 03:55:22 +00:00
|
|
|
@(cd ${BUILD_WRKSRC}/${i}; . ${GNUSTEP_MAKEFILES}/GNUstep.sh; \
|
2006-10-31 05:27:21 +00:00
|
|
|
${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${ALL_TARGET})
|
|
|
|
.endfor
|
|
|
|
.else
|
2008-11-17 03:55:22 +00:00
|
|
|
@(cd ${BUILD_WRKSRC}; . ${GNUSTEP_MAKEFILES}/GNUstep.sh; \
|
2003-04-13 06:53:03 +00:00
|
|
|
${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${ALL_TARGET})
|
2006-10-31 05:27:21 +00:00
|
|
|
.endif
|
2003-04-13 06:53:03 +00:00
|
|
|
|
|
|
|
.endif
|
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
# source GNUstep.sh
|
|
|
|
#
|
|
|
|
.if defined(USE_GNUSTEP_INSTALL)
|
|
|
|
do-install:
|
2006-10-31 05:27:21 +00:00
|
|
|
.if defined(USE_GNUSTEP_MAKE_DIRS)
|
|
|
|
.for i in ${USE_GNUSTEP_MAKE_DIRS}
|
2008-11-17 03:55:22 +00:00
|
|
|
@(cd ${INSTALL_WRKSRC}/${i}; . ${GNUSTEP_MAKEFILES}/GNUstep.sh; \
|
2006-10-31 05:27:21 +00:00
|
|
|
${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET})
|
|
|
|
.endfor
|
|
|
|
.else
|
2008-11-17 03:55:22 +00:00
|
|
|
@(cd ${INSTALL_WRKSRC}; . ${GNUSTEP_MAKEFILES}/GNUstep.sh; \
|
2003-04-13 06:53:03 +00:00
|
|
|
${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET})
|
2006-10-31 05:27:21 +00:00
|
|
|
.endif
|
2007-06-26 16:58:33 +00:00
|
|
|
.if defined(PACKAGE_BUILDING) || defined(BATCH) || defined(CLEAN_ROOT)
|
2003-06-18 04:07:19 +00:00
|
|
|
rm -rf /root/GNUstep
|
|
|
|
.endif
|
2003-04-13 06:53:03 +00:00
|
|
|
|
|
|
|
.endif
|
|
|
|
|
2004-04-13 11:29:00 +00:00
|
|
|
.if !defined(GNUSTEP_WITH_BASE_GCC)
|
2013-05-02 14:09:21 +00:00
|
|
|
TARGLIB!= ${MAKE} -C ${PORTSDIR}/${GNUSTEP_GCC_PORT} -V TARGLIB
|
2004-04-13 11:29:00 +00:00
|
|
|
.endif
|
|
|
|
|
2003-04-13 06:53:03 +00:00
|
|
|
.endif
|
|
|
|
|
2006-11-30 06:55:29 +00:00
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
# run ldconfig for installed shlibs
|
|
|
|
#
|
|
|
|
.if defined(USE_GNUSTEP_LDCONFIG)
|
|
|
|
.for i in ${USE_GNUSTEP_LDCONFIG}
|
2010-05-30 18:14:19 +00:00
|
|
|
USE_LDCONFIG+= ${i}
|
2006-11-30 06:55:29 +00:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
2003-04-13 06:53:03 +00:00
|
|
|
# eof
|