games/tomatoes: cosmetic fixes

- Switch to upstream download location
- Update WWW
- Pet portlint
This commit is contained in:
Dmitry Marakasov 2022-12-21 16:18:21 +03:00
parent 5de7e0882d
commit 8add31c0f1
1 changed files with 5 additions and 5 deletions

View File

@ -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