47dca63ab4
Volleyball is a simple sports game, starring two penguins. Is a two player game, and follows the basic rules of actual Volleyball. Each player hits the ball, trying to reach the opponents field. If the ball touches the floor of the opponents field, the player scores one point. WWW: http://www.losersjuegos.com.ar/juegos/volleyball/volleyball.php PR: ports/87175 Submitted by: Dmitry Marakasov <amdmi3@mail.ru>
35 lines
884 B
Makefile
35 lines
884 B
Makefile
# New ports collection makefile for: volleyball
|
|
# Date created: 09 Oct 2005
|
|
# Whom: Dmitry Marakasov <amdmi3@mail.ru>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= volleyball
|
|
PORTVERSION= 0.8
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://www.losersjuegos.com.ar/juegos/volleyball/descargas/
|
|
DISTNAME= ${PORTNAME}20051004
|
|
|
|
MAINTAINER= amdmi3@mail.ru
|
|
COMMENT= A game similar to GNU Arcade Volleyball
|
|
|
|
USE_SDL= sdl
|
|
USE_GMAKE= yes
|
|
MAKE_ARGS= CC="${CC}" CFLAGS="`${SDL_CONFIG} --cflags` ${CFLAGS}" \
|
|
LDFLAGS="`${SDL_CONFIG} --libs`"
|
|
ALL_TARGET= volleyball
|
|
USE_REINPLACE= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}/paso_8
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|ima/|${DATADIR}/|' ${WRKSRC}/*.c
|
|
@${REINPLACE_CMD} -e 's|^\([LDC]*FLAGS\)|#\1|' ${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/volleyball ${PREFIX}/bin/
|
|
${MKDIR} ${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/ima/* ${DATADIR}/
|
|
|
|
.include <bsd.port.mk>
|