aboutsummaryrefslogtreecommitdiffstats
path: root/devel/gnustep/Makefile
blob: f315e90979db48511976ec0ed0a6c55033e1b4b1 (plain) (blame)
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
54
55
56
57
# 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.1
.else
PORTVERSION=    1.6.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
COMBOLIBDIR=    ${SYSLIBDIR}/gnu-gnu-gnu
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

.if defined(WITH_GNUSTEP_DEVEL)
SYSLIBDIR=  ${SYSTEMDIR}/Library/Libraries/${GNU_ARCH}/${OPSYS:L}
.else
SYSLIBDIR=  ${SYSTEMDIR}/Libraries/${GNU_ARCH}/${OPSYS:L}
.endif
COMBOPATH=  ${GNU_ARCH}/${OPSYS:L}/gnu-gnu-gnu
BACKBUNDLEDIR=  ${BUNDLEDIR}/libgnustep-back.bundle/${COMBOPATH}

do-install: # empty

.include <bsd.port.post.mk>