From cbabd645f90461dca4792e45e9299ce18a8fd369 Mon Sep 17 00:00:00 2001 From: Hiroki Sato Date: Fri, 27 Aug 2021 11:49:37 +0900 Subject: [PATCH] mail/mew-devel: development version of mail/mew PR: 255249 Submitted by: Yasuhiro Kimura --- mail/Makefile | 1 + mail/mew-devel/Makefile | 54 ++++++ mail/mew-devel/distinfo | 3 + mail/mew-devel/files/patch-bin__Makefile.in | 59 +++++++ mail/mew-devel/files/patch-info__Makefile | 27 +++ mail/mew-devel/files/pkg-message.in | 19 ++ mail/mew-devel/pkg-descr | 4 + mail/mew-devel/pkg-plist | 181 ++++++++++++++++++++ 8 files changed, 348 insertions(+) create mode 100644 mail/mew-devel/Makefile create mode 100644 mail/mew-devel/distinfo create mode 100644 mail/mew-devel/files/patch-bin__Makefile.in create mode 100644 mail/mew-devel/files/patch-info__Makefile create mode 100644 mail/mew-devel/files/pkg-message.in create mode 100644 mail/mew-devel/pkg-descr create mode 100644 mail/mew-devel/pkg-plist diff --git a/mail/Makefile b/mail/Makefile index 01aee2dae77a..c2ef02e6eb57 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -221,6 +221,7 @@ SUBDIR += meta1 SUBDIR += metamail SUBDIR += mew + SUBDIR += mew-devel SUBDIR += milter-bogom SUBDIR += milter-callback SUBDIR += milter-greylist diff --git a/mail/mew-devel/Makefile b/mail/mew-devel/Makefile new file mode 100644 index 000000000000..6c6d780eaac0 --- /dev/null +++ b/mail/mew-devel/Makefile @@ -0,0 +1,54 @@ +PORTNAME= mew +DISTVERSIONPREFIX= v +DISTVERSION= 6.8-72 +DISTVERSIONSUFFIX= -gfc4bca6 +CATEGORIES= mail elisp +PKGNAMESUFFIX= -devel${EMACS_PKGNAMESUFFIX} + +MAINTAINER= yasu@utahime.org +COMMENT= Messaging in the Emacs World for emacs (Development Version) + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/00copyright + +USES= emacs +USE_GITHUB= yes + +CONFLICTS_INSTALL= ${PORTNAME}${EMACS_PKGNAMESUFFIX}-[0-9]* + +GH_ACCOUNT= kazu-yamamoto +GH_PROJECT= Mew + +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-elispdir=${LOCALBASE}/${EMACS_SITE_LISPDIR}/mew \ + --with-etcdir=${LOCALBASE}/${EMACS_SITE_LISPDIR}/mew/etc + +# target name for make build and install +ALL_TARGET= all info +INSTALL_TARGET= install + +SUB_FILES= pkg-message + +INFO= mew + +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 +DATABASE_DESC= Support database feature (with Ruby & Sqlite3) +DATABASE_RUN_DEPENDS= rubygem-sqlite3>=0:databases/rubygem-sqlite3 +DOCS_ALL_TARGET= jinfo +DOCS_INSTALL_TARGET= install-jinfo +DOCS_INFO= mew.ja +STUNNEL_DESC= Support TLS +STUNNEL_RUN_DEPENDS= stunnel>=0:security/stunnel + +post-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) + +.include diff --git a/mail/mew-devel/distinfo b/mail/mew-devel/distinfo new file mode 100644 index 000000000000..9f791af1b02b --- /dev/null +++ b/mail/mew-devel/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1625098646 +SHA256 (kazu-yamamoto-Mew-v6.8-72-gfc4bca6_GH0.tar.gz) = a65ddcb648e250f54cb0fd06ddb58d0ed64838fd3b797bd8c6170f6e2f8d94ba +SIZE (kazu-yamamoto-Mew-v6.8-72-gfc4bca6_GH0.tar.gz) = 992645 diff --git a/mail/mew-devel/files/patch-bin__Makefile.in b/mail/mew-devel/files/patch-bin__Makefile.in new file mode 100644 index 000000000000..b4466bf7a77a --- /dev/null +++ b/mail/mew-devel/files/patch-bin__Makefile.in @@ -0,0 +1,59 @@ +--- bin/Makefile.in.orig 2018-06-07 05:48:29 UTC ++++ bin/Makefile.in +@@ -25,7 +25,9 @@ LDFLAGS = @LDFLAGS@ + COFLAG = -o $@ + LIBS = @LIBS@ + +-INSTALL = @INSTALL@ ++INSTALL_PROGRAM = @INSTALL_PROGRAM@ ++INSTALL_SCRIPT = @INSTALL_SCRIPT@ ++INSTALL_DATA = @INSTALL_DATA@ + LN = ln + RM = rm -f + MKDIR = mkdir -p +@@ -105,31 +107,31 @@ install: all + -@if [ ! -d $(DESTDIR)$(bindir) ]; then \ + $(MKDIR) $(DESTDIR)$(bindir); \ + fi +- $(INSTALL) -m 555 $(PRG1) $(DESTDIR)$(bindir) ++ ${INSTALL_PROGRAM} $(PRG1) $(DESTDIR)$(bindir) + for f in $(ALT); do \ + $(RM) $(DESTDIR)$(bindir)/$${f}; \ + $(LN) $(DESTDIR)$(bindir)/$(PRG1) $(DESTDIR)$(bindir)/$${f}; \ + done +- $(INSTALL) -m 555 $(PRG2) $(DESTDIR)$(bindir) +- $(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 +- $(INSTALL) -m 444 $(MAN1) $(DESTDIR)$(mandir) ++ ${INSTALL_DATA} $(MAN1) $(DESTDIR)$(mandir) + for f in $(MALT); do \ + $(RM) $(DESTDIR)$(mandir)/$${f}; \ + $(LN) $(DESTDIR)$(mandir)/$(MAN1) $(DESTDIR)$(mandir)/$${f}; \ + done +- $(INSTALL) -m 444 $(MAN2) $(DESTDIR)$(mandir) +- $(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-devel/files/patch-info__Makefile b/mail/mew-devel/files/patch-info__Makefile new file mode 100644 index 000000000000..3174fe51df37 --- /dev/null +++ b/mail/mew-devel/files/patch-info__Makefile @@ -0,0 +1,27 @@ +--- info/Makefile.orig 2021-01-31 07:40:24 UTC ++++ info/Makefile +@@ -15,7 +15,7 @@ + ## EDIT THE FOLLOWINGS + ## + +-prefix=/usr/local ++prefix=${PREFIX} + infodir=$(prefix)/info + + EMACS=emacs +@@ -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 + + tmpj.texi: mew.texi + sed -e 's/@setfilename mew.info/@setfilename mew.ja.info/' \ +@@ -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: diff --git a/mail/mew-devel/files/pkg-message.in b/mail/mew-devel/files/pkg-message.in new file mode 100644 index 000000000000..7e90adda434e --- /dev/null +++ b/mail/mew-devel/files/pkg-message.in @@ -0,0 +1,19 @@ +[ +{ type: install + message: <