aboutsummaryrefslogtreecommitdiff
path: root/deskutils
diff options
context:
space:
mode:
authorYoichi NAKAYAMA <yoichi@FreeBSD.org>2001-12-03 14:06:11 +0000
committerYoichi NAKAYAMA <yoichi@FreeBSD.org>2001-12-03 14:06:11 +0000
commitc044b9d8a54f421207852b191cda7423201ba706 (patch)
tree48d5af041f87764d7ec883fee02c34ae077a3a36 /deskutils
parentb7140f0c1ebf1b5fc428d9a7ac06ba63fb397f8b (diff)
downloadports-c044b9d8a54f421207852b191cda7423201ba706.tar.gz
ports-c044b9d8a54f421207852b191cda7423201ba706.zip
Notes
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/mhc-emacs20/Makefile43
-rw-r--r--deskutils/mhc-emacs20/distinfo1
-rw-r--r--deskutils/mhc-emacs20/pkg-comment1
-rw-r--r--deskutils/mhc-emacs20/pkg-descr22
-rw-r--r--deskutils/mhc-emacs20/pkg-plist76
-rw-r--r--deskutils/mhc-emacs20/pkg-plist.xemacs21-mule80
-rw-r--r--deskutils/mhc-xemacs21-mule/Makefile4
-rw-r--r--deskutils/mhc/Makefile42
-rw-r--r--deskutils/mhc/pkg-descr26
-rw-r--r--deskutils/mhc/pkg-plist147
-rw-r--r--deskutils/mhc/pkg-plist.xemacs21-mule80
11 files changed, 128 insertions, 394 deletions
diff --git a/deskutils/mhc-emacs20/Makefile b/deskutils/mhc-emacs20/Makefile
index 55df724556c1..159f1bca8c48 100644
--- a/deskutils/mhc-emacs20/Makefile
+++ b/deskutils/mhc-emacs20/Makefile
@@ -5,44 +5,9 @@
# $FreeBSD$
#
-PORTNAME= mhc
-PORTVERSION= 20010625
-CATEGORIES= deskutils elisp
-MASTER_SITES= http://www.quickhack.net/mhc/arc/
-PKGNAMESUFFIX= -${EMACS_PORT_NAME}
-DISTNAME= ${PORTNAME}-current-snap${PORTVERSION}
+MASTERDIR= ${.CURDIR}/../../deskutils/mhc
+MAINTAINER= yoichi@FreeBSD.org
-MAINTAINER?= yoichi@eken.phys.nagoya-u.ac.jp
+EMACS_PORT_NAME= emacs20
-WRKSRC= ${WRKDIR}/${DISTNAME}/emacs
-EMACS_PORT_NAME?= emacs20
-
-.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
-.endif
-
-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
-.endif
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
-.for i in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC}/../${i} ${DOCSDIR}
-.endfor
- ${INSTALL_DATA} ${WRKSRC}/../samples/DOT.schedule.sample.jp ${DOCSDIR}
-.endif
-
-.include <bsd.port.post.mk>
+.include <${MASTERDIR}/Makefile>
diff --git a/deskutils/mhc-emacs20/distinfo b/deskutils/mhc-emacs20/distinfo
deleted file mode 100644
index 1ef09c7eaf0f..000000000000
--- a/deskutils/mhc-emacs20/distinfo
+++ /dev/null
@@ -1 +0,0 @@
-MD5 (mhc-current-snap20010625.tar.gz) = bd5c9f3f6aad96085ff330140bd9da70
diff --git a/deskutils/mhc-emacs20/pkg-comment b/deskutils/mhc-emacs20/pkg-comment
deleted file mode 100644
index 2d3b002528fb..000000000000
--- a/deskutils/mhc-emacs20/pkg-comment
+++ /dev/null
@@ -1 +0,0 @@
-Message Harmonized Calendaring system
diff --git a/deskutils/mhc-emacs20/pkg-descr b/deskutils/mhc-emacs20/pkg-descr
deleted file mode 100644
index 1214ad38311c..000000000000
--- a/deskutils/mhc-emacs20/pkg-descr
+++ /dev/null
@@ -1,22 +0,0 @@
-MHC is designed to help those who receive most appointments via email.
-Using MHC, you can easily import schedule articles from emails.
-
-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)
-
-WWW: http://www.quickhack.net/mhc/
diff --git a/deskutils/mhc-emacs20/pkg-plist b/deskutils/mhc-emacs20/pkg-plist
deleted file mode 100644
index f5364b9b2a11..000000000000
--- a/deskutils/mhc-emacs20/pkg-plist
+++ /dev/null
@@ -1,76 +0,0 @@
-%%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
-%%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
diff --git a/deskutils/mhc-emacs20/pkg-plist.xemacs21-mule b/deskutils/mhc-emacs20/pkg-plist.xemacs21-mule
deleted file mode 100644
index 215ce49e9693..000000000000
--- a/deskutils/mhc-emacs20/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
diff --git a/deskutils/mhc-xemacs21-mule/Makefile b/deskutils/mhc-xemacs21-mule/Makefile
index 9a96a8450e01..fdfd983523b7 100644
--- a/deskutils/mhc-xemacs21-mule/Makefile
+++ b/deskutils/mhc-xemacs21-mule/Makefile
@@ -5,8 +5,8 @@
# $FreeBSD$
#
-MASTERDIR= ${.CURDIR}/../../deskutils/mhc-emacs20
-MAINTAINER= yoichi@eken.phys.nagoya-u.ac.jp
+MASTERDIR= ${.CURDIR}/../../deskutils/mhc
+MAINTAINER= yoichi@FreeBSD.org
EMACS_PORT_NAME= xemacs21-mule
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