summaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2007-01-13 03:57:25 +0000
committerdinoex <dinoex@FreeBSD.org>2007-01-13 03:57:25 +0000
commit44fd51006809b35e7b92415f49a6d5df498af1fa (patch)
treecf5bc34dc6d9e1b3cba11b4bbea429e80e9b2817 /editors
parent10e5fdd74da962755ef9143ee3527c0ea3b520ce (diff)
downloadFreeBSD-ports-44fd51006809b35e7b92415f49a6d5df498af1fa.zip
FreeBSD-ports-44fd51006809b35e7b92415f49a6d5df498af1fa.tar.gz
- update to use new bsd.gnustep.mk
Approved by: gurkan@linuks.mine.nu
Diffstat (limited to 'editors')
-rw-r--r--editors/emacs.app/Makefile15
-rw-r--r--editors/textedit.app/Makefile5
2 files changed, 9 insertions, 11 deletions
diff --git a/editors/emacs.app/Makefile b/editors/emacs.app/Makefile
index 6bff352..339b4ce 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/
diff --git a/editors/textedit.app/Makefile b/editors/textedit.app/Makefile
index 5d0e401..7beffe1 100644
--- a/editors/textedit.app/Makefile
+++ b/editors/textedit.app/Makefile
@@ -14,14 +14,13 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
MAINTAINER= gurkan@linuks.mine.nu
COMMENT= Basic text editor for GNUstep
-WRKSRC= ${WRKDIR}/textedit-${PORTVERSION}
-USE_GMAKE= yes
USE_GNUSTEP= yes
USE_GNUSTEP_PREFIX= yes
USE_GNUSTEP_BACK= yes
USE_GNUSTEP_BUILD= yes
USE_GNUSTEP_INSTALL= yes
-MAKEFILE= GNUmakefile
+
+WRKSRC= ${WRKDIR}/textedit-${PORTVERSION}
.include <bsd.port.pre.mk>
OpenPOWER on IntegriCloud