mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
Cosmosmash is a game where you control a base that must destroy
rocks before they hit the ground, or you lose points. You must also prevent "spinners" from touching the ground, or your base will explode. This game is a clone of the 1981 Astrosmash(TM) video game by Mattel Electronics(TM). WWW: http://sarrazip.com/dev/cosmosmash.html PR: ports/122692 Submitted by: Ganael Laplanche <ganael.laplanche at martymac.com>
This commit is contained in:
parent
4279099b76
commit
9da1deab80
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=212780
@ -133,6 +133,7 @@
|
||||
SUBDIR += construo
|
||||
SUBDIR += corewars
|
||||
SUBDIR += cosmo
|
||||
SUBDIR += cosmosmash
|
||||
SUBDIR += cowsay
|
||||
SUBDIR += crack-attack
|
||||
SUBDIR += crafty
|
||||
|
43
games/cosmosmash/Makefile
Normal file
43
games/cosmosmash/Makefile
Normal file
@ -0,0 +1,43 @@
|
||||
# New ports collection makefile for: cosmosmash
|
||||
# Date created: 12 Apr 2008
|
||||
# Whom: Ganael Laplanche <ganael.laplanche@martymac.com>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= cosmosmash
|
||||
DISTVERSION= 1.4.2
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= http://perso.b2b2c.ca/sarrazip/dev/
|
||||
|
||||
MAINTAINER= ganael.laplanche@martymac.com
|
||||
COMMENT= A clone of the Intellivision(TM) game Astrosmash(TM)
|
||||
|
||||
LIB_DEPENDS= flatzebra:${PORTSDIR}/devel/flatzebra \
|
||||
aa:${PORTSDIR}/graphics/aalib \
|
||||
mikmod:${PORTSDIR}/audio/libmikmod \
|
||||
audiofile:${PORTSDIR}/audio/libaudiofile
|
||||
|
||||
USE_SDL= sdl image mixer
|
||||
USE_XORG= x11 xau xdmcp
|
||||
USE_ICONV= yes
|
||||
USE_GNOME= desktopfileutils
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include `${SDL_CONFIG} --cflags`" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS} `${SDL_CONFIG} --libs`"
|
||||
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
||||
|
||||
MAN6= cosmosmash.6
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} 's|^pkgsounddir = .*|pkgsounddir = ${DATADIR}/sounds|' ${WRKSRC}/src/Makefile.in
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${REINPLACE_CMD} 's|^docdir = .*|docdir = ${DOCSDIR}|' ${WRKSRC}/Makefile.in
|
||||
.else
|
||||
@${REINPLACE_CMD} 's|^install-data-am: .*|install-data-am: install-man|' ${WRKSRC}/Makefile.in
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@-update-desktop-database
|
||||
|
||||
.include <bsd.port.mk>
|
3
games/cosmosmash/distinfo
Normal file
3
games/cosmosmash/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (cosmosmash-1.4.2.tar.gz) = c9119db81dc67c312e9213a5394e6995
|
||||
SHA256 (cosmosmash-1.4.2.tar.gz) = b8e3b86fcfc15dd2f38f9c85e96a0c330e969ffee4beb0528f1f30efbc6bef99
|
||||
SIZE (cosmosmash-1.4.2.tar.gz) = 165362
|
7
games/cosmosmash/pkg-descr
Normal file
7
games/cosmosmash/pkg-descr
Normal file
@ -0,0 +1,7 @@
|
||||
Cosmosmash is a game where you control a base that must destroy
|
||||
rocks before they hit the ground, or you lose points. You must
|
||||
also prevent "spinners" from touching the ground, or your base
|
||||
will explode. This game is a clone of the 1981 Astrosmash(TM)
|
||||
video game by Mattel Electronics(TM).
|
||||
|
||||
WWW: http://sarrazip.com/dev/cosmosmash.html
|
22
games/cosmosmash/pkg-plist
Normal file
22
games/cosmosmash/pkg-plist
Normal file
@ -0,0 +1,22 @@
|
||||
bin/cosmosmash
|
||||
share/applications/cosmosmash.desktop
|
||||
share/pixmaps/cosmosmash.png
|
||||
%%DATADIR%%/sounds/rock-hit-0.wav
|
||||
%%DATADIR%%/sounds/rock-hit-1.wav
|
||||
%%DATADIR%%/sounds/player-hit.wav
|
||||
%%DATADIR%%/sounds/pulsar-beep.wav
|
||||
%%DATADIR%%/sounds/saucer-shooting.wav
|
||||
%%DATADIR%%/sounds/hyperspace.wav
|
||||
@dirrm %%DATADIR%%/sounds
|
||||
@dirrm %%DATADIR%%
|
||||
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/COPYING
|
||||
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
|
||||
%%PORTDOCS%%%%DOCSDIR%%/NEWS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%%%DOCSDIR%%/THANKS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/TODO
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
|
||||
@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
|
||||
@dirrmtry share/applications
|
Loading…
Reference in New Issue
Block a user