2013-06-17 15:27:58 +00:00
|
|
|
# Created by: Adam Weinberger <adamw@FreeBSD.org>
|
2005-02-08 00:07:49 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= tomatoes
|
|
|
|
PORTVERSION= 1.5
|
2013-01-23 15:00:18 +00:00
|
|
|
PORTREVISION= 14
|
2005-02-08 00:07:49 +00:00
|
|
|
CATEGORIES= games
|
2008-03-20 18:03:08 +00:00
|
|
|
MASTER_SITES= SF
|
2005-02-08 00:07:49 +00:00
|
|
|
DISTFILES= ${PORTNAME}-linux-src-${PORTVERSION}5${EXTRACT_SUFX} \
|
|
|
|
${PORTNAME}-linux-${PORTVERSION}${EXTRACT_SUFX}
|
|
|
|
|
2008-06-19 17:28:24 +00:00
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
2005-02-08 00:07:49 +00:00
|
|
|
COMMENT= Tomato-smashing, Q-Bert style
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/tomatoes-${PORTVERSION}5
|
|
|
|
TDATA= ${WRKDIR}/tomatoes-${PORTVERSION}
|
|
|
|
|
2005-06-27 00:32:56 +00:00
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_SDL= mixer image
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
USE_GL= gl
|
2013-10-18 01:20:48 +00:00
|
|
|
USES= gmake
|
2005-06-27 00:32:56 +00:00
|
|
|
MAKEFILE= makefile
|
|
|
|
MAKE_ARGS= CC="${CXX}" \
|
|
|
|
MPKDIR="${DATADIR}/" \
|
|
|
|
MUSICDIR="${DATADIR}/music/" \
|
|
|
|
HISCOREDIR="${DATADIR}/" \
|
|
|
|
CONFIGDIR="${DATADIR}/" \
|
|
|
|
CFLAGS="${CXXFLAGS} ${SDL_CFLAGS}" \
|
|
|
|
LDFLAGS="${SDL_LDFLAGS}"
|
2005-02-08 00:07:49 +00:00
|
|
|
|
2013-10-18 01:20:48 +00:00
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
PORTDATA= *
|
2005-02-14 07:18:37 +00:00
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
SDL_CFLAGS= `${SDL_CONFIG} --cflags` -I${LOCALBASE}/include
|
2005-06-27 00:32:56 +00:00
|
|
|
SDL_LDFLAGS= `${SDL_CONFIG} --libs` -lSDL_image -lSDL_mixer \
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
-L${LOCALBASE}/lib -lGL -lGLU
|
2005-06-27 00:32:56 +00:00
|
|
|
|
2013-10-18 01:20:48 +00:00
|
|
|
DESKTOP_ENTRIES="Tomatoes" \
|
|
|
|
"${COMMENT}" \
|
|
|
|
"${DATADIR}/icon.png" \
|
|
|
|
"${PORTNAME}" \
|
|
|
|
"Game;ArcadeGame;" \
|
|
|
|
false
|
2005-06-27 00:32:56 +00:00
|
|
|
|
2005-02-08 00:07:49 +00:00
|
|
|
do-install:
|
2013-10-18 01:20:48 +00:00
|
|
|
${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>
|