From 44fd51006809b35e7b92415f49a6d5df498af1fa Mon Sep 17 00:00:00 2001 From: dinoex 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