b71a1d488b
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
47 lines
1.4 KiB
Makefile
47 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.28 2005/12/05 20:50:04 rillig Exp $
|
|
|
|
DISTNAME= gnustep-base-1.11.1
|
|
CATEGORIES= devel gnustep
|
|
MASTER_SITES= ${MASTER_SITE_GNUSTEP:=core/}
|
|
|
|
MAINTAINER= rh@NetBSD.org
|
|
HOMEPAGE= http://www.gnustep.org/
|
|
COMMENT= GNUstep foundation classes
|
|
|
|
PTHREAD_LIBS= -lpthread
|
|
|
|
CONFIGURE_ARGS+= --exec-prefix=${PREFIX}/libexec/GNUstep
|
|
CONFIGURE_ENV+= INSTALL_PROGRAM=${INSTALL_SCRIPT:Q}
|
|
|
|
pre-configure:
|
|
${SED} 's|@PREFIX@|${PREFIX}|g' <${FILESDIR}/openapp >${WRKDIR}/openapp
|
|
.for pfile in configure base.make.in
|
|
${CP} ${WRKSRC}/${pfile} ${WRKSRC}/${pfile}.tmpl
|
|
${SED} 's|@PTHREAD_LIBS@|${PTHREAD_LIBS}|g' \
|
|
<${WRKSRC}/${pfile}.tmpl >${WRKSRC}/${pfile}
|
|
.endfor
|
|
|
|
post-install:
|
|
${INSTALL_SCRIPT} ${WRKDIR}/openapp ${PREFIX}/bin
|
|
|
|
.include "../../mk/compiler.mk"
|
|
|
|
.if empty(CC_VERSION:Mgcc-3*) || !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"
|