ports/122692: New port: games/cosmosmash - A clone of the Intellivision(TM) game Astrosmash(TM)

Ganael Laplanche ganael.laplanche at martymac.com
Sat Apr 12 13:00:08 UTC 2008


>Number:         122692
>Category:       ports
>Synopsis:       New port: games/cosmosmash - A clone of the Intellivision(TM) game Astrosmash(TM)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 12 13:00:07 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Ganael Laplanche
>Release:        7.0-STABLE
>Organization:
http://contribs.martymac.com
>Environment:
FreeBSD home.martymac.com 7.0-STABLE FreeBSD 7.0-STABLE #12: Wed Apr  2 20:57:23 CEST 2008     martymac at home.martymac.com:/usr/obj/usr/src/sys/MYKERNEL  amd64
>Description:
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).
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	cosmosmash
#	cosmosmash/pkg-descr
#	cosmosmash/pkg-plist
#	cosmosmash/distinfo
#	cosmosmash/Makefile
#
echo c - cosmosmash
mkdir -p cosmosmash > /dev/null 2>&1
echo x - cosmosmash/pkg-descr
sed 's/^X//' >cosmosmash/pkg-descr << 'END-of-cosmosmash/pkg-descr'
XCosmosmash is a game where you control a base that must destroy
Xrocks before they hit the ground, or you lose points. You must
Xalso prevent "spinners" from touching the ground, or your base
Xwill explode. This game is a clone of the 1981 Astrosmash(TM)
Xvideo game by Mattel Electronics(TM).
X
XWWW: http://sarrazip.com/dev/cosmosmash.html
END-of-cosmosmash/pkg-descr
echo x - cosmosmash/pkg-plist
sed 's/^X//' >cosmosmash/pkg-plist << 'END-of-cosmosmash/pkg-plist'
Xbin/cosmosmash
Xshare/applications/cosmosmash.desktop
Xshare/pixmaps/cosmosmash.png
X%%DATADIR%%/sounds/rock-hit-0.wav
X%%DATADIR%%/sounds/rock-hit-1.wav
X%%DATADIR%%/sounds/player-hit.wav
X%%DATADIR%%/sounds/pulsar-beep.wav
X%%DATADIR%%/sounds/saucer-shooting.wav
X%%DATADIR%%/sounds/hyperspace.wav
X at dirrm %%DATADIR%%/sounds
X at dirrm %%DATADIR%%
X%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
X%%PORTDOCS%%%%DOCSDIR%%/COPYING
X%%PORTDOCS%%%%DOCSDIR%%/INSTALL
X%%PORTDOCS%%%%DOCSDIR%%/NEWS
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%%%DOCSDIR%%/THANKS
X%%PORTDOCS%%%%DOCSDIR%%/TODO
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X at exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
X at unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
X at dirrmtry share/applications
END-of-cosmosmash/pkg-plist
echo x - cosmosmash/distinfo
sed 's/^X//' >cosmosmash/distinfo << 'END-of-cosmosmash/distinfo'
XMD5 (cosmosmash-1.4.2.tar.gz) = c9119db81dc67c312e9213a5394e6995
XSHA256 (cosmosmash-1.4.2.tar.gz) = b8e3b86fcfc15dd2f38f9c85e96a0c330e969ffee4beb0528f1f30efbc6bef99
XSIZE (cosmosmash-1.4.2.tar.gz) = 165362
END-of-cosmosmash/distinfo
echo x - cosmosmash/Makefile
sed 's/^X//' >cosmosmash/Makefile << 'END-of-cosmosmash/Makefile'
X# New ports collection makefile for: cosmosmash
X# Date created:                      12 Apr 2008
X# Whom:                              Ganael Laplanche <ganael.laplanche at martymac.com>
X#
X# $FreeBSD:$
X#
X
XPORTNAME=	cosmosmash
XDISTVERSION=	1.4.2
XCATEGORIES=	games
XMASTER_SITES=	http://perso.b2b2c.ca/sarrazip/dev/
X
XMAINTAINER=	ganael.laplanche at martymac.com
XCOMMENT=	A clone of the Intellivision(TM) game Astrosmash(TM)
X
XLIB_DEPENDS=	flatzebra:${PORTSDIR}/devel/flatzebra \
X		aa:${PORTSDIR}/graphics/aalib \
X		mikmod:${PORTSDIR}/audio/libmikmod \
X		audiofile:${PORTSDIR}/audio/libaudiofile
X
XUSE_SDL=	sdl image mixer
XUSE_XORG=	x11 xau xdmcp
XUSE_ICONV=	yes
XUSE_GNOME=	desktopfileutils
XGNU_CONFIGURE=	yes
XCONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include `${SDL_CONFIG} --cflags`" \
X		LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS} `${SDL_CONFIG} --libs`"
XCONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
X
XMAN6=	cosmosmash.6
X
Xpost-patch:
X	@${REINPLACE_CMD} 's|^pkgsounddir = .*|pkgsounddir = ${DATADIR}/sounds|' ${WRKSRC}/src/Makefile.in
X.if !defined(NOPORTDOCS)
X	@${REINPLACE_CMD} 's|^docdir = .*|docdir = ${DOCSDIR}|' ${WRKSRC}/Makefile.in
X.else
X	@${REINPLACE_CMD} 's|^install-data-am: .*|install-data-am: install-man|'	${WRKSRC}/Makefile.in
X.endif
X
Xpost-install:
X	@-update-desktop-database
X
X.include <bsd.port.mk>
END-of-cosmosmash/Makefile
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list