freebsd-ports/mail/mew/Makefile
Yasuhiro Kimura 0974a3c029 mail/mew: Update to 6.9
* 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
2023-02-28 18:20:18 +09:00

50 lines
1.6 KiB
Makefile

PORTNAME= mew
DISTVERSION= 6.9
CATEGORIES= mail elisp
MASTER_SITES= http://www.mew.org/Release/
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
DISTFILES= ${DISTNAME}a${EXTRACT_SUFX}
MAINTAINER= yasu@FreeBSD.org
COMMENT= Messaging in the Emacs World for emacs
WWW= https://www.Mew.org/
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= emacs
GNU_CONFIGURE= yes
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 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_RUN_DEPENDS= stunnel>=0:security/stunnel
post-install-DOCS-on:
${MKDIR} ${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>