diff options
author | Andrey Slusar <anray@FreeBSD.org> | 2008-06-23 18:53:31 +0000 |
---|---|---|
committer | Andrey Slusar <anray@FreeBSD.org> | 2008-06-23 18:53:31 +0000 |
commit | c8338dd7652002d347c1b189798737c04874c4b5 (patch) | |
tree | e2b46cc53e930509c47c474db0b2f03cbef5ec26 | |
parent | 71c12f78ad55d1723b5b6f9973e7993136620f53 (diff) | |
download | ports-c8338dd7652002d347c1b189798737c04874c4b5.tar.gz ports-c8338dd7652002d347c1b189798737c04874c4b5.zip |
Notes
-rw-r--r-- | mail/mew/Makefile | 24 | ||||
-rw-r--r-- | mail/mew/distinfo | 6 | ||||
-rw-r--r-- | mail/mew/files/patch-bin_Makefile.in | 14 | ||||
-rw-r--r-- | mail/mew/files/patch-mew-key.el | 23 | ||||
-rw-r--r-- | mail/mew/files/pkg-message.in | 15 | ||||
-rw-r--r-- | mail/mew/pkg-message | 17 | ||||
-rw-r--r-- | mail/mew/pkg-plist | 97 |
7 files changed, 87 insertions, 109 deletions
diff --git a/mail/mew/Makefile b/mail/mew/Makefile index 8febd61c0658..71db920a0c87 100644 --- a/mail/mew/Makefile +++ b/mail/mew/Makefile @@ -7,8 +7,7 @@ # PORTNAME= mew -PORTVERSION= 5.2 -PORTREVISION= 1 +PORTVERSION= 6.1 CATEGORIES= mail elisp MASTER_SITES= http://www.Mew.org/Release/ PKGNAMESUFFIX= -${EMACS_PORT_NAME} @@ -16,13 +15,23 @@ PKGNAMESUFFIX= -${EMACS_PORT_NAME} MAINTAINER?= hiroto.kagotani@gmail.com COMMENT?= Messaging in the Emacs World for emacs +OPTIONS= DATABASE "Database feature support (with Ruby & Sqlite3)" on + # emacs port setup USE_EMACS= yes -EMACS_PORT_NAME?= emacs21 +EMACS_PORT_NAME?= emacs22 + +.include <bsd.port.pre.mk> + +.if !defined(WITHOUT_DATABASE) +RUN_DEPENDS= rubygem-sqlite3>=0:${PORTSDIR}/databases/rubygem-sqlite3 +.endif + +SUB_FILES= pkg-message GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-elispdir=${LOCALBASE}/${EMACS_SITE_LISPDIR}/mew \ - --with-etcdir=${LOCALBASE}/${EMACS_LIBDIR}/etc/mew + --with-etcdir=${LOCALBASE}/${EMACS_SITE_LISPDIR}/mew/etc # target name for make build and install ALL_TARGET= all info @@ -39,11 +48,6 @@ INFO= mew INFO+= mew.jis .endif -pre-build: - ${REINPLACE_CMD} -e \ - 's,%%MEWICONDIR%%,${LOCALBASE}/${EMACS_LIBDIR}/etc/mew,' \ - ${WRKSRC}/mew-key.el - post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} @@ -56,4 +60,4 @@ post-install: .endif @${CAT} ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/mail/mew/distinfo b/mail/mew/distinfo index 1c948e86e03b..415d17cec0f4 100644 --- a/mail/mew/distinfo +++ b/mail/mew/distinfo @@ -1,3 +1,3 @@ -MD5 (mew-5.2.tar.gz) = be0ac05179daed9b7c1329c9264d0f17 -SHA256 (mew-5.2.tar.gz) = fff0c3e67f38d779552c4caea6dfe53fbe074f5fc653fdc0fd51ee0b5ce1f8ed -SIZE (mew-5.2.tar.gz) = 969584 +MD5 (mew-6.1.tar.gz) = 44c2f841de5503d3195547ec512f0ab5 +SHA256 (mew-6.1.tar.gz) = 8d74f57675ad2b06981380f212671b138ff5f1f65dffc3833ac59b800acdb8c3 +SIZE (mew-6.1.tar.gz) = 957623 diff --git a/mail/mew/files/patch-bin_Makefile.in b/mail/mew/files/patch-bin_Makefile.in index 6552f363cd28..ecad3a7e387c 100644 --- a/mail/mew/files/patch-bin_Makefile.in +++ b/mail/mew/files/patch-bin_Makefile.in @@ -1,5 +1,5 @@ ---- bin/Makefile.in.orig Mon Oct 23 08:18:23 2006 -+++ bin/Makefile.in Sun Jan 14 19:30:35 2007 +--- bin/Makefile.in.orig 2008-02-18 19:24:27.000000000 +0900 ++++ bin/Makefile.in 2008-05-28 15:37:21.000000000 +0900 @@ -25,7 +25,9 @@ COFLAG = -o $@ LIBS = @LIBS@ @@ -11,7 +11,7 @@ LN = ln RM = rm -f MKDIR = mkdir -p -@@ -101,27 +103,27 @@ +@@ -105,31 +107,31 @@ -@if [ ! -d $(DESTDIR)$(bindir) ]; then \ $(MKDIR) $(DESTDIR)$(bindir); \ fi @@ -25,10 +25,14 @@ - $(INSTALL) -m 555 $(PRG3) $(DESTDIR)$(bindir) - $(INSTALL) -m 555 $(PRG4) $(DESTDIR)$(bindir) - $(INSTALL) -m 555 $(PRG5) $(DESTDIR)$(bindir) +- $(INSTALL) -m 555 $(PRG6) $(DESTDIR)$(bindir) +- $(INSTALL) -m 555 $(PRG7) $(DESTDIR)$(bindir) + ${INSTALL_PROGRAM} $(PRG2) $(DESTDIR)$(bindir) + ${INSTALL_PROGRAM} $(PRG3) $(DESTDIR)$(bindir) + ${INSTALL_SCRIPT} $(PRG4) $(DESTDIR)$(bindir) + ${INSTALL_SCRIPT} $(PRG5) $(DESTDIR)$(bindir) ++ ${INSTALL_SCRIPT} $(PRG6) $(DESTDIR)$(bindir) ++ ${INSTALL_SCRIPT} $(PRG7) $(DESTDIR)$(bindir) -@if [ ! -d $(DESTDIR)$(mandir) ]; then \ $(MKDIR) $(DESTDIR)$(mandir); \ fi @@ -42,10 +46,14 @@ - $(INSTALL) -m 444 $(MAN3) $(DESTDIR)$(mandir) - $(INSTALL) -m 444 $(MAN4) $(DESTDIR)$(mandir) - $(INSTALL) -m 444 $(MAN5) $(DESTDIR)$(mandir) +- $(INSTALL) -m 444 $(MAN6) $(DESTDIR)$(mandir) +- $(INSTALL) -m 444 $(MAN7) $(DESTDIR)$(mandir) + ${INSTALL_DATA} $(MAN2) $(DESTDIR)$(mandir) + ${INSTALL_DATA} $(MAN3) $(DESTDIR)$(mandir) + ${INSTALL_DATA} $(MAN4) $(DESTDIR)$(mandir) + ${INSTALL_DATA} $(MAN5) $(DESTDIR)$(mandir) ++ ${INSTALL_DATA} $(MAN6) $(DESTDIR)$(mandir) ++ ${INSTALL_DATA} $(MAN7) $(DESTDIR)$(mandir) ## ## End of Makefile diff --git a/mail/mew/files/patch-mew-key.el b/mail/mew/files/patch-mew-key.el deleted file mode 100644 index df2c157c46a3..000000000000 --- a/mail/mew/files/patch-mew-key.el +++ /dev/null @@ -1,23 +0,0 @@ ---- mew-key.el.orig Thu Jan 4 15:49:11 2007 -+++ mew-key.el Sun Jan 14 19:19:22 2007 -@@ -610,13 +610,16 @@ - ;;; - - (defun mew-which-mew-etc () -- (let ((file "mew.el") -- (path load-path)) -+ (let ((file1 "mew.el") -+ (file2 "Mew.png") -+ (path (list "%%MEWICONDIR%%" load-path))) - (catch 'loop - (while path -- (if (file-exists-p (expand-file-name file (car path))) -+ (if (file-exists-p (expand-file-name file1 (car path))) - (throw 'loop (expand-file-name "etc" (car path))) -- (setq path (cdr path))))))) -+ (if (file-exists-p (expand-file-name file2 (car path))) -+ (throw 'loop (expand-file-name (car path))) -+ (setq path (cdr path)))))))) - - (defvar mew-icon-directory (mew-which-mew-etc)) - diff --git a/mail/mew/files/pkg-message.in b/mail/mew/files/pkg-message.in new file mode 100644 index 000000000000..c4f6e754fb2f --- /dev/null +++ b/mail/mew/files/pkg-message.in @@ -0,0 +1,15 @@ +************************************************************************* +You may want to add following lines to your ~/.emacs and/or ~/.mew.el. + + (autoload 'mew "mew" nil t) + (autoload 'mew-send "mew" nil t) + (setq mew-mail-domain "domain of e-mail address") + (setq mew-pop-server "your POP server") ;; if not localhost + (setq mew-smtp-server "your SMTP server") ;; if not localhost + ;; using fetch for PGP instead of wget + (setq mew-prog-pgpkey "fetch") + (setq mew-prog-pgpkey-arg '("-q" "-o" "-")) + +Please consult sample files %%DOCSDIR%%/mew.dot.{emacs,mew}. +See also %%DOCSDIR%%/00diff for the changes from previous versions. +************************************************************************* diff --git a/mail/mew/pkg-message b/mail/mew/pkg-message deleted file mode 100644 index d89c7848bfb3..000000000000 --- a/mail/mew/pkg-message +++ /dev/null @@ -1,17 +0,0 @@ -************************************************************************* -* You may want to add following lines to your .emacs and/or .mew.el. * -* Please consult DOCSDIR/mew.dot.{emacs,mew} sample files. * -* Also see DOCSDIR/00diff for the changes from 4.2. * -* * -* (autoload 'mew "mew" nil t) * -* (autoload 'mew-send "mew" nil t) * -* (setq mew-mail-domain "domain of e-mail address") * -* (setq mew-pop-server "your POP server") ;; if not localhost * -* (setq mew-smtp-server "your SMTP server") ;; if not localhost * -* ;; for XEmacs * -* (setq mew-icon-directory "icon directory") * -* ;; using fetch for PGP instead of wget * -* (setq mew-prog-pgpkey "fetch") * -* (setq mew-prog-pgpkey-arg '("-q" "-o" "-")) * -* * -************************************************************************* diff --git a/mail/mew/pkg-plist b/mail/mew/pkg-plist index a6a0bd79049c..66b2eda90a90 100644 --- a/mail/mew/pkg-plist +++ b/mail/mew/pkg-plist @@ -1,4 +1,5 @@ @comment $FreeBSD$ +bin/cmew bin/incm bin/mew-pinentry bin/mewcat @@ -6,6 +7,7 @@ bin/mewdecode bin/mewencode bin/mewest bin/mewl +bin/smew %%PORTDOCS%%%%DOCSDIR%%/00api %%PORTDOCS%%%%DOCSDIR%%/00changes %%PORTDOCS%%%%DOCSDIR%%/00changes.0 @@ -15,11 +17,11 @@ bin/mewl %%PORTDOCS%%%%DOCSDIR%%/00changes.4.1 %%PORTDOCS%%%%DOCSDIR%%/00changes.4.2 %%PORTDOCS%%%%DOCSDIR%%/00changes.5.1 +%%PORTDOCS%%%%DOCSDIR%%/00changes.5.2 %%PORTDOCS%%%%DOCSDIR%%/00copyright %%PORTDOCS%%%%DOCSDIR%%/00copyright.jis %%PORTDOCS%%%%DOCSDIR%%/00diff %%PORTDOCS%%%%DOCSDIR%%/00readme -%%PORTDOCS%%%%DOCSDIR%%/00roadmap %%PORTDOCS%%%%DOCSDIR%%/mew.dot.emacs %%PORTDOCS%%%%DOCSDIR%%/mew.dot.mew %%PORTDOCS%%%%DOCSDIR%%/mew.dot.theme @@ -31,45 +33,45 @@ bin/mewl %%PORTDOCS%%%%DOCSDIR%%/contrib/mew-nmz-fixer.el %%PORTDOCS%%%%DOCSDIR%%/contrib/mew-refile-view.el %%PORTDOCS%%%%DOCSDIR%%/contrib/mew-toolbar-frame.el -%%EMACS_LIBDIR%%/etc/mew/Mew.img -%%EMACS_LIBDIR%%/etc/mew/Mew.png -%%EMACS_LIBDIR%%/etc/mew/Mew.xbm -%%EMACS_LIBDIR%%/etc/mew/Mew.xpm -%%EMACS_LIBDIR%%/etc/mew/etc/COLOR -%%EMACS_LIBDIR%%/etc/mew/etc/mew-Plain.xpm -%%EMACS_LIBDIR%%/etc/mew/etc/mew-curr.xpm -%%EMACS_LIBDIR%%/etc/mew/etc/mew-folder.xpm -%%EMACS_LIBDIR%%/etc/mew/etc/mew-inc2.xpm -%%EMACS_LIBDIR%%/etc/mew/etc/mew-kill.xpm -%%EMACS_LIBDIR%%/etc/mew/mew-Audio.xpm -%%EMACS_LIBDIR%%/etc/mew/mew-Blank.xpm -%%EMACS_LIBDIR%%/etc/mew/mew-External.xpm -%%EMACS_LIBDIR%%/etc/mew/mew-Folder.xpm -%%EMACS_LIBDIR%%/etc/mew/mew-Image.xpm -%%EMACS_LIBDIR%%/etc/mew/mew-Octet-Stream.xpm -%%EMACS_LIBDIR%%/etc/mew/mew-Postscript.xpm -%%EMACS_LIBDIR%%/etc/mew/mew-Rfc822.xpm -%%EMACS_LIBDIR%%/etc/mew/mew-Text.xpm -%%EMACS_LIBDIR%%/etc/mew/mew-Unknown.xpm -%%EMACS_LIBDIR%%/etc/mew/mew-Video.xpm -%%EMACS_LIBDIR%%/etc/mew/mew-attach.xpm -%%EMACS_LIBDIR%%/etc/mew/mew-cite.xpm -%%EMACS_LIBDIR%%/etc/mew/mew-forward.xpm -%%EMACS_LIBDIR%%/etc/mew/mew-inc.xpm -%%EMACS_LIBDIR%%/etc/mew/mew-lock.xpm -%%EMACS_LIBDIR%%/etc/mew/mew-next.xpm -%%EMACS_LIBDIR%%/etc/mew/mew-pgp-enc.xpm -%%EMACS_LIBDIR%%/etc/mew/mew-pgp-sigenc.xpm -%%EMACS_LIBDIR%%/etc/mew/mew-pgp-sign.xpm -%%EMACS_LIBDIR%%/etc/mew/mew-prev.xpm -%%EMACS_LIBDIR%%/etc/mew/mew-queue.xpm -%%EMACS_LIBDIR%%/etc/mew/mew-refile.xpm -%%EMACS_LIBDIR%%/etc/mew/mew-reply.xpm -%%EMACS_LIBDIR%%/etc/mew/mew-send.xpm -%%EMACS_LIBDIR%%/etc/mew/mew-sep.xpm -%%EMACS_LIBDIR%%/etc/mew/mew-show.xpm -%%EMACS_LIBDIR%%/etc/mew/mew-write.xpm -%%EMACS_LIBDIR%%/etc/mew/mew-yank.xpm +%%EMACS_SITE_LISPDIR%%/mew/etc/Mew.img +%%EMACS_SITE_LISPDIR%%/mew/etc/Mew.png +%%EMACS_SITE_LISPDIR%%/mew/etc/Mew.xbm +%%EMACS_SITE_LISPDIR%%/mew/etc/Mew.xpm +%%EMACS_SITE_LISPDIR%%/mew/etc/etc/COLOR +%%EMACS_SITE_LISPDIR%%/mew/etc/etc/mew-Plain.xpm +%%EMACS_SITE_LISPDIR%%/mew/etc/etc/mew-curr.xpm +%%EMACS_SITE_LISPDIR%%/mew/etc/etc/mew-folder.xpm +%%EMACS_SITE_LISPDIR%%/mew/etc/etc/mew-inc2.xpm +%%EMACS_SITE_LISPDIR%%/mew/etc/etc/mew-kill.xpm +%%EMACS_SITE_LISPDIR%%/mew/etc/mew-Audio.xpm +%%EMACS_SITE_LISPDIR%%/mew/etc/mew-Blank.xpm +%%EMACS_SITE_LISPDIR%%/mew/etc/mew-External.xpm +%%EMACS_SITE_LISPDIR%%/mew/etc/mew-Folder.xpm +%%EMACS_SITE_LISPDIR%%/mew/etc/mew-Image.xpm +%%EMACS_SITE_LISPDIR%%/mew/etc/mew-Octet-Stream.xpm +%%EMACS_SITE_LISPDIR%%/mew/etc/mew-Postscript.xpm +%%EMACS_SITE_LISPDIR%%/mew/etc/mew-Rfc822.xpm +%%EMACS_SITE_LISPDIR%%/mew/etc/mew-Text.xpm +%%EMACS_SITE_LISPDIR%%/mew/etc/mew-Unknown.xpm +%%EMACS_SITE_LISPDIR%%/mew/etc/mew-Video.xpm +%%EMACS_SITE_LISPDIR%%/mew/etc/mew-attach.xpm +%%EMACS_SITE_LISPDIR%%/mew/etc/mew-cite.xpm +%%EMACS_SITE_LISPDIR%%/mew/etc/mew-forward.xpm +%%EMACS_SITE_LISPDIR%%/mew/etc/mew-inc.xpm +%%EMACS_SITE_LISPDIR%%/mew/etc/mew-lock.xpm +%%EMACS_SITE_LISPDIR%%/mew/etc/mew-next.xpm +%%EMACS_SITE_LISPDIR%%/mew/etc/mew-pgp-enc.xpm +%%EMACS_SITE_LISPDIR%%/mew/etc/mew-pgp-sigenc.xpm +%%EMACS_SITE_LISPDIR%%/mew/etc/mew-pgp-sign.xpm +%%EMACS_SITE_LISPDIR%%/mew/etc/mew-prev.xpm +%%EMACS_SITE_LISPDIR%%/mew/etc/mew-queue.xpm +%%EMACS_SITE_LISPDIR%%/mew/etc/mew-refile.xpm +%%EMACS_SITE_LISPDIR%%/mew/etc/mew-reply.xpm +%%EMACS_SITE_LISPDIR%%/mew/etc/mew-send.xpm +%%EMACS_SITE_LISPDIR%%/mew/etc/mew-sep.xpm +%%EMACS_SITE_LISPDIR%%/mew/etc/mew-show.xpm +%%EMACS_SITE_LISPDIR%%/mew/etc/mew-write.xpm +%%EMACS_SITE_LISPDIR%%/mew/etc/mew-yank.xpm %%EMACS_SITE_LISPDIR%%/mew/mew-addrbook.el %%EMACS_SITE_LISPDIR%%/mew/mew-addrbook.elc %%EMACS_SITE_LISPDIR%%/mew/mew-attach.el @@ -132,8 +134,6 @@ bin/mewl %%EMACS_SITE_LISPDIR%%/mew/mew-local.elc %%EMACS_SITE_LISPDIR%%/mew/mew-mark.el %%EMACS_SITE_LISPDIR%%/mew/mew-mark.elc -%%EMACS_SITE_LISPDIR%%/mew/mew-md5.el -%%EMACS_SITE_LISPDIR%%/mew/mew-md5.elc %%EMACS_SITE_LISPDIR%%/mew/mew-message.el %%EMACS_SITE_LISPDIR%%/mew/mew-message.elc %%EMACS_SITE_LISPDIR%%/mew/mew-mime.el @@ -142,14 +142,10 @@ bin/mewl %%EMACS_SITE_LISPDIR%%/mew/mew-minibuf.elc %%EMACS_SITE_LISPDIR%%/mew/mew-mule.el %%EMACS_SITE_LISPDIR%%/mew/mew-mule.elc -%%EMACS_SITE_LISPDIR%%/mew/mew-mule0.el -%%EMACS_SITE_LISPDIR%%/mew/mew-mule0.elc %%EMACS_SITE_LISPDIR%%/mew/mew-mule3.el %%EMACS_SITE_LISPDIR%%/mew/mew-mule3.elc %%EMACS_SITE_LISPDIR%%/mew/mew-net.el %%EMACS_SITE_LISPDIR%%/mew/mew-net.elc -%%EMACS_SITE_LISPDIR%%/mew/mew-nmz.el -%%EMACS_SITE_LISPDIR%%/mew/mew-nmz.elc %%EMACS_SITE_LISPDIR%%/mew/mew-nntp.el %%EMACS_SITE_LISPDIR%%/mew/mew-nntp.elc %%EMACS_SITE_LISPDIR%%/mew/mew-nntp2.el @@ -188,8 +184,6 @@ bin/mewl %%EMACS_SITE_LISPDIR%%/mew/mew-summary4.elc %%EMACS_SITE_LISPDIR%%/mew/mew-syntax.el %%EMACS_SITE_LISPDIR%%/mew/mew-syntax.elc -%%EMACS_SITE_LISPDIR%%/mew/mew-temacs.el -%%EMACS_SITE_LISPDIR%%/mew/mew-temacs.elc %%EMACS_SITE_LISPDIR%%/mew/mew-thread.el %%EMACS_SITE_LISPDIR%%/mew/mew-thread.elc %%EMACS_SITE_LISPDIR%%/mew/mew-unix.el @@ -206,13 +200,10 @@ bin/mewl %%EMACS_SITE_LISPDIR%%/mew/mew-virtual.elc %%EMACS_SITE_LISPDIR%%/mew/mew-win32.el %%EMACS_SITE_LISPDIR%%/mew/mew-win32.elc -%%EMACS_SITE_LISPDIR%%/mew/mew-xemacs.el -%%EMACS_SITE_LISPDIR%%/mew/mew-xemacs.elc %%EMACS_SITE_LISPDIR%%/mew/mew.el %%EMACS_SITE_LISPDIR%%/mew/mew.elc -@dirrm %%EMACS_LIBDIR%%/etc/mew/etc -@dirrm %%EMACS_LIBDIR%%/etc/mew -@dirrmtry %%EMACS_LIBDIR%%/etc +@dirrm %%EMACS_SITE_LISPDIR%%/mew/etc/etc +@dirrm %%EMACS_SITE_LISPDIR%%/mew/etc @dirrm %%EMACS_SITE_LISPDIR%%/mew @dirrmtry %%EMACS_SITE_LISPDIR%% %%PORTDOCS%%@dirrm %%DOCSDIR%%/contrib |