[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / mail / mew

File: [cvs.NetBSD.org] / pkgsrc / mail / mew / Makefile (download)

Revision 1.101, Sun Mar 21 13:48:09 2021 UTC (8 months, 1 week ago) by taca
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, HEAD
Changes since 1.100: +2 -1 lines

mail/mew: Prevent inserting an extra line in header

Prevent inserting an extra line in header.  From discussion in mew-ja
mailing list and patch was provided from Tatsuya Kinoshita.

# $NetBSD: Makefile,v 1.101 2021/03/21 13:48:09 taca Exp $

DISTNAME=	mew-6.8
PKGNAME=	${EMACS_PKGNAME_PREFIX}${DISTNAME}
PKGREVISION=	1
CATEGORIES=	mail
MASTER_SITES=	http://www.mew.org/Release/

MAINTAINER=	uebayasi@NetBSD.org
HOMEPAGE=	https://www.mew.org/
COMMENT=	Messaging in the Emacs World
LICENSE=	modified-bsd

INSTALLATION_DIRS=	${MEW_CONTRIB_DIR:C|^${PREFIX}/||}

DEPENDS+=	${RUBY_PKGPREFIX}-sqlite3>=1.1:../../databases/ruby-sqlite3

CONFLICTS+=	mew-xemacs-[0-9]* incm-[0-9]*

INFO_FILES=	yes

GNU_CONFIGURE=	yes

EMACS_VERSIONS_ACCEPTED=	emacs26 emacs26nox
EMACS_VERSIONS_ACCEPTED+=	emacs25 emacs25nox
EMACS_VERSIONS_ACCEPTED+=	emacs21 emacs21nox
EMACS_MODULES+=			base

MAKE_FLAGS+=		DESTDIR=${DESTDIR:Q}
MAKE_FLAGS+=		prefix=${PREFIX:Q}
MAKE_FLAGS+=		exec_prefix=${PREFIX:Q}
MAKE_FLAGS+=		EMACS=${EMACS_BIN:Q}
MAKE_FLAGS+=		elispdir=${EMACS_LISPPREFIX:Q}/mew
MAKE_FLAGS+=		etcdir=${EMACS_ETCPREFIX:Q}/mew
MAKE_FLAGS+=		infodir=${EMACS_INFOPREFIX:Q}
MAKE_FLAGS+=		mandir=${PREFIX:Q}/${PKGMANDIR:Q}/man1
CONFIGURE_ARGS+=	--with-etcdir=${EMACS_ETCPREFIX}/mew

SUBST_CLASSES+=		local
SUBST_STAGE.local=	post-configure
SUBST_FILES.local=	bin/configure info/Makefile
SUBST_SED.local=	-e 's|/usr/local|${PREFIX}|g'

REPLACE_RUBY=		bin/cmew bin/smew

post-configure:
	${MV} ${WRKSRC}/mew-key.el ${WRKSRC}/mew-key.el.1
	${SED} -e 's|@ICONDIR@|${EMACS_ETCPREFIX}/mew|g' \
		${WRKSRC}/mew-key.el.1 > ${WRKSRC}/mew-key.el

.include "../../devel/zlib/buildlink3.mk"
.include "../../editors/emacs/modules.mk"
.include "../../lang/ruby/replace.mk"
.include "../../mk/bsd.pkg.mk"