diff options
author | uebayasi <uebayasi@pkgsrc.org> | 2007-11-01 06:44:07 +0000 |
---|---|---|
committer | uebayasi <uebayasi@pkgsrc.org> | 2007-11-01 06:44:07 +0000 |
commit | 58ffd6376084533214adbfb23c137f00a11a20fb (patch) | |
tree | 8d385357174e0599153e45a45dde3e7f44de04d6 | |
parent | c4f6e1c41ca86ea33f1f4a914c9dd096eecd8231 (diff) | |
download | pkgsrc-58ffd6376084533214adbfb23c137f00a11a20fb.tar.gz |
Back port Carbon Emacs support from wip. Patch from Obata-san.
-rw-r--r-- | editors/emacs/PLIST.carbon | 11 | ||||
-rw-r--r-- | editors/emacs/options.mk | 11 |
2 files changed, 21 insertions, 1 deletions
diff --git a/editors/emacs/PLIST.carbon b/editors/emacs/PLIST.carbon new file mode 100644 index 00000000000..333998d5b3b --- /dev/null +++ b/editors/emacs/PLIST.carbon @@ -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 --git a/editors/emacs/options.mk b/editors/emacs/options.mk index ef92f84f5f7..d86de804c04 100644 --- a/editors/emacs/options.mk +++ b/editors/emacs/options.mk @@ -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-png 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 ### |