Skip to content

Commit

Permalink
mail/mew: Update to 6.9
Browse files Browse the repository at this point in the history
* Take maintainership as there are already 3 successive maintainer
  timeout in the past.
* Switch to DISTVERSION.
* Set DISTVERSION to 6.9 and explicitly set DISTFILES. At first
  upstream released source archive as 'mew-6.9.tar.gz'. But issue that
  results in installation error is reported. So he fixed it and
  release new source archive as 'mew-6.9a.tar.gz'. And he said the
  latter is rerolled source archive of version 6.9.
* Remove patch-no-native-compile as Mew works fine with native
  compilation now.
* Install elisp and image files to EMACS_VERSION_SITE_LISPDIR.
* Unconditionally install mew.ja.info as per section 5.17.4 of
  Porter's Handbook.
* Pet portclippy.
* Tidy up Makefile with portfmt.

ReleaseNotes:	https://github.com/kazu-yamamoto/Mew/blob/v6.9/RELEASENOTE.md
PR:		269532
Approved by:	maintainer timeout
  • Loading branch information
Yasuhiro Kimura authored and Yasuhiro Kimura committed Feb 28, 2023
1 parent 5e8d2ef commit 0974a3c
Show file tree
Hide file tree
Showing 5 changed files with 207 additions and 1,079 deletions.
55 changes: 27 additions & 28 deletions mail/mew/Makefile
@@ -1,51 +1,50 @@
PORTNAME= mew
PORTVERSION= 6.8
PORTREVISION= 10
DISTVERSION= 6.9
CATEGORIES= mail elisp
MASTER_SITES= http://www.mew.org/Release/
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
DISTFILES= ${DISTNAME}a${EXTRACT_SUFX}

MAINTAINER= hiroto.kagotani@gmail.com
MAINTAINER= yasu@FreeBSD.org
COMMENT= Messaging in the Emacs World for emacs
WWW= https://www.Mew.org/

LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/00copyright
LICENSE_FILE= ${WRKSRC}/LICENSE

USES= emacs

SUB_FILES= pkg-message
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-elispdir=${LOCALBASE}/${EMACS_SITE_LISPDIR}/mew \
--with-etcdir=${LOCALBASE}/${EMACS_SITE_LISPDIR}/mew/etc

CONFLICTS_INSTALL= mew-emacs_* mew-devel mew-devel-emacs_* # bin/cmew bin/incm
CONFIGURE_ARGS= --with-elispdir=${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}/mew \
--with-etcdir=${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}/mew/etc

# target name for make build and install
ALL_TARGET= all info
INSTALL_TARGET= install
INFO= mew
DOCS_ALL_TARGET= jinfo
DOCS_INSTALL_TARGET= install-jinfo
DOCS_INFO= mew.ja
PORTDOCS= 00api 00changes.0 00changes.1 00changes.2 00changes.3 \
00changes.4.1 00changes.4.2 00changes.5.1 00changes.5.2 \
00changes.6.1 00changes.6.2 00changes.6.3 00changes.6.4 \
00changes.6.5 00changes.6.6 00changes.6.7 00changes.6.8 \
00diff 00readme dot.emacs dot.mew dot.theme

OPTIONS_DEFINE= DATABASE DOCS STUNNEL
OPTIONS_DEFAULT=STUNNEL
ALL_TARGET= all info jinfo
INSTALL_TARGET= install install-jinfo

CONFLICTS_INSTALL= mew-devel mew-devel-emacs_* mew-emacs_* # bin/cmew bin/incm

SUB_FILES= pkg-message

INFO= mew mew.ja
PORTDOCS= API.md CHANGES.v0.md CHANGES.v1.md CHANGES.v2.md CHANGES.v3.md \
CHANGES.v4.1.md CHANGES.v4.2.md CHANGES.v5.1.md CHANGES.v5.2.md \
CHANGES.v6.1.md CHANGES.v6.2.md CHANGES.v6.3.md CHANGES.v6.4.md \
CHANGES.v6.5.md CHANGES.v6.6.md CHANGES.v6.7.md CHANGES.v6.8.md \
CHANGES.v6.9.md INSTALL.md README.md RELEASENOTE.md

