git: c62f8faf928d - main - games/tuxmath: Unbreak on HEAD
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 16 May 2023 15:47:11 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c62f8faf928ded3a3b794af1e8e760893dac5f47
commit c62f8faf928ded3a3b794af1e8e760893dac5f47
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-05-16 15:45:26 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-05-16 15:46:53 +0000
games/tuxmath: Unbreak on HEAD
- Add missing LIB_DEPENDS
- Mark DEPRECATED as last upstream release was in 2011
---
games/tuxmath/Makefile | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
diff --git a/games/tuxmath/Makefile b/games/tuxmath/Makefile
index 9b2af06c45d1..41c71aaa016f 100644
--- a/games/tuxmath/Makefile
+++ b/games/tuxmath/Makefile
@@ -1,6 +1,6 @@
PORTNAME= tuxmath
PORTVERSION= 2.0.3
-PORTREVISION= 10
+PORTREVISION= 11
PORTEPOCH= 1
CATEGORIES= games education
MASTER_SITES= DEBIAN_POOL \
@@ -15,7 +15,11 @@ WWW= http://tux4kids.alioth.debian.org/
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/doc/COPYING_GPL3
-LIB_DEPENDS= libpng.so:graphics/png
+DEPRECATED= Upstream last release was in 2011
+EXPIRATION_DATE= 2023-06-16
+
+LIB_DEPENDS= libharfbuzz.so:print/harfbuzz \
+ libpng.so:graphics/png
USES= gmake gnome iconv localbase perl5 pkgconfig sdl
USE_GNOME= libxml2
@@ -47,6 +51,12 @@ NLS_LDFLAGS= -lintl
SVG_USE= GNOME=librsvg2
SVG_CONFIGURE_WITH= rsvg
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+CFLAGS+= -Wno-error=int-conversion
+.endif
+
post-extract:
@${LN} -sf ${T4K_WRKSRC} ${WRKDIR}/${T4K_NAME}
@@ -75,4 +85,4 @@ post-install-DOCS-on:
${INSTALL_DATA} ${WRKSRC}/doc/${file} ${STAGEDIR}${DOCSDIR}
.endfor
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>