git: 8add31c0f192 - main - games/tomatoes: cosmetic fixes
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 22 Dec 2022 15:39:03 UTC
The branch main has been updated by amdmi3:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8add31c0f1924f67828a0d8d8261565d4393979b
commit 8add31c0f1924f67828a0d8d8261565d4393979b
Author: Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2022-12-21 13:18:21 +0000
Commit: Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2022-12-22 15:38:33 +0000
games/tomatoes: cosmetic fixes
- Switch to upstream download location
- Update WWW
- Pet portlint
---
games/tomatoes/Makefile | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/games/tomatoes/Makefile b/games/tomatoes/Makefile
index 03d7aac2b249..dd49147d46d6 100644
--- a/games/tomatoes/Makefile
+++ b/games/tomatoes/Makefile
@@ -2,19 +2,16 @@ PORTNAME= tomatoes
PORTVERSION= 1.55
PORTREVISION= 2
CATEGORIES= games
-MASTER_SITES= https://mirror.amdmi3.ru/distfiles/
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/1.5/
DISTFILES= ${PORTNAME}-linux-src-${PORTVERSION}${EXTRACT_SUFX} \
${PORTNAME}-linux-${DATAVERSION}${EXTRACT_SUFX}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Tomato-smashing, Q-Bert style
-WWW= http://tomatoes.sourceforge.net/
+WWW= https://tomatoes.sourceforge.net/
LICENSE= ZLIB
-DATAVERSION= 1.5
-DATA_WRKSRC= ${WRKDIR}/tomatoes-${DATAVERSION}
-
USES= gl gmake sdl tar:bzip2
USE_SDL= mixer image
USE_GL= gl glu
@@ -27,6 +24,9 @@ MAKE_ARGS= CC="${CXX}" \
CFLAGS="${CXXFLAGS} ${SDL_CFLAGS}" \
LDFLAGS="${SDL_LDFLAGS}"
+DATAVERSION= 1.5
+DATA_WRKSRC= ${WRKDIR}/tomatoes-${DATAVERSION}
+
SDL_CFLAGS= `${SDL_CONFIG} --cflags` -I${LOCALBASE}/include
SDL_LDFLAGS= `${SDL_CONFIG} --libs` -lSDL_image -lSDL_mixer \
-L${LOCALBASE}/lib -lGL -lGLU