2006-05-28 02:26:26 +02:00
|
|
|
# $NetBSD: Makefile,v 1.33 2006/05/28 00:26:26 rh Exp $
|
2002-09-27 12:58:42 +02:00
|
|
|
|
2006-04-03 20:20:50 +02:00
|
|
|
DISTNAME= gnustep-base-1.12.0
|
2005-04-12 17:11:11 +02:00
|
|
|
CATEGORIES= devel gnustep
|
2005-07-29 14:58:37 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNUSTEP:=core/}
|
2002-09-27 12:58:42 +02:00
|
|
|
|
2005-04-12 17:11:11 +02:00
|
|
|
MAINTAINER= rh@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.gnustep.org/
|
|
|
|
COMMENT= GNUstep foundation classes
|
2002-09-27 12:58:42 +02:00
|
|
|
|
2006-05-28 02:26:26 +02:00
|
|
|
USE_LANGUAGES= c objc
|
|
|
|
|
2003-01-21 13:43:37 +01:00
|
|
|
PTHREAD_LIBS= -lpthread
|
|
|
|
|
2006-01-17 08:38:34 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2006-04-03 20:20:50 +02:00
|
|
|
CONFIGURE_ARGS+= --exec-prefix=${PREFIX:Q}/libexec/GNUstep
|
2005-12-05 21:49:47 +01:00
|
|
|
CONFIGURE_ENV+= INSTALL_PROGRAM=${INSTALL_SCRIPT:Q}
|
2002-09-28 01:56:30 +02:00
|
|
|
|
2006-01-17 08:38:34 +01:00
|
|
|
SUBST_CLASSES+= pthread
|
|
|
|
SUBST_STAGE.pthread= pre-configure
|
|
|
|
SUBST_FILES.pthread= configure base.make.in
|
|
|
|
SUBST_SED.pthread= -e 's|@PTHREAD_LIBS@|${PTHREAD_LIBS}|g'
|
|
|
|
|
2002-09-28 01:56:30 +02:00
|
|
|
pre-configure:
|
2006-04-03 20:20:50 +02:00
|
|
|
${SED} 's|@PREFIX@|${PREFIX}|g' <${FILESDIR:Q}/openapp >${WRKDIR:Q}/openapp
|
2002-09-28 01:56:30 +02:00
|
|
|
|
|
|
|
post-install:
|
2006-04-03 20:20:50 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR:Q}/openapp ${PREFIX:Q}/bin
|
2002-09-27 12:58:42 +02:00
|
|
|
|
2004-04-11 01:41:01 +02:00
|
|
|
.include "../../mk/compiler.mk"
|
|
|
|
|
2006-05-20 14:13:51 +02:00
|
|
|
.if empty(CC_VERSION:Mgcc-[34]*) || !exists(/usr/include/objc/objc.h)
|
2004-04-11 01:41:01 +02:00
|
|
|
.include "../../devel/gnustep-objc/buildlink3.mk"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
2003-01-21 13:43:37 +01:00
|
|
|
|
|
|
|
.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "pth")
|
|
|
|
PTHREAD_LIBS+= -lpth
|
|
|
|
.endif
|
|
|
|
|
2005-07-29 14:58:37 +02:00
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
|
|
.include "../../devel/ffcall/buildlink3.mk"
|
|
|
|
.include "../../devel/gmp/buildlink3.mk"
|
|
|
|
.include "../../devel/gnustep-make/buildlink3.mk"
|
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
2004-04-11 01:41:01 +02:00
|
|
|
.include "../../devel/gnustep-make/gnustep.mk"
|
2005-07-29 14:58:37 +02:00
|
|
|
.include "../../mk/x11.buildlink3.mk"
|
2002-09-27 12:58:42 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|