ports/editors/with-editor-devel/Makefile
Yasuhiro Kimura 1a485aa5cf Magit: Mark development snapshot ports as DEPRECATED and set EXPIRATION_DATE
After Magit 3.3.0 was released on October 2021, upstream didn't
release new version for a long time. So I created development snapshot
ports to used newer Magit. But they seems to change release policy
with the release of 4.0.0 on August 2024, and new versions have been
released every month since then. Since I have updated development
snapshot ports once a month, there aren't much difference from release
version ones now. So mark the former as DEPRECATED and set
EXPIRATION_DATE.
2025-04-25 21:18:39 +09:00

68 lines
1.9 KiB
Makefile

PORTNAME= with-editor
DISTVERSIONPREFIX= v
DISTVERSION= 3.4.3
PORTREVISION= 1
DISTVERSIONSUFFIX=
CATEGORIES= editors elisp
PKGNAMESUFFIX= -devel${EMACS_PKGNAMESUFFIX}
MAINTAINER= yasu@FreeBSD.org
COMMENT= Use the Emacsclient as the $$EDITOR of child processes
WWW= https://github.com/magit/with-editor
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/LICENSE
DEPRECATED= Use editors/with-editor instead
EXPIRATION_DATE= 2025-08-31
BUILD_DEPENDS= compat.el${EMACS_PKGNAMESUFFIX}>=30.0.0.0:misc/compat.el@${EMACS_FLAVOR}
RUN_DEPENDS= compat.el${EMACS_PKGNAMESUFFIX}>=30.0.0.0:misc/compat.el@${EMACS_FLAVOR}
USES= emacs gmake makeinfo
USE_GITHUB= yes
GH_ACCOUNT= magit
MAKE_ENV+= LOAD_PATH="-L ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/compat"
MAKE_JOBS_UNSAFE= yes
ALL_TARGET= lisp info
CONFLICTS_INSTALL= with-editor-emacs*
NO_ARCH= yes
INFO= with-editor
PLIST_FILES= ${EMACS_VERSION_SITE_LISPDIR}/with-editor-autoloads.el \
${EMACS_VERSION_SITE_LISPDIR}/with-editor.el \
${EMACS_VERSION_SITE_LISPDIR}/with-editor.elc
PORTDOCS= README.org with-editor.html
OPTIONS_DEFINE= DOCS PDF
PDF_DESC= Build and install PDF document
DOCS_BUILD_DEPENDS= gsed:textproc/gsed
DOCS_ALL_TARGET= html
DOCS_BINARY_ALIAS= sed=gsed
PDF_BUILD_DEPENDS= texi2pdf:print/texinfo
PDF_USES= tex
PDF_USE= TEX=dvipdfmx:build
PDF_ALL_TARGET= pdf
PDF_PLIST_FILES= ${DOCSDIR}/with-editor.pdf
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
${INSTALL_DATA} ${WRKSRC}/lisp/*.el* \
${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
${INSTALL_DATA} ${WRKSRC}/docs/*.info ${STAGEDIR}${PREFIX}/${INFO_PATH}
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.org \
${WRKSRC}/docs/with-editor.html ${STAGEDIR}${DOCSDIR}
do-install-PDF-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/with-editor.pdf ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>