aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2022-12-21 13:18:21 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2022-12-22 15:38:33 +0000
commit8add31c0f1924f67828a0d8d8261565d4393979b (patch)
treecba8af03c78cdb3395823b4f10776866ca27009a
parent5de7e0882d16f6fa4cf0ef4a6237ca9aa0bb1eb1 (diff)
downloadports-8add31c0f1924f67828a0d8d8261565d4393979b.tar.gz
ports-8add31c0f1924f67828a0d8d8261565d4393979b.zip
games/tomatoes: cosmetic fixes
- Switch to upstream download location - Update WWW - Pet portlint
-rw-r--r--games/tomatoes/Makefile10
1 files 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