mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
26421ac37c
- Bump Emacs version in Mk/Uses/emacs.mk to update version-specific paths - Bump PORTREVISION of ports with USES=emacs. This is required for two reasons. Emacs lisp files need to be byte compiled for the new Emacs version, and files installed under, e.g., EMACS_VERSION_SITE_LISPDIR need to be relocated. Reviewed by: ashish Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D44492
68 lines
1.9 KiB
Makefile
68 lines
1.9 KiB
Makefile
PORTNAME= wanderlust
|
|
PORTVERSION= 2.15.9.b.${SNAPDATE}
|
|
PORTREVISION= 2
|
|
CATEGORIES= mail elisp
|
|
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
|
|
|
|
MAINTAINER= nobutaka@FreeBSD.org
|
|
COMMENT= Mail and news system for Emacs
|
|
WWW= https://github.com/wanderlust/wanderlust
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BUILD_DEPENDS= emacs-w3m${EMACS_PKGNAMESUFFIX}>0:www/emacs-w3m@${EMACS_FLAVOR} \
|
|
semi${EMACS_PKGNAMESUFFIX}>0:editors/semi@${EMACS_FLAVOR} \
|
|
x-face-e21${EMACS_PKGNAMESUFFIX}>0:mail/x-face-e21@${EMACS_FLAVOR}
|
|
RUN_DEPENDS= emacs-w3m${EMACS_PKGNAMESUFFIX}>0:www/emacs-w3m@${EMACS_FLAVOR} \
|
|
semi${EMACS_PKGNAMESUFFIX}>0:editors/semi@${EMACS_FLAVOR}
|
|
|
|
USES= emacs
|
|
USE_GITHUB= yes
|
|
GH_TAGNAME= c15e8ec
|
|
|
|
NO_ARCH= yes
|
|
SNAPDATE= 20240207
|
|
|
|
MAKE_ARGS+= EMACS=${EMACS_CMD} \
|
|
FLAGS="-batch -q -no-site-file" \
|
|
LISPDIR=${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR} \
|
|
INFODIR=${STAGEDIR}${PREFIX}/${INFO_PATH} \
|
|
PACKAGE_LISPDIR=NONE \
|
|
PIXMAPDIR=${STAGEDIR}${PREFIX}/${EMACS_LIBDIR}/etc/wl/icons
|
|
|
|
INFO= wl wl-ja
|
|
PORTDATA= ja.Emacs
|
|
PORTDOCS= *
|
|
PORTEXAMPLES= *
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
post-extract:
|
|
@${CP} ${FILESDIR}/WL-CFG ${WRKSRC}
|
|
|
|
post-install:
|
|
${INSTALL} -d ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/wl \
|
|
${STAGEDIR}${DATADIR}
|
|
${INSTALL_DATA} ${FILESDIR}/wanderlust-startup.el \
|
|
${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
|
|
${INSTALL_DATA} \
|
|
${WRKSRC}/elmo/elmo-shimbun.el \
|
|
${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/wl
|
|
${INSTALL_DATA} ${WRKSRC}/etc/ja.Emacs ${STAGEDIR}${DATADIR}
|
|
|
|
post-install-DOCS-on:
|
|
${INSTALL} -d ${STAGEDIR}/${DOCSDIR}
|
|
.for f in README* NEWS* doc/wl*.texi
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
post-install-EXAMPLES-on:
|
|
${INSTALL} -d ${STAGEDIR}/${EXAMPLESDIR}
|
|
(cd ${WRKSRC}/samples && ${COPYTREE_SHARE} "en ja" \
|
|
${STAGEDIR}${EXAMPLESDIR})
|
|
${RM} ${STAGEDIR}${EXAMPLESDIR}/en/*.orig \
|
|
${STAGEDIR}${EXAMPLESDIR}/ja/*.orig
|
|
|
|
.include <bsd.port.mk>
|