mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
15945f8122
to GCC 4.8.3. Part II, Bump PORTREVISIONs. PR: 192025 Tested by: antoine (-exp runs) Approved by: portmgr (implicit)
53 lines
1.4 KiB
Makefile
53 lines
1.4 KiB
Makefile
# Created by: Adam Weinberger <adamw@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= tomatoes
|
|
PORTVERSION= 1.5
|
|
PORTREVISION= 15
|
|
CATEGORIES= games
|
|
MASTER_SITES= SF
|
|
DISTFILES= ${PORTNAME}-linux-src-${PORTVERSION}5${EXTRACT_SUFX} \
|
|
${PORTNAME}-linux-${PORTVERSION}${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
COMMENT= Tomato-smashing, Q-Bert style
|
|
|
|
WRKSRC= ${WRKDIR}/tomatoes-${PORTVERSION}5
|
|
TDATA= ${WRKDIR}/tomatoes-${PORTVERSION}
|
|
|
|
USES= tar:bzip2 gmake
|
|
USE_SDL= mixer image
|
|
USE_GL= gl
|
|
MAKEFILE= makefile
|
|
MAKE_ARGS= CC="${CXX}" \
|
|
MPKDIR="${DATADIR}/" \
|
|
MUSICDIR="${DATADIR}/music/" \
|
|
HISCOREDIR="${DATADIR}/" \
|
|
CONFIGDIR="${DATADIR}/" \
|
|
CFLAGS="${CXXFLAGS} ${SDL_CFLAGS}" \
|
|
LDFLAGS="${SDL_LDFLAGS}"
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
PORTDATA= *
|
|
|
|
SDL_CFLAGS= `${SDL_CONFIG} --cflags` -I${LOCALBASE}/include
|
|
SDL_LDFLAGS= `${SDL_CONFIG} --libs` -lSDL_image -lSDL_mixer \
|
|
-L${LOCALBASE}/lib -lGL -lGLU
|
|
|
|
DESKTOP_ENTRIES="Tomatoes" \
|
|
"${COMMENT}" \
|
|
"${DATADIR}/icon.png" \
|
|
"${PORTNAME}" \
|
|
"Game;ArcadeGame;" \
|
|
false
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
${MKDIR} ${STAGEDIR}${DATADIR}/music
|
|
${INSTALL_DATA} ${TDATA}/config.cfg ${STAGEDIR}${DATADIR}
|
|
${INSTALL_DATA} ${TDATA}/tomatoes.mpk ${STAGEDIR}${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/icon.png ${STAGEDIR}${DATADIR}
|
|
${INSTALL_DATA} ${TDATA}/music/IHaveNoTomatoes.it ${STAGEDIR}${DATADIR}/music
|
|
|
|
.include <bsd.port.mk>
|