summaryrefslogtreecommitdiffstats
path: root/devel/gnustep/Makefile
blob: c7a300b13601d8dc866fe8d2ce3cb31d39ba579c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# New ports collection makefile for:    gnustep
# Date created:         03 October 1998
# Whom:                 Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	gnustep
.if defined(WITH_GNUSTEP_DEVEL)
PORTVERSION=	1.7.4
.else
PORTVERSION=	1.8.0
.endif
CATEGORIES=	devel lang
MASTER_SITES=	# empty
DISTFILES=	# empty
EXTRACT_ONLY=	# empty

MAINTAINER=	dinoex@FreeBSD.org
COMMENT=	Objective-C libraries based on the OpenStep standard

RUN_DEPENDS+=	${SYSMAKEDIR}/GNUstep.sh:${PORTSDIR}/${GNUSTEP_MAKE_PORT}
RUN_DEPENDS+=	${COMBOLIBDIR}/libgnustep-base.so:${PORTSDIR}/${GNUSTEP_BASE_PORT}
RUN_DEPENDS+=	${COMBOLIBDIR}/libgnustep-gui.so:${PORTSDIR}/${GNUSTEP_GUI_PORT}
RUN_DEPENDS+=	${BACKBUNDLEDIR}/libgnustep-back:${PORTSDIR}/${GNUSTEP_BACK_PORT}

PREFIX=		${LOCALBASE}/GNUstep
NO_MTREE=	yes
NO_BUILD=	yes
SYSTEMDIR=	${PREFIX}/System
SYSMAKEDIR=	${SYSTEMDIR}/Makefiles
BUNDLEDIR=	${SYSTEMDIR}/Library/Bundles
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

.include <bsd.port.pre.mk>

.if ${MACHINE_ARCH} == "i386"
GNU_ARCH=	ix86
.else
GNU_ARCH=	${MACHINE_ARCH}
.endif

COMBOPATH=	${GNU_ARCH}/${OPSYS:L}/gnu-gnu-gnu
SYSLIBDIR=	${SYSTEMDIR}/Library/Libraries
COMBOLIBDIR=	${SYSLIBDIR}
BACKBUNDLEDIR=	${BUNDLEDIR}/libgnustep-back.bundle

do-install:	# empty

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud