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

File: [cvs.NetBSD.org] / pkgsrc / mail / wl-snapshot / Makefile (download)

Revision 1.15, Sat Sep 16 11:24:17 2023 UTC (5 months ago) by mef
Branch: MAIN
Changes since 1.14: +19 -15 lines

(mail/wl-snapshot) Updated 2.15.9.20190919 to 2.15.9.2023.08.18

- Convert Debian snapshot to github.com/wanderlust/
- This fixed the problem on Emacs 28.2
- ChangeLog.1 has the part of changes, but not listed here
- Not tested on Previous Emacs version yet
- Hoping to replace (rename) to mail/wl

# $NetBSD: Makefile,v 1.15 2023/09/16 11:24:17 mef Exp $

DATE=		2023.08.18
DISTNAME=	wanderlust
PKGNAME=	${EMACS_PKGNAME_PREFIX}${DISTNAME:S/wanderlust/wl-2.15.9.${DATE}/}
CATEGORIES=	mail
MASTER_SITES=	${MASTER_SITE_GITHUB:=wanderlust/}
GITHUB_PROJECT=	wanderlust
GITHUB_TAG=	1389dcec6e3242948682eb3e3ce8ead8be2772d8

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.gohome.org/wl/
COMMENT=	Mail/news management system with IMAP4rev1 support for Emacs
LICENSE=	gnu-gpl-v2

WRKSRC=		${WRKDIR}/wanderlust-${GITHUB_TAG}

BUILD_TARGET=	all info
INSTALL_TARGET=	install install-info
MAKE_FLAGS+=	INFODIR=${DESTDIR}${EMACS_INFOPREFIX}
MAKE_FLAGS+=	LISPDIR=${DESTDIR}${EMACS_LISPPREFIX}
MAKE_FLAGS+=	EMACS=${EMACS_BIN}
MAKE_FLAGS+=	PIXMAPDIR=${DESTDIR}${PREFIX}/share/wl
INFO_FILES=	yes

#UBST_CLASSES+=			icon_directory
#SUBST_STAGE.icon_directory=	pre-configure
#SUBST_MESSAGE.icon_directory=	Fixing wl-icon-directory default value (defvar)
#SUBST_FILES.icon_directory=	${WRKSRC}/wl/wl-vars.el
#SUBST_SED.icon_directory=	-e 's|%%PREFIX%%|${PREFIX}|'

DOCDIR=			${PREFIX}/share/doc/wl
EXAMPLESDIR=		${PREFIX}/share/examples/wl
INSTALLATION_DIRS=	${DOCDIR}/en ${DOCDIR}/ja \
			${EXAMPLESDIR}/en ${EXAMPLESDIR}/ja \
			${EMACS_INFOPREFIX}

EMACS_BUILDLINK=	# empty

.include "options.mk"

.include "../../devel/apel/buildlink3.mk"
.include "../../devel/semi/buildlink3.mk"
.include "../../editors/emacs/modules.mk"
.include "../../misc/bbdb3/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"

pre-configure:
	${MKDIR} -p ${WRKDIR}/.home/.emacs.d/elpa
	find ${WRKSRC} -name \*orig | xargs rm

post-install:
	set -e; \
	for f in BUGS NEWS; do \
		${INSTALL_DATA} ${WRKSRC}/"$$f"    ${DESTDIR}${DOCDIR}/en; \
		${INSTALL_DATA} ${WRKSRC}/"$$f".ja ${DESTDIR}${DOCDIR}/ja; \
	done
	for f in README; do \
		${INSTALL_DATA} ${WRKSRC}/"$$f".md ${DESTDIR}${DOCDIR}/en; \
		${INSTALL_DATA} ${WRKSRC}/"$$f".ja.md ${DESTDIR}${DOCDIR}/ja; \
	done
	${INSTALL_DATA} ${WRKSRC}/samples/en/dot.* ${DESTDIR}${EXAMPLESDIR}/en
	${INSTALL_DATA} ${WRKSRC}/samples/ja/dot.* ${DESTDIR}${EXAMPLESDIR}/ja

.include "../../mk/bsd.pkg.mk"