git: 625438e8fdfc - main - graphics/evolvotron: Adopt/Update to 0.8.0

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Fri, 20 Jan 2023 10:07:04 UTC
The branch main has been updated by eduardo:

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

commit 625438e8fdfc0af3800e8988a6cec8725798d020
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2023-01-20 10:04:43 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2023-01-20 10:06:29 +0000

    graphics/evolvotron: Adopt/Update to 0.8.0
    
    - Update home url
    
    ChangeLog: https://github.com/WickedSmoke/evolvotron/blob/master/NEWS
---
 graphics/evolvotron/Makefile | 48 ++++++++++++++++----------------------------
 graphics/evolvotron/distinfo |  6 +++---
 2 files changed, 20 insertions(+), 34 deletions(-)

diff --git a/graphics/evolvotron/Makefile b/graphics/evolvotron/Makefile
index f685be2e55f0..d36b24b5283b 100644
--- a/graphics/evolvotron/Makefile
+++ b/graphics/evolvotron/Makefile
@@ -1,15 +1,14 @@
 PORTNAME=	evolvotron
-DISTVERSION=	0.7.1
-PORTREVISION=	14
+DISTVERSION=	0.8.0
 CATEGORIES=	graphics
 MASTER_SITES=	SF \
 		SF/nemysisfreebsdp/${CATEGORIES}/:icons
 DISTFILES=	${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
 		${PORTNAME}_icons${EXTRACT_SUFX}:icons
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	eduardo@FreeBSD.org
 COMMENT=	Generative software that evolves images/textures/patterns
-WWW=		http://www.bottlenose.demon.co.uk/share/evolvotron/
+WWW=		http://www.bottlenose.net/share/evolvotron/
 
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/LICENSE
@@ -17,34 +16,28 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 LIB_DEPENDS=	libboost_thread.so:devel/boost-libs
 
 USES=		compiler:c++11-lib gl gnome python qmake qt:5
-USE_QT=		core gui widgets xml buildtools:build
-USE_GL=		gl
-QMAKE_ARGS=	VERSION_NUMBER="${PORTVERSION}"
-QMAKE_SOURCE_PATH=	${WRKSRC}/main.pro
 USE_CXXSTD=	c++11
+USE_GL=		gl
+USE_QT=		core gui widgets xml buildtools:build
 
-WRKSRC=		${WRKDIR}/${PORTNAME}
+QMAKE_ARGS=		VERSION_NUMBER="${PORTVERSION}"
+QMAKE_SOURCE_PATH=	${WRKSRC}/main.pro
 
 ICON_SIZES=	32x32 48x48 64x64 72x72 96x96 128x128
-
-DESKTOP_ENTRIES="Evolvotron" "Interactive image generator" "${PORTNAME}" \
-		"${PORTNAME}" "Graphics;2DGraphics;" ""
-
+DESKTOP_ENTRIES=	"Evolvotron" \
+			"Interactive image generator" \
+			"${PORTNAME}" \
+			"${PORTNAME}" \
+			"Graphics;2DGraphics;" \
+			""
+WRKSRC=		${WRKDIR}/${PORTNAME}
+PORTDOCS=	NEWS README.md TODO USAGE evolvotron.html
 OPTIONS_DEFINE=	DOCS
 
-PORTDOCS=	NEWS README TODO USAGE evolvotron.html
-
-post-patch:
-	@${REINPLACE_CMD} -e \
-		'/^CONFIG/s|precompile_header|| ; \
-		 /DEFINES/s|_LINUX|_BSD|' ${WRKSRC}/common.pro
-
 do-install:
 .for i in evolvotron evolvotron_mutate evolvotron_render
-	${INSTALL_PROGRAM} ${WRKSRC}/${i}/${i} ${STAGEDIR}${PREFIX}/bin/
-.endfor
-.for lib in libevolvotron libfunction
-	${INSTALL_DATA} ${WRKSRC}/${lib}/${lib}.a ${STAGEDIR}${PREFIX}/lib/
+	${INSTALL_PROGRAM} ${WRKSRC}/obj/${i}/${i} ${STAGEDIR}${PREFIX}/bin/
+	${INSTALL_MAN} ${WRKSRC}/man/man1/${i}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
 .endfor
 .for s in ${ICON_SIZES}
 	@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/
@@ -53,13 +46,6 @@ do-install:
 .endfor
 	${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
 		${STAGEDIR}${PREFIX}/share/pixmaps/
-.for m in evolvotron.1 evolvotron_mutate.1 evolvotron_render.1
-	cd ${WRKSRC}/man/man1 && ${INSTALL_MAN} ${m} \
-		${STAGEDIR}${MAN1PREFIX}/man/man1/
-.endfor
-
-post-install: # delete static libs installed by mistake
-	@${RM} -r ${STAGEDIR}${PREFIX}/lib
 
 do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/graphics/evolvotron/distinfo b/graphics/evolvotron/distinfo
index ee36d3097db1..4a74e7ebbabf 100644
--- a/graphics/evolvotron/distinfo
+++ b/graphics/evolvotron/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1531631740
-SHA256 (evolvotron-0.7.1.tar.gz) = 9a5bd7680aa3617de7b822ef1114f04548909be35facbf78c676bd0c4d42f9a9
-SIZE (evolvotron-0.7.1.tar.gz) = 179516
+TIMESTAMP = 1674202443
+SHA256 (evolvotron-0.8.0.tar.gz) = df78f62a62f5c8bb79d60a6efb8587c67f4fcf85d74ad7938f54be21c8947a10
+SIZE (evolvotron-0.8.0.tar.gz) = 178316
 SHA256 (evolvotron_icons.tar.gz) = f7d98eab15bf39d6de66a548457223daaffab4e5fe4aa444c926343786400d85
 SIZE (evolvotron_icons.tar.gz) = 93696