git: 5d891e9897b5 - main - games/naev: Unbreak
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 21 Jul 2023 15:41:57 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=5d891e9897b54acf3deb2709b3478392ce75fa83 commit 5d891e9897b54acf3deb2709b3478392ce75fa83 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-07-21 15:09:24 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-07-21 15:41:47 +0000 games/naev: Unbreak - Utilize USES=localbase - Pet portclippy Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- games/naev/Makefile | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/games/naev/Makefile b/games/naev/Makefile index f807caa89d5f..c7a562999b49 100644 --- a/games/naev/Makefile +++ b/games/naev/Makefile @@ -1,7 +1,7 @@ PORTNAME= naev PORTVERSION= 0.10.6 -PORTREVISION= 2 DISTVERSIONSUFFIX= -source +PORTREVISION= 2 CATEGORIES= games MASTER_SITES= https://github.com/naev/naev/releases/download/v${PORTVERSION}/ @@ -34,23 +34,20 @@ LIB_DEPENDS= libamd.so:math/suitesparse-amd \ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mutagen>0:audio/py-mutagen@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} -USES= desktop-file-utils gettext gl gnome luajit:luajit-openresty \ - meson openal pkgconfig python sdl shebangfix tar:xz +USES= desktop-file-utils gettext gl gnome localbase:ldflags \ + luajit:luajit-openresty meson openal pkgconfig python sdl \ + shebangfix tar:xz USE_GL= gl glu USE_GNOME= intltool libxml2 USE_SDL= sdl2 image2 -SHEBANG_LANG= python -SHEBANG_GLOB= *.py -# work around meson not looking for headers/libs in /usr/local -CFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib +SHEBANG_GLOB= *.py +SHEBANG_LANG= python MESON_ARGS= -Ddocs_c=disabled -Ddocs_lua=disabled -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +BINARY_ALIAS= python3=${PYTHON_CMD} -post-patch: - ${REINPLACE_CMD} 's|python3|${PYTHON_VERSION}|g' ${WRKSRC}/meson.build +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} .include <bsd.port.mk>