summaryrefslogtreecommitdiff
path: root/devel/libFoundation-examples/Makefile
blob: 7fc062d1e3715ef6295817fd9e9674c3534ece38 (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
# $NetBSD: Makefile,v 1.1.1.1 2009/04/18 02:28:36 rh Exp $
#
DISTNAME=	libFoundation-1.1.7-r168
PKGNAME=	${DISTNAME:S/-/-examples-/:S/-r/./}
CATEGORIES=	devel gnustep
MASTER_SITES=	http://download.opengroupware.org/nightly/sources/releases/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.opengroupware.org/en/devs/thirdparty/libFoundation/
COMMENT=	Library implementing the OpenStep Foundation API

LICENSE=	libFoundation-license

.include	"../../devel/libFoundation/common.mk"

INSTALL_DIRS=	examples
MAKE_FLAGS=	GNUSTEP_TARGET_DIR="${WRKSRC}/examples"

SUBST_FILES.gnustep_installation_dir+=	examples/GNUmakefile

LIBF_HOST_OS=	${GNUSTEP_HOST:C/.*-//}

PLIST_SUBST+=	GNUSTEP_HOST_CPU=${GNUSTEP_HOST_CPU:Q}
PLIST_SUBST+=	LIBF_HOST_OS=${LIBF_HOST_OS}

pre-build:
	${MKDIR} ${WRKSRC}/examples/GNU

.include "../../devel/libFoundation/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"