diff --git a/games/Makefile b/games/Makefile index 87fa3fd58a7d..0a37e5fba390 100644 --- a/games/Makefile +++ b/games/Makefile @@ -581,6 +581,7 @@ SUBDIR += vectoroids SUBDIR += virt SUBDIR += viruskiller + SUBDIR += volleyball SUBDIR += vor SUBDIR += wanderer SUBDIR += wargus diff --git a/games/volleyball/Makefile b/games/volleyball/Makefile new file mode 100644 index 000000000000..872427606ce2 --- /dev/null +++ b/games/volleyball/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: volleyball +# Date created: 09 Oct 2005 +# Whom: Dmitry Marakasov +# +# $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 diff --git a/games/volleyball/distinfo b/games/volleyball/distinfo new file mode 100644 index 000000000000..ac6b20d1c4a9 --- /dev/null +++ b/games/volleyball/distinfo @@ -0,0 +1,2 @@ +MD5 (volleyball20051004.tar.gz) = ecb73928e6102d8a6788a98b7c631495 +SIZE (volleyball20051004.tar.gz) = 366477 diff --git a/games/volleyball/pkg-descr b/games/volleyball/pkg-descr new file mode 100644 index 000000000000..dd76fc1985c8 --- /dev/null +++ b/games/volleyball/pkg-descr @@ -0,0 +1,9 @@ +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 + +- Dmitry Marakasov diff --git a/games/volleyball/pkg-plist b/games/volleyball/pkg-plist new file mode 100644 index 000000000000..5ea96c83b797 --- /dev/null +++ b/games/volleyball/pkg-plist @@ -0,0 +1,8 @@ +bin/volleyball +%%DATADIR%%/LICENSE-KIND.FILES +%%DATADIR%%/fondo.bmp +%%DATADIR%%/fuente.bmp +%%DATADIR%%/pelota.bmp +%%DATADIR%%/personaje_1.bmp +%%DATADIR%%/personaje_2.bmp +@dirrm %%DATADIR%%