summaryrefslogtreecommitdiff
path: root/devel/gnustep-objc-lf2/Makefile
blob: 42953dbf7ded162a9c807a96655f09da1c85c157 (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
# $NetBSD: Makefile,v 1.8 2006/09/20 23:17:41 rillig Exp $
#

DISTNAME=	gnustep-objc-lf2.95.3-r88
PKGNAME=	${DISTNAME:S/.9/-2.9/:S/-r/./}
PKGREVISION=	1
CATEGORIES=	devel gnustep
MASTER_SITES=	ftp://ftp.opengroupware.org/sources/releases/		\
		http://download.opengroupware.org/nightly/sources/releases/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://sope.opengroupware.org/en/build/thirdparty.html\#gstep_objc
COMMENT=	Objective-C library required for libFoundation

USE_LANGUAGES=	objc

WRKSRC=		${WRKDIR}/libobjc-lf2
USE_TOOLS+=	gmake
MAKE_FILE=	GNUmakefile

.include "../../devel/gnustep-make/buildlink3.mk"

do-configure:
.if ${GNUSTEP_HOST_CPU} == "x86_64"
	${LN} -s alpha ${WRKSRC}/config/x86_64
.else
	${MKDIR} ${WRKSRC}/config/${GNUSTEP_HOST_CPU}
	[ -e ${WRKSRC}/config/${GNUSTEP_HOST_CPU}/${LOWER_OPSYS} ] || \
	${LN} -s linux-gnu ${WRKSRC}/config/${GNUSTEP_HOST_CPU}/generic
.endif

.include "../../mk/bsd.pkg.mk"