2009-12-28 10:17:44 +01:00
|
|
|
# $NetBSD: Makefile,v 1.15 2009/12/28 09:17:44 obache Exp $
|
2005-04-24 04:48:06 +02:00
|
|
|
#
|
2009-04-18 04:19:23 +02:00
|
|
|
DISTNAME= libFoundation-1.1.7-r168
|
2005-04-24 04:48:06 +02:00
|
|
|
PKGNAME= ${DISTNAME:S/-r/./}
|
2009-12-28 10:17:44 +01:00
|
|
|
PKGREVISION= 1
|
2005-04-24 04:48:06 +02:00
|
|
|
CATEGORIES= devel gnustep
|
2008-08-23 09:46:59 +02:00
|
|
|
MASTER_SITES= http://download.opengroupware.org/nightly/sources/releases/
|
2005-04-24 04:48:06 +02:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2005-04-24 04:48:06 +02:00
|
|
|
HOMEPAGE= http://www.opengroupware.org/en/devs/thirdparty/libFoundation/
|
|
|
|
COMMENT= Library implementing the OpenStep Foundation API
|
2009-04-18 04:19:23 +02:00
|
|
|
LICENSE= libFoundation-license
|
2006-05-28 02:26:26 +02:00
|
|
|
|
2009-04-18 04:19:23 +02:00
|
|
|
.include "common.mk"
|
2005-04-24 04:48:06 +02:00
|
|
|
|
2009-04-18 04:19:23 +02:00
|
|
|
MAKE_FLAGS= GNUSTEP_TARGET_DIR="${WRKSRC}/Foundation"
|
2005-04-24 04:48:06 +02:00
|
|
|
|
2009-04-18 04:19:23 +02:00
|
|
|
SUBST_FILES.gnustep_installation_dir+= Foundation/GNUmakefile.postamble
|
|
|
|
SUBST_FILES.gnustep_installation_dir+= Foundation/GNUmakefile
|
|
|
|
SUBST_FILES.gnustep_installation_dir+= Resources/GNUmakefile
|
2005-04-24 04:48:06 +02:00
|
|
|
|
|
|
|
LIBF_HOST_OS= ${GNUSTEP_HOST:C/.*-//}
|
|
|
|
|
2009-04-18 04:19:23 +02:00
|
|
|
PLIST_SUBST+= GNUSTEP_HOST_CPU=${GNUSTEP_HOST_CPU:Q}
|
|
|
|
PLIST_SUBST+= LIBF_HOST_OS=${LIBF_HOST_OS}
|
|
|
|
|
|
|
|
.include "../../devel/gnustep-make/buildlink3.mk"
|
2006-03-23 05:13:10 +01:00
|
|
|
.include "../../devel/gnustep-objc-lf2/buildlink3.mk"
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
|
|
|
2005-04-24 04:48:06 +02:00
|
|
|
post-configure:
|
2009-04-18 04:19:23 +02:00
|
|
|
${MKDIR} ${WRKSRC}/Foundation/${GNUSTEP_HOST_CPU}
|
2006-03-18 01:54:28 +01:00
|
|
|
[ -e ${WRKSRC}/Foundation/${GNUSTEP_HOST_CPU}/${LIBF_HOST_OS} ] || \
|
2005-04-24 04:48:06 +02:00
|
|
|
${LN} -s \
|
2005-10-01 01:52:58 +02:00
|
|
|
${WRKSRC}/Foundation/${LIBF_HOST_OS} \
|
2006-03-18 01:54:28 +01:00
|
|
|
${WRKSRC}/Foundation/${GNUSTEP_HOST_CPU}/${LIBF_HOST_OS}
|
2005-04-24 04:48:06 +02:00
|
|
|
|
2009-04-18 04:19:23 +02:00
|
|
|
pre-install:
|
|
|
|
${MKDIR} ${DESTDIR}${GNUSTEP_MAKEFILES}/Additional
|
|
|
|
|
2005-04-24 04:48:06 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|