pkgsrc/devel/gnustep-base/Makefile

51 lines
1.4 KiB
Makefile
Raw Normal View History

2006-05-28 02:26:26 +02:00
# $NetBSD: Makefile,v 1.33 2006/05/28 00:26:26 rh Exp $
DISTNAME= gnustep-base-1.12.0
CATEGORIES= devel gnustep
MASTER_SITES= ${MASTER_SITE_GNUSTEP:=core/}
MAINTAINER= rh@NetBSD.org
HOMEPAGE= http://www.gnustep.org/
COMMENT= GNUstep foundation classes
2006-05-28 02:26:26 +02:00
USE_LANGUAGES= c objc
PTHREAD_LIBS= -lpthread
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --exec-prefix=${PREFIX:Q}/libexec/GNUstep
CONFIGURE_ENV+= INSTALL_PROGRAM=${INSTALL_SCRIPT:Q}
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'
pre-configure:
${SED} 's|@PREFIX@|${PREFIX}|g' <${FILESDIR:Q}/openapp >${WRKDIR:Q}/openapp
post-install:
${INSTALL_SCRIPT} ${WRKDIR:Q}/openapp ${PREFIX:Q}/bin
.include "../../mk/compiler.mk"
2006-05-20 14:13:51 +02:00
.if empty(CC_VERSION:Mgcc-[34]*) || !exists(/usr/include/objc/objc.h)
.include "../../devel/gnustep-objc/buildlink3.mk"
.endif
.include "../../mk/pthread.buildlink3.mk"
.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "pth")
PTHREAD_LIBS+= -lpth
.endif
.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"
.include "../../devel/gnustep-make/gnustep.mk"
.include "../../mk/x11.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"