Friday, February 02, 2024

Re: UPDATE: games/ottomatic

On 2024/02/01 22:53:47 -0600, izder456 <izder456@disroot.org> wrote:
> On Thu, 1 Feb 2024 22:49:03 -0600
> izder456 <izder456@disroot.org> wrote:
> [...]
> --- Makefile.orig Thu Feb 1 22:41:54 2024
> +++ Makefile Thu Feb 1 22:44:27 2024
> @@ -1,6 +1,6 @@
> COMMENT = family-friendly 3D third person sci-fi action arcade
>
> V = 4.0.1
> -PKGNAME = ottomatic-${V}
> +PKGNAME = ottomatic-${V}p1

Almost, while the idea is correct instead of manually appending pN we
just set REVISION. Also, the revision starts with empty (no revision),
then it is set to zero, then incremented.

I've committed the following diff, which also removes NO_TEST, and then
in a separate commit i've re-indented the values with tabs, which is the
usual style.


Thanks,

Omar Polo

Index: Makefile
===================================================================
RCS file: /home/cvs/ports/games/ottomatic/Makefile,v
diff -u -p -r1.1.1.1 Makefile
--- Makefile 31 Jan 2024 08:07:13 -0000 1.1.1.1
+++ Makefile 2 Feb 2024 07:52:46 -0000
@@ -2,6 +2,7 @@ COMMENT = family-friendly 3D thi

V = 4.0.1
PKGNAME = ottomatic-${V}
+REVISION = 0
DIST_TUPLE += github jorio OttoMatic ${V} .
DIST_TUPLE += github jorio Pomme ef94150e2dcec522e3099f4d03a4e8f2639f7232 \
extern/Pomme
@@ -22,13 +23,9 @@ COMPILER = base-clang ports-gcc

MODULES = devel/cmake

-BUILD_DEPENDS = audio/libsamplerate
LIB_DEPENDS = devel/sdl2
-RUN_DEPENDS = audio/libsamplerate \
- devel/desktop-file-utils \
+RUN_DEPENDS = devel/desktop-file-utils \
x11/gtk+4,-guic
-
-NO_TEST = Yes

CFLAGS += -I${X11BASE}/include
CXXFLAGS += -I${X11BASE}/include

No comments:

Post a Comment