git: d40ffc81adc5 - main - textproc/muse: Optionize INFO
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 22 Oct 2023 14:45:10 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=d40ffc81adc563134c8b98374b60e0a2872dfe5a commit d40ffc81adc563134c8b98374b60e0a2872dfe5a Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-10-21 19:59:11 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-10-22 14:45:01 +0000 textproc/muse: Optionize INFO - Remove unreachable MASTER_SITES - Pet portclippy - Utilize OPTIONSNG targets - Mark NO_ARCH --- textproc/muse/Makefile | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/textproc/muse/Makefile b/textproc/muse/Makefile index 14c4561df7d0..3263093ced13 100644 --- a/textproc/muse/Makefile +++ b/textproc/muse/Makefile @@ -2,30 +2,40 @@ PORTNAME= muse PORTVERSION= 3.20 PORTREVISION= 25 CATEGORIES= textproc elisp -MASTER_SITES= http://download.gna.org/muse-el/ \ - LOCAL/dryice \ - http://dryice.name/computer/FreeBSD/distfiles/ +MASTER_SITES= LOCAL/dryice PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX} MAINTAINER= ports@FreeBSD.org COMMENT= Authoring and publishing environment for Emacs WWW= https://www.emacswiki.org/cgi-bin/wiki/MuseMode -USES= emacs gmake makeinfo +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING -INFO= muse +USES= emacs gmake -LISPDIR= ${PREFIX}/${EMACS_SITE_LISPDIR}/${PORTNAME} +NO_ARCH= yes PORTDOCS= AUTHORS ChangeLog ChangeLog.1 ChangeLog.2 ChangeLog.3 NEWS \ README scripts COPYING -OPTIONS_DEFINE= DOCS +OPTIONS_DEFINE= DOCS INFO +OPTIONS_DEFAULT= INFO + +INFO_USES= makeinfo +INFO_INFO= muse + +LISPDIR= ${PREFIX}/${EMACS_SITE_LISPDIR}/${PORTNAME} .if ${FLAVOR:Ufull:Mfull} PKGNAMESUFFIX= -emacs .endif +post-patch-INFO-off: + ${REINPLACE_CMD} -e '/^SUBDIRS/s|texi||g; \ + /^install:/s|install-info||g; /^all:/s|info-only||g' \ + ${WRKSRC}/Makefile + post-install: @${MKDIR} ${STAGEDIR}${LISPDIR}/contrib (cd ${WRKSRC} && ${COPYTREE_SHARE} contrib ${STAGEDIR}${LISPDIR}) @@ -33,6 +43,8 @@ post-install: ${STAGEDIR}${LISPDIR}/experimental @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|scripts||:S|^|${WRKSRC}/|} \ ${STAGEDIR}${DOCSDIR}