From d7f59ea8de230bb289b02649cd575560e4c71e0d Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Sat, 13 Jan 2007 03:57:25 +0000 Subject: - update to use new bsd.gnustep.mk Approved by: gurkan@linuks.mine.nu --- editors/emacs.app/Makefile | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'editors/emacs.app') diff --git a/editors/emacs.app/Makefile b/editors/emacs.app/Makefile index 6bff35281eaa..339b4ce9c78a 100644 --- a/editors/emacs.app/Makefile +++ b/editors/emacs.app/Makefile @@ -15,23 +15,22 @@ DISTNAME= emacs-23.0.0_NS-${PORTVERSION}pre3b MAINTAINER= gurkan@linuks.mine.nu COMMENT= The GNU Emacs editor on GNUstep -WRKSRC= ${WRKDIR}/${DISTNAME} -USE_GMAKE= yes USE_GNUSTEP= yes -BASEDIR=${WRKSRC}/build/Emacs.app -BINDIR=${BASEDIR} -CFLAGS+=-I${PREFIX}/System/Library/Headers/ USE_GNUSTEP_PREFIX= yes USE_GNUSTEP_BACK= yes USE_GNUSTEP_MAKE= yes -MAKEFILE= GNUmakefile + +WRKSRC= ${WRKDIR}/${DISTNAME} +BASEDIR=${WRKSRC}/build/Emacs.app +BINDIR=${BASEDIR} +CFLAGS+=-I${PREFIX}/System/Library/Headers/ post-configure: @${REINPLACE_CMD} -e 's|#define config_machfile "m/.h"|#define config_machfile "m/sparc.h"|g' ${WRKSRC}/src/config.h - @${REINPLACE_CMD} -e's|source /etc/GNUstep/GNUstep.conf|. ${SYSMAKEDIR}/GNUstep.sh|g' ${WRKSRC}/nextstep/compile + @${REINPLACE_CMD} -e's|source /etc/GNUstep/GNUstep.conf|. ${GNUSTEP_MAKEFILES}/GNUstep.sh|g' ${WRKSRC}/nextstep/compile do-build: - (. ${SYSMAKEDIR}/GNUstep.sh; cd ${WRKSRC}/nextstep; ${MAKE_ENV} ./compile) + (. ${GNUSTEP_MAKEFILES}/GNUstep.sh; cd ${WRKSRC}/nextstep; ${MAKE_ENV} ./compile) do-install: ${CP} -r ${WRKSRC}/nextstep/build/Emacs.app ${PREFIX}/System/Applications/ -- cgit v1.2.3