diff options
Diffstat (limited to 'deskutils/mhc')
-rw-r--r-- | deskutils/mhc/Makefile | 42 | ||||
-rw-r--r-- | deskutils/mhc/pkg-descr | 26 | ||||
-rw-r--r-- | deskutils/mhc/pkg-plist | 147 | ||||
-rw-r--r-- | deskutils/mhc/pkg-plist.xemacs21-mule | 80 |
4 files changed, 122 insertions, 173 deletions
diff --git a/deskutils/mhc/Makefile b/deskutils/mhc/Makefile index 55df724556c1..3e571be322a7 100644 --- a/deskutils/mhc/Makefile +++ b/deskutils/mhc/Makefile @@ -1,4 +1,4 @@ -# New ports collection makefile for: mhc +# New ports collection makefile for: mhc (for emacs21) # Date Created: 6 Mar 2001 # Whom: Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp> # @@ -12,30 +12,52 @@ MASTER_SITES= http://www.quickhack.net/mhc/arc/ PKGNAMESUFFIX= -${EMACS_PORT_NAME} DISTNAME= ${PORTNAME}-current-snap${PORTVERSION} -MAINTAINER?= yoichi@eken.phys.nagoya-u.ac.jp +MAINTAINER= yoichi@FreeBSD.org WRKSRC= ${WRKDIR}/${DISTNAME}/emacs -EMACS_PORT_NAME?= emacs20 +EMACS_PORT_NAME?= emacs21 .include <bsd.port.pre.mk> -.if (${EMACS_PORT_NAME} == "emacs20") -ALL_TARGET= elc -.endif .if (${EMACS_PORT_NAME} == "xemacs21-mule") ALL_TARGET= package INSTALL_TARGET= install-package -PLIST= ${PKGDIR}/pkg-plist.xemacs21-mule +LISPDIR= ${EMACS_LIBDIR}/site-packages/lisp/${PORTNAME} +ICONDIR= ${EMACS_LIBDIR}/site-packages/etc/${PORTNAME} +IMG_SUFFIX= xpm +XEMACS_ONLY= "" +EMACS_ONLY= "@comment " +EMACS21_ONLY= "@comment " +.else +ALL_TARGET= elc +MAKE_ARGS+= INST_OPTS="--with-lispdir=${PREFIX}/${LISPDIR}" +LISPDIR= ${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME} +ICONDIR= ${EMACS_LIBDIR}/etc/${PORTNAME}/icons +XEMACS_ONLY= "@comment " +EMACS_ONLY= "" +.if (${EMACS_PORT_NAME} == "emacs21") +IMG_SUFFIX= xpm +EMACS21_ONLY= "" +.else +IMG_SUFFIX= xbm +EMACS21_ONLY= "@comment " .endif +.endif + +PLIST_SUB+= LISPDIR=${LISPDIR} \ + ICONDIR=${ICONDIR} IMG_SUFFIX=${IMG_SUFFIX} \ + XEMACS_ONLY=${XEMACS_ONLY} \ + EMACS_ONLY=${EMACS_ONLY} \ + EMACS21_ONLY=${EMACS21_ONLY} DOCS= 00copyright 00readme 00readme.jis emacs/00usage.jis DOCSDIR= ${PREFIX}/share/doc/mhc post-install: -.if (${EMACS_PORT_NAME} == "emacs20") - ${MKDIR} ${PREFIX}/${EMACS_LIBDIR}/site-lisp/mhc/icons - ${INSTALL_DATA} ${WRKSRC}/../icons/*.xbm ${PREFIX}/${EMACS_LIBDIR}/site-lisp/mhc/icons +.if (${EMACS_PORT_NAME} == "emacs20") || (${EMACS_PORT_NAME} == "emacs21") + ${MKDIR} ${PREFIX}/${ICONDIR} + ${INSTALL_DATA} ${WRKSRC}/../icons/*.${IMG_SUFFIX} ${PREFIX}/${ICONDIR} .endif .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} diff --git a/deskutils/mhc/pkg-descr b/deskutils/mhc/pkg-descr index 1214ad38311c..e9d38f1122ad 100644 --- a/deskutils/mhc/pkg-descr +++ b/deskutils/mhc/pkg-descr @@ -5,18 +5,18 @@ To use mhc, you must install some of the supported MUA. The supported MUA are Mew, Wanderlust and Gnus. Minimum setup: -for Mew user: - (autoload 'mhc-mew-setup "mhc-mew") - (add-hook 'mew-init-hook 'mhc-mew-setup) - optional setting for Mew-1.94 (Raw JIS header decoding) - (add-hook 'mew-message-hook 'mhc-mew-decode-header) - -for Wanderlust user: - (autoload 'mhc-wl-setup "mhc-wl") - (add-hook 'wl-init-hook 'mhc-wl-setup) - -for Gnus user: - (autoload 'mhc-gnus-setup "mhc-gnus") - (add-hook 'gnus-startup-hook 'mhc-gnus-setup) +;;; for Mew user: +(autoload 'mhc-mew-setup "mhc-mew") +(add-hook 'mew-init-hook 'mhc-mew-setup) +;; optional setting for Mew-1.94 (Raw JIS header decoding) +;(add-hook 'mew-message-hook 'mhc-mew-decode-header) +;;; for Wanderlust user: +(autoload 'mhc-wl-setup "mhc-wl") +(add-hook 'wl-init-hook 'mhc-wl-setup) +;;; for Gnus user: +(autoload 'mhc-gnus-setup "mhc-gnus") +(add-hook 'gnus-startup-hook 'mhc-gnus-setup) +;; icon setting for emacs20 (with bitmap-mule) or emacs21 +;(setq mhc-icon-path "/usr/local/share/emacs/etc/mhc/icons") WWW: http://www.quickhack.net/mhc/ diff --git a/deskutils/mhc/pkg-plist b/deskutils/mhc/pkg-plist index f5364b9b2a11..18f42f9da4eb 100644 --- a/deskutils/mhc/pkg-plist +++ b/deskutils/mhc/pkg-plist @@ -1,73 +1,80 @@ -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-bm.el -@unexec rm -f %D/%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-bm.elc -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-calendar.el -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-calendar.elc -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-compat.el -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-compat.elc -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-cvs.el -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-cvs.elc -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-date.el -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-date.elc -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-day.el -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-day.elc -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-db.el -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-db.elc -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-draft.el -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-draft.elc -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-e21.el -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-face.el -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-face.elc -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-file.el -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-file.elc -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-gnus.el -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-guess.el -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-guess.elc -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-header.el -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-header.elc -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-logic.el -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-logic.elc -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-mew.el -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-mime.el -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-minibuf.el -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-minibuf.elc -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-misc.el -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-misc.elc -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-parse.el -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-parse.elc -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-ps.el -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-ps.elc -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-record.el -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-record.elc -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-schedule.el -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-schedule.elc -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-slot.el -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-slot.elc -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-summary.el -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-summary.elc -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-sync.el -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-sync.elc -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-vars.el -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-vars.elc -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-wl.el -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc-xmas.el -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc.el -%%EMACS_LIBDIR%%/site-lisp/mhc/mhc.elc -%%EMACS_LIBDIR%%/site-lisp/mhc/nnmhc.el -%%EMACS_LIBDIR%%/site-lisp/mhc/icons/Anniversary.xbm -%%EMACS_LIBDIR%%/site-lisp/mhc/icons/Birthday.xbm -%%EMACS_LIBDIR%%/site-lisp/mhc/icons/Business.xbm -%%EMACS_LIBDIR%%/site-lisp/mhc/icons/CheckBox.xbm -%%EMACS_LIBDIR%%/site-lisp/mhc/icons/CheckedBox.xbm -%%EMACS_LIBDIR%%/site-lisp/mhc/icons/Conflict.xbm -%%EMACS_LIBDIR%%/site-lisp/mhc/icons/Date.xbm -%%EMACS_LIBDIR%%/site-lisp/mhc/icons/Holiday.xbm -%%EMACS_LIBDIR%%/site-lisp/mhc/icons/Link.xbm -%%EMACS_LIBDIR%%/site-lisp/mhc/icons/Other.xbm -%%EMACS_LIBDIR%%/site-lisp/mhc/icons/Party.xbm -%%EMACS_LIBDIR%%/site-lisp/mhc/icons/Private.xbm -%%EMACS_LIBDIR%%/site-lisp/mhc/icons/Vacation.xbm -@dirrm %%EMACS_LIBDIR%%/site-lisp/mhc/icons -@dirrm %%EMACS_LIBDIR%%/site-lisp/mhc +%%XEMACS_ONLY%%%%LISPDIR%%/auto-autoloads.el +%%XEMACS_ONLY%%%%LISPDIR%%/auto-autoloads.elc +%%XEMACS_ONLY%%%%LISPDIR%%/custom-load.el +%%XEMACS_ONLY%%%%LISPDIR%%/custom-load.elc +%%LISPDIR%%/mhc-bm.el +%%EMACS_ONLY%%@unexec rm -f %D/%%LISPDIR%%/mhc-bm.elc +%%LISPDIR%%/mhc-calendar.el +%%LISPDIR%%/mhc-calendar.elc +%%LISPDIR%%/mhc-compat.el +%%LISPDIR%%/mhc-compat.elc +%%LISPDIR%%/mhc-cvs.el +%%LISPDIR%%/mhc-cvs.elc +%%LISPDIR%%/mhc-date.el +%%LISPDIR%%/mhc-date.elc +%%LISPDIR%%/mhc-day.el +%%LISPDIR%%/mhc-day.elc +%%LISPDIR%%/mhc-db.el +%%LISPDIR%%/mhc-db.elc +%%LISPDIR%%/mhc-draft.el +%%LISPDIR%%/mhc-draft.elc +%%LISPDIR%%/mhc-e21.el +%%EMACS21_ONLY%%%%LISPDIR%%/mhc-e21.elc +%%LISPDIR%%/mhc-face.el +%%LISPDIR%%/mhc-face.elc +%%LISPDIR%%/mhc-file.el +%%LISPDIR%%/mhc-file.elc +%%LISPDIR%%/mhc-gnus.el +%%LISPDIR%%/mhc-guess.el +%%LISPDIR%%/mhc-guess.elc +%%LISPDIR%%/mhc-header.el +%%LISPDIR%%/mhc-header.elc +%%LISPDIR%%/mhc-logic.el +%%LISPDIR%%/mhc-logic.elc +%%LISPDIR%%/mhc-mew.el +%%LISPDIR%%/mhc-mime.el +%%LISPDIR%%/mhc-minibuf.el +%%LISPDIR%%/mhc-minibuf.elc +%%LISPDIR%%/mhc-misc.el +%%LISPDIR%%/mhc-misc.elc +%%LISPDIR%%/mhc-parse.el +%%LISPDIR%%/mhc-parse.elc +%%LISPDIR%%/mhc-ps.el +%%LISPDIR%%/mhc-ps.elc +%%LISPDIR%%/mhc-record.el +%%LISPDIR%%/mhc-record.elc +%%LISPDIR%%/mhc-schedule.el +%%LISPDIR%%/mhc-schedule.elc +%%LISPDIR%%/mhc-slot.el +%%LISPDIR%%/mhc-slot.elc +%%LISPDIR%%/mhc-summary.el +%%LISPDIR%%/mhc-summary.elc +%%LISPDIR%%/mhc-sync.el +%%LISPDIR%%/mhc-sync.elc +%%LISPDIR%%/mhc-vars.el +%%LISPDIR%%/mhc-vars.elc +%%LISPDIR%%/mhc-wl.el +%%LISPDIR%%/mhc-xmas.el +%%XEMACS_ONLY%%%%LISPDIR%%/mhc-xmas.elc +%%LISPDIR%%/mhc.el +%%LISPDIR%%/mhc.elc +%%LISPDIR%%/nnmhc.el +%%ICONDIR%%/Anniversary.%%IMG_SUFFIX%% +%%ICONDIR%%/Birthday.%%IMG_SUFFIX%% +%%ICONDIR%%/Business.%%IMG_SUFFIX%% +%%ICONDIR%%/CheckBox.%%IMG_SUFFIX%% +%%ICONDIR%%/CheckedBox.%%IMG_SUFFIX%% +%%ICONDIR%%/Conflict.%%IMG_SUFFIX%% +%%ICONDIR%%/Date.%%IMG_SUFFIX%% +%%ICONDIR%%/Holiday.%%IMG_SUFFIX%% +%%ICONDIR%%/Link.%%IMG_SUFFIX%% +%%ICONDIR%%/Other.%%IMG_SUFFIX%% +%%ICONDIR%%/Party.%%IMG_SUFFIX%% +%%ICONDIR%%/Private.%%IMG_SUFFIX%% +%%ICONDIR%%/Vacation.%%IMG_SUFFIX%% +@dirrm %%ICONDIR%% +%%EMACS_ONLY%%@dirrm %%EMACS_LIBDIR%%/etc/mhc +@dirrm %%LISPDIR%% %%PORTDOCS%%share/doc/mhc/DOT.schedule.sample.jp %%PORTDOCS%%share/doc/mhc/00copyright %%PORTDOCS%%share/doc/mhc/00readme diff --git a/deskutils/mhc/pkg-plist.xemacs21-mule b/deskutils/mhc/pkg-plist.xemacs21-mule deleted file mode 100644 index 215ce49e9693..000000000000 --- a/deskutils/mhc/pkg-plist.xemacs21-mule +++ /dev/null @@ -1,80 +0,0 @@ -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/auto-autoloads.el -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/auto-autoloads.elc -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/custom-load.el -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/custom-load.elc -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-bm.el -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-calendar.el -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-calendar.elc -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-compat.el -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-compat.elc -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-cvs.el -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-cvs.elc -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-date.el -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-date.elc -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-day.el -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-day.elc -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-db.el -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-db.elc -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-draft.el -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-draft.elc -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-e21.el -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-face.el -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-face.elc -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-file.el -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-file.elc -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-gnus.el -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-guess.el -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-guess.elc -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-header.el -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-header.elc -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-logic.el -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-logic.elc -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-mew.el -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-mime.el -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-minibuf.el -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-minibuf.elc -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-misc.el -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-misc.elc -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-parse.el -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-parse.elc -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-ps.el -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-ps.elc -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-record.el -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-record.elc -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-schedule.el -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-schedule.elc -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-slot.el -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-slot.elc -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-summary.el -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-summary.elc -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-sync.el -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-sync.elc -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-vars.el -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-vars.elc -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-wl.el -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-xmas.el -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc-xmas.elc -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc.el -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/mhc.elc -%%EMACS_LIBDIR%%/site-packages/lisp/mhc/nnmhc.el -%%EMACS_LIBDIR%%/site-packages/etc/mhc/Anniversary.xpm -%%EMACS_LIBDIR%%/site-packages/etc/mhc/Birthday.xpm -%%EMACS_LIBDIR%%/site-packages/etc/mhc/Business.xpm -%%EMACS_LIBDIR%%/site-packages/etc/mhc/CheckBox.xpm -%%EMACS_LIBDIR%%/site-packages/etc/mhc/CheckedBox.xpm -%%EMACS_LIBDIR%%/site-packages/etc/mhc/Conflict.xpm -%%EMACS_LIBDIR%%/site-packages/etc/mhc/Date.xpm -%%EMACS_LIBDIR%%/site-packages/etc/mhc/Holiday.xpm -%%EMACS_LIBDIR%%/site-packages/etc/mhc/Link.xpm -%%EMACS_LIBDIR%%/site-packages/etc/mhc/Other.xpm -%%EMACS_LIBDIR%%/site-packages/etc/mhc/Party.xpm -%%EMACS_LIBDIR%%/site-packages/etc/mhc/Private.xpm -%%EMACS_LIBDIR%%/site-packages/etc/mhc/Vacation.xpm -@dirrm %%EMACS_LIBDIR%%/site-packages/lisp/mhc -@dirrm %%EMACS_LIBDIR%%/site-packages/etc/mhc -%%PORTDOCS%%share/doc/mhc/DOT.schedule.sample.jp -%%PORTDOCS%%share/doc/mhc/00copyright -%%PORTDOCS%%share/doc/mhc/00readme -%%PORTDOCS%%share/doc/mhc/00readme.jis -%%PORTDOCS%%share/doc/mhc/00usage.jis -%%PORTDOCS%%@dirrm share/doc/mhc |