git: c3fdffc3a8a0 - main - devel/sdl_console: Improve port, take maintainership

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Tue, 15 Jul 2025 16:41:19 UTC
The branch main has been updated by vvd:

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

commit c3fdffc3a8a02b3adb9c673d20fbed3bc5e2f758
Author:     seafork <seafork@disroot.org>
AuthorDate: 2025-07-15 16:39:01 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-07-15 16:39:01 +0000

    devel/sdl_console: Improve port, take maintainership
    
    - Replace PORTVERSION with DISTVERSION.
    - Add LICENSE.
    - Fix option SDL_IMAGE.
    - Fix warnings from portclippy.
    
    PR:     288155
---
 devel/sdl_console/Makefile | 24 ++++++++++++++----------
 1 file changed, 14 insertions(+), 10 deletions(-)

diff --git a/devel/sdl_console/Makefile b/devel/sdl_console/Makefile
index ad91da6bdcf0..1bd9ac2210c4 100644
--- a/devel/sdl_console/Makefile
+++ b/devel/sdl_console/Makefile
@@ -1,23 +1,27 @@
 PORTNAME=	sdl_console
-PORTVERSION=	2.1
-PORTREVISION=	7
+DISTVERSION=	2.1
+PORTREVISION=	8
 CATEGORIES=	devel
-MASTER_SITES=	SF/sdlconsole/sdlconsole-source/sdlconsole-${PORTVERSION}
-DISTNAME=	sdlconsole-${PORTVERSION}
+MASTER_SITES=	SF/sdlconsole/sdlconsole-source/sdlconsole-${DISTVERSION}
+DISTNAME=	sdlconsole-${DISTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	seafork@disroot.org
 COMMENT=	Drop down console that can be easily added to any SDL application
 WWW=		https://wacha.ch/wiki/sdlconsole/
 
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 USES=		libtool sdl
+USE_LDCONFIG=	yes
 USE_SDL=	sdl
 GNU_CONFIGURE=	yes
-USE_LDCONFIG=	yes
 INSTALL_TARGET=	install-strip
 
-OPTIONS_DEFINE=	SDL_IMAGE
-SDL_IMAGE_DESC=	SDL Image support
-
-SDL_IMAGE_USE=	sdl=image
+OPTIONS_DEFINE=			SDL_IMAGE
+OPTIONS_DEFAULT=		SDL_IMAGE
+SDL_IMAGE_DESC=			SDL Image support
+SDL_IMAGE_USE=			sdl=image
+SDL_IMAGE_CONFIGURE_ENABLE=	sdlimage
 
 .include <bsd.port.mk>