git: 7c1b5cd1410f - main - games/heroes: Remove USES=makeinfo

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 21 Oct 2023 19:01:48 UTC
The branch main has been updated by bofh:

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

commit 7c1b5cd1410f36b346db74339794a2ba7dbff871
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-10-21 14:42:39 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-10-21 19:01:36 +0000

    games/heroes: Remove USES=makeinfo
    
    - Distfile ships with info files so no need to regenerate those
    - Utilize USES=localbase where possible
    - Pet portclippy
---
 games/heroes/Makefile | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/games/heroes/Makefile b/games/heroes/Makefile
index 9ca3b0d7e9f7..b7241c3da067 100644
--- a/games/heroes/Makefile
+++ b/games/heroes/Makefile
@@ -20,14 +20,13 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libsmpeg.so:multimedia/smpeg
 
-USES=		gettext gmake iconv makeinfo sdl
+USES=		gettext gmake iconv localbase:ldflags sdl
 USE_SDL=	mixer sdl
+
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-sdl_mixer=${LOCALBASE} --without-gii --without-ggi
-CONFIGURE_ENV=	MAKEINFO="${MAKEINFO} --no-split"
 
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-lpthread -L${LOCALBASE}/lib -lsmpeg -lm
+LDFLAGS+=	-lpthread -lsmpeg -lm
 
 INFO=		heroes
 
@@ -52,7 +51,6 @@ post-patch:
 		${FIND} $${dir} -name "Makefile*" -delete; \
 	done
 	@${RM} ${WRKSRC}/lib/getopt.h
-	@${RM} ${WRKSRC}/doc/*.info*
 
 post-install:
 .for dir in levels pics tilesets