diff --git a/editors/with-editor/Makefile b/editors/with-editor/Makefile index 810a1c7fa447..48b087a5ead6 100644 --- a/editors/with-editor/Makefile +++ b/editors/with-editor/Makefile @@ -1,62 +1,63 @@ PORTNAME= with-editor DISTVERSIONPREFIX= v -DISTVERSION= 3.4.8 -PORTREVISION= 1 +DISTVERSION= 3.4.9 CATEGORIES= editors elisp MAINTAINER= jrm@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 -BUILD_DEPENDS= compat.el>=30.1.0.0:misc/compat.el RUN_DEPENDS= compat.el>=30.1.0.0:misc/compat.el USES= emacs:build gmake makeinfo USE_GITHUB= yes GH_ACCOUNT= magit -MAKE_ENV+= LOAD_PATH="-L ${PREFIX}/${EMACS_SITE_LISPDIR}/compat" -MAKE_JOBS_UNSAFE= yes -ALL_TARGET= lisp info - CONFLICTS_INSTALL= with-editor-devel-emacs* NO_ARCH= yes INFO= with-editor PLIST_FILES= ${EMACS_SITE_LISPDIR}/with-editor-autoloads.el \ ${EMACS_SITE_LISPDIR}/with-editor.el 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-build: + cd ${WRKSRC} && ${MAKE_CMD} info + cd ${WRKSRC}/lisp && ${MAKE_CMD} autoloads + +do-build-DOCS-on: + cd ${WRKSRC} && SED=gsed ${MAKE_CMD} html + +do-build-PDF-on: + cd ${WRKSRC} && ${MAKE_CMD} pdf + do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR} ${INSTALL_DATA} ${WRKSRC}/lisp/*.el \ ${STAGEDIR}${PREFIX}/${EMACS_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 diff --git a/editors/with-editor/distinfo b/editors/with-editor/distinfo index 149ddb8bd653..612a646df26d 100644 --- a/editors/with-editor/distinfo +++ b/editors/with-editor/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1771585756 -SHA256 (magit-with-editor-v3.4.8_GH0.tar.gz) = fc59dd5b44890b584516b405f6b258e3da7804f351a03027086ed6bcc2ba6257 -SIZE (magit-with-editor-v3.4.8_GH0.tar.gz) = 33836 +TIMESTAMP = 1776640173 +SHA256 (magit-with-editor-v3.4.9_GH0.tar.gz) = 47ee6519666d976b16d4624cf349e68e96447ebb20ddf0d5cbb36b51d13b7702 +SIZE (magit-with-editor-v3.4.9_GH0.tar.gz) = 33896 diff --git a/editors/with-editor/files/patch-default.mk b/editors/with-editor/files/patch-default.mk new file mode 100644 index 000000000000..19921e2adfdc --- /dev/null +++ b/editors/with-editor/files/patch-default.mk @@ -0,0 +1,11 @@ +--- default.mk.orig 2026-04-19 23:17:49 UTC ++++ default.mk +@@ -23,6 +23,8 @@ EMACS_ORG ?= $(EMACS) $(EMACS_Q_ARG) --batch $(EMACS + EMACS_BATCH ?= $(EMACS) $(EMACS_Q_ARG) --batch $(EMACS_ARGS) $(LOAD_PATH) + EMACS_ORG ?= $(EMACS) $(EMACS_Q_ARG) --batch $(EMACS_ARGS) $(ORG_LOAD_PATH) + ++SED ?= sed ++ + INSTALL_INFO ?= $(shell command -v ginstall-info || printf install-info) + MAKEINFO ?= makeinfo + MANUAL_HTML_ARGS ?= --css-ref https://magit.vc/assets/page.css diff --git a/editors/with-editor/files/patch-docs_Makefile b/editors/with-editor/files/patch-docs_Makefile index 58cd32ab2e17..e6cf4b450e83 100644 --- a/editors/with-editor/files/patch-docs_Makefile +++ b/editors/with-editor/files/patch-docs_Makefile @@ -1,11 +1,25 @@ ---- docs/Makefile.orig 2023-08-29 19:17:39 UTC +--- docs/Makefile.orig 2026-03-01 13:17:15 UTC +++ docs/Makefile -@@ -51,7 +51,7 @@ html-dir: $(PKG).texi +@@ -51,19 +51,19 @@ HTML_FIXUP_MENU = '/<\/body>/i
/dev/null + @texi2pdf $< > /dev/null - PUBLISH_PATH ?= /manual/ - RELEASE_PATH ?= /manual/$(VERSION)/ + DOCS_DOMAIN = docs.$(DOMAIN) + STAT_DOMAIN = stats.$(DOMAIN)