git: dcc5804639d6 - main - lang/yorick: Remove USES=makeinfo

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 04 Nov 2023 19:51:32 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=dcc5804639d6a1e53e85b0faeeb96167cf76c75f

commit dcc5804639d6a1e53e85b0faeeb96167cf76c75f
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-11-04 07:48:35 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-11-04 19:51:16 +0000

    lang/yorick: Remove USES=makeinfo
    
    - Utilize the info files that comes with the dist
    - Pet portclippy
    - Adopt port
---
 lang/yorick/Makefile | 17 +++++++----------
 1 file changed, 7 insertions(+), 10 deletions(-)

diff --git a/lang/yorick/Makefile b/lang/yorick/Makefile
index 80a821c7375f..3a27dba82e3e 100644
--- a/lang/yorick/Makefile
+++ b/lang/yorick/Makefile
@@ -1,22 +1,22 @@
 PORTNAME=	yorick
 DISTVERSIONPREFIX=	y_
 DISTVERSION=	2_2_04
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	lang math
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	bofh@FreeBSD.org
 COMMENT=	Interpreted language for scientific simulations
 WWW=		https://yorick.sourceforge.net/
 
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE.md
 
-USES=		makeinfo xorg
-USE_XORG=	x11
-MAKE_ARGS=	Y_HOME=relocatable Y_DOCDIR=/dev/null
-
+USES=		xorg
 USE_GITHUB=	yes
 GH_ACCOUNT=	dhmunro
+USE_XORG=	x11
+
+MAKE_ARGS=	Y_HOME=relocatable Y_DOCDIR=/dev/null
 
 CONFLICTS_INSTALL=	gist p5-App-gist py*-python-gist # bin/gist
 
@@ -39,9 +39,6 @@ do-configure:
 	cd ${CONFIGURE_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \
 		${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ysite config
 
-post-build:
-	${MAKE} -C ${WRKSRC}/doc yorick.info
-
 post-install:
 	${INSTALL_DATA} ${WRKSRC}/emacs/yorick.el ${WRKSRC}/relocatable
 	@${RM} -r ${WRKSRC}/relocatable/doc ${PREFIX}/lib/${PORTNAME}
@@ -52,7 +49,7 @@ post-install:
 	${LN} -sf ../lib/${PORTNAME}/bin/${f} ${STAGEDIR}${PREFIX}/bin/${f}
 .endfor
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/lib/codger
-	${INSTALL_DATA} ${WRKSRC}/doc/yorick.info* \
+	${INSTALL_DATA} ${WRKSRC}/distribs/yorick.info* \
 		${STAGEDIR}${PREFIX}/${INFO_PATH}
 
 post-install-DOCS-on: