git: b444185fa9e3 - 2026Q3 - biology/gperiodic: Improve port, take maintainership

Älven <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.ports
Message-ID <[email protected]>
The branch 2026Q3 has been updated by alven:

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

commit b444185fa9e38c46782a69c5f23ea688529cbf0f
Author:     Älven <[email protected]>
AuthorDate: 2026-08-19 07:09:31 +0000
Commit:     Älven <[email protected]>
CommitDate: 2026-08-19 07:14:58 +0000

    biology/gperiodic: Improve port, take maintainership
    
    * Add education to CATEGORIES
    * Improve COMMENT and pkg-descr
    * Pet portclippy(1) and portfmt(1)
    
    Approved by:            db@, yuri@ (Mentors, implicit)
    MFH:                    2026Q3
    
    (cherry picked from commit a7d6232b906f19f985752843b167a1585b9f3539)
---
 biology/gperiodic/Makefile  | 28 ++++++++++++++--------------
 biology/gperiodic/pkg-descr |  2 +-
 2 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/biology/gperiodic/Makefile b/biology/gperiodic/Makefile
index 541d4babb963..4812c64c264c 100644
--- a/biology/gperiodic/Makefile
+++ b/biology/gperiodic/Makefile
@@ -1,17 +1,17 @@
 PORTNAME=	gperiodic
-PORTVERSION=	3.0.3
-PORTREVISION=	1
-CATEGORIES=	biology
+DISTVERSION=	3.0.3
+PORTREVISION=	2
+CATEGORIES=	biology education
 MASTER_SITES=	SF/${PORTNAME}
 
-MAINTAINER=	[email protected]
-COMMENT=	Displays a periodic table of the elements
+MAINTAINER=	[email protected]
+COMMENT=	A graphical application for browsing the periodic table
 WWW=		https://sourceforge.net/projects/gperiodic/
 
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/gpl.txt
 
-LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig\
+LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
 		libfreetype.so:print/freetype2
 
 USES=		gnome pkgconfig
@@ -19,13 +19,13 @@ USE_GNOME=	cairo gdkpixbuf gtk20
 
 PORTDOCS=	AUTHORS ChangeLog README
 
-LANGS=		be cs da de es fi fr gl is it ms pl pt ru sv tr uk zh_CN
-
 OPTIONS_DEFINE=	DOCS NLS
 OPTIONS_SUB=	yes
 
 NLS_USES=	gettext
 
+LANGS=		be cs da de es fi fr gl is it ms pl pt ru sv tr uk zh_CN
+
 do-build:
 	cd ${WRKSRC} && ${CC} ${CFLAGS} `pkg-config --cflags --libs gtk+-2.0` \
 		gperiodic.c -o gperiodic
@@ -37,8 +37,12 @@ do-build-NLS-on:
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/gperiodic ${STAGEDIR}${PREFIX}/bin
-	(cd ${WRKSRC}/icons && ${INSTALL_DATA} gperiodic-crystal.png gperiodic.png \
-		${STAGEDIR}${PREFIX}/share/pixmaps)
+	cd ${WRKSRC}/icons && ${INSTALL_DATA} gperiodic-crystal.png gperiodic.png \
+		${STAGEDIR}${PREFIX}/share/pixmaps
+
+do-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 
 do-install-NLS-on:
 .for lang in ${LANGS}
@@ -47,8 +51,4 @@ do-install-NLS-on:
 		${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES/${PORTNAME}.mo
 .endfor
 
-do-install-DOCS-on:
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
-
 .include <bsd.port.mk>
diff --git a/biology/gperiodic/pkg-descr b/biology/gperiodic/pkg-descr
index 1b658ccd0e5e..9850b2e0ae1e 100644
--- a/biology/gperiodic/pkg-descr
+++ b/biology/gperiodic/pkg-descr
@@ -1,3 +1,3 @@
 Gperiodic displays a periodic table of the elements, allowing you to
 browse through the elements, and view detailed information about each
-element.
+element. This program also features a non-graphical interface.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.