60f460ab01
block). Uncomment some commented out LICENSE lines while here.
40 lines
1.3 KiB
Makefile
40 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.14 2009/05/19 08:59:10 wiz Exp $
|
|
#
|
|
DISTNAME= libFoundation-1.1.7-r168
|
|
PKGNAME= ${DISTNAME: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 "common.mk"
|
|
|
|
MAKE_FLAGS= GNUSTEP_TARGET_DIR="${WRKSRC}/Foundation"
|
|
|
|
SUBST_FILES.gnustep_installation_dir+= Foundation/GNUmakefile.postamble
|
|
SUBST_FILES.gnustep_installation_dir+= Foundation/GNUmakefile
|
|
SUBST_FILES.gnustep_installation_dir+= Resources/GNUmakefile
|
|
|
|
LIBF_HOST_OS= ${GNUSTEP_HOST:C/.*-//}
|
|
|
|
PLIST_SUBST+= GNUSTEP_HOST_CPU=${GNUSTEP_HOST_CPU:Q}
|
|
PLIST_SUBST+= LIBF_HOST_OS=${LIBF_HOST_OS}
|
|
|
|
.include "../../devel/gnustep-make/buildlink3.mk"
|
|
.include "../../devel/gnustep-objc-lf2/buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
|
|
post-configure:
|
|
${MKDIR} ${WRKSRC}/Foundation/${GNUSTEP_HOST_CPU}
|
|
[ -e ${WRKSRC}/Foundation/${GNUSTEP_HOST_CPU}/${LIBF_HOST_OS} ] || \
|
|
${LN} -s \
|
|
${WRKSRC}/Foundation/${LIBF_HOST_OS} \
|
|
${WRKSRC}/Foundation/${GNUSTEP_HOST_CPU}/${LIBF_HOST_OS}
|
|
|
|
pre-install:
|
|
${MKDIR} ${DESTDIR}${GNUSTEP_MAKEFILES}/Additional
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|