pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors/emacs Back port Carbon Emacs support from wip....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1b546262f814
branches:  trunk
changeset: 534804:1b546262f814
user:      uebayasi <uebayasi%pkgsrc.org@localhost>
date:      Thu Nov 01 06:44:07 2007 +0000

description:
Back port Carbon Emacs support from wip.  Patch from Obata-san.

diffstat:

 editors/emacs/PLIST.carbon |  11 +++++++++++
 editors/emacs/options.mk   |  11 ++++++++++-
 2 files changed, 21 insertions(+), 1 deletions(-)

diffs (40 lines):

diff -r abf6127da3d4 -r 1b546262f814 editors/emacs/PLIST.carbon
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/emacs/PLIST.carbon        Thu Nov 01 06:44:07 2007 +0000
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST.carbon,v 1.1 2007/11/01 06:44:07 uebayasi Exp $
+Applications/Emacs.app/Contents/Info.plist
+Applications/Emacs.app/Contents/MacOS/Emacs
+Applications/Emacs.app/Contents/PkgInfo
+Applications/Emacs.app/Contents/Resources/Emacs.icns
+Applications/Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings
+@dirrm Applications/Emacs.app/Contents/Resources/English.lproj
+@dirrm Applications/Emacs.app/Contents/Resources
+@dirrm Applications/Emacs.app/Contents/MacOS
+@dirrm Applications/Emacs.app/Contents
+@dirrm Applications/Emacs.app
diff -r abf6127da3d4 -r 1b546262f814 editors/emacs/options.mk
--- a/editors/emacs/options.mk  Thu Nov 01 06:18:24 2007 +0000
+++ b/editors/emacs/options.mk  Thu Nov 01 06:44:07 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.5 2007/10/16 21:33:00 wiz Exp $
+# $NetBSD: options.mk,v 1.6 2007/11/01 06:44:08 uebayasi Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.emacs
 PKG_SUPPORTED_OPTIONS=         x11
@@ -52,6 +52,15 @@
 CONFIGURE_ARGS+=       --without-tiff
 CONFIGURE_ARGS+=       --without-x
 CONFIGURE_ARGS+=       --without-xpm
+.  if exists(/System/Library/Frameworks/Carbon.framework)
+APPLICATIONS_DIR=      Applications
+CONFIGURE_ARGS+=       --with-carbon
+CONFIGURE_ARGS+=       --enable-carbon-app=${PREFIX}/${APPLICATIONS_DIR}
+PLIST_SRC+=            PLIST.carbon
+PLIST_SUBST+=          APPLIDATIONS_DIR=${APPLICATIONS_DIR:Q}
+INSTALLATION_DIRS+=    ${APPLICATIONS_DIR}
+CHECK_WRKREF_SKIP+=    ${APPLICATIONS_DIR}/Emacs.app/Contents/MacOS/Emacs
+.  endif
 .endif
 
 ###



Home | Main Index | Thread Index | Old Index