OPTIONS_DEFINE= DATABASE DOCS STUNNEL
OPTIONS_DEFAULT= STUNNEL

DATABASE_DESC= Support database feature (with Ruby & Sqlite3)
STUNNEL_DESC= Support TLS feature using stunnel

DATABASE_RUN_DEPENDS= rubygem-sqlite3>=0:databases/rubygem-sqlite3
STUNNEL_DESC= Support SSL feature using stunnel
STUNNEL_RUN_DEPENDS= stunnel>=0:security/stunnel

post-install:
@${RM} ${STAGEDIR}${PREFIX}/${INFO_PATH}/*.info.~1~

post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
${INSTALL_DATA} ${WRKSRC}/*.md ${WRKSRC}/CHANGES/*.md ${STAGEDIR}${DOCSDIR}
(cd ${STAGEDIR}${DOCSDIR}; for f in v*.md ; do ${MV} $$f CHANGES.$$f; done)

.include <bsd.port.mk>
6 changes: 3 additions & 3 deletions mail/mew/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1528617894
SHA256 (mew-6.8.tar.gz) = cf44c4f9ca704ba1edce7134bc7f38a17361391d5be1090221431a3a06f6bf47
SIZE (mew-6.8.tar.gz) = 991876
TIMESTAMP = 1676360545
SHA256 (mew-6.9a.tar.gz) = 84bd96c3a893207ce5fee26337ea188be13f076b57673d719b315d1971c94b89
SIZE (mew-6.9a.tar.gz) = 996003
34 changes: 12 additions & 22 deletions mail/mew/files/patch-info__Makefile
@@ -1,4 +1,4 @@
--- info/Makefile.orig 2018-06-07 05:48:29 UTC
--- info/Makefile.orig 2021-01-31 07:40:24 UTC
+++ info/Makefile
@@ -15,7 +15,7 @@
## EDIT THE FOLLOWINGS
Expand All @@ -9,29 +9,19 @@
infodir=$(prefix)/info

EMACS=emacs
@@ -48,20 +48,20 @@ all: info
info:
sed -e 's/@setfilename mew.ja.info/@setfilename mew.info/' \
-e 's/@set ja/@set en/' mew.texi > tmp.texi
- mv tmp.texi mew.texi
$(RM) mew.info*
$(TOUCH) mew.info
$(EMACS) -batch -q -no-site-file -l texinfmt \
- -f batch-texinfo-format mew.texi
+ -f batch-texinfo-format tmp.texi
+ $(RM) tmp.texi
@@ -59,6 +59,7 @@ mew.info: tmp.texi
$(EMACS) -batch -q -no-site-file \
--eval "(set-default-coding-systems 'utf-8-unix)" \
-l texinfmt -f batch-texinfo-format $?
+ $(RM) tmp.text

jinfo:
tmpj.texi: mew.texi
sed -e 's/@setfilename mew.info/@setfilename mew.ja.info/' \
- -e 's/@set en/@set ja/' mew.texi > tmp.texi
- mv tmp.texi mew.texi
+ -e 's/@set en/@set ja/' mew.texi > tmp.ja.texi
$(RM) mew.ja.info*
$(TOUCH) mew.ja.info
$(EMACS) -batch -q -no-site-file -l texinfmt \
- -f batch-texinfo-format mew.texi
+ -f batch-texinfo-format tmp.ja.texi
+ $(RM) tmp.ja.texi
@@ -69,6 +70,7 @@ mew.ja.info: tmpj.texi
$(EMACS) -batch -q -no-site-file \
--eval "(set-default-coding-systems 'utf-8-unix)" \
-l texinfmt -f batch-texinfo-format $?
+ $(RM) tmpj.text

install: install-info
install-info:

0 comments on commit 0974a3c

Please sign in to comment.