games/bombherman
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
games/connectagram
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
- Break lines around 80 characters
games/cretan-hubris
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
games/fbg2
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
games/gottet
- Transfer maintainership to games@ team
games/gtkatlantic
- Simplify master site
- Use tar.gz instead of tar.bz2
- Transfer maintainership to games@ team
- Don't silence warnings
- Set PORTSCOUT, Upstream use GTK3 in newer Versions
games/kye
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
games/madbomber
- Transfer maintainership to games@ team
games/megamario
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
- Add fixes_v1.7.txt to DOCS
games/nelly
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
- Cosmetical changes
games/oneisenough
- Transfer maintainership to games@ team
- USES shebangfix and SHEBANG_FILES instead of REINPLACE
- Simplify installation handling
games/patapizza-tetris
- Transfer maintainership to games@ team
games/puckman
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
games/pycadia
- Transfer maintainership to games@ team
games/pyspacewar
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
- Remove TODO.txt from DOCS
games/simsu
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
- Use tar:bzip2 instead of USE_BZIP2=yes
games/smashbattle
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
games/syobon
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
games/tanglet
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
- Use tar:bzip2 instead of USE_BZIP2=yes
games/thegrind
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
2014-05-05 22:02:09 +00:00
|
|
|
# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
|
2012-10-11 05:33:04 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= smashbattle
|
|
|
|
PORTVERSION= 110224
|
2014-12-08 16:48:38 +00:00
|
|
|
PORTREVISION= 3
|
2012-10-11 05:33:04 +00:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/beta-${PORTVERSION}
|
|
|
|
DISTNAME= ${PORTNAME}-${DISTVERSION}-src
|
|
|
|
|
2014-10-31 16:11:33 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2012-10-11 05:33:04 +00:00
|
|
|
COMMENT= 8-bit style platform battle game
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/battle/Battle
|
|
|
|
|
|
|
|
EXTRACT_AFTER_ARGS= -d ${WRKDIR}/${DISTNAME}
|
2014-06-06 15:26:41 +00:00
|
|
|
USES= dos2unix gmake zip
|
2014-02-13 13:00:37 +00:00
|
|
|
DOS2UNIX_FILES= *.cpp *.h Makefile
|
2013-09-24 22:49:33 +00:00
|
|
|
USE_SDL= sdl image mixer
|
2012-10-11 05:33:04 +00:00
|
|
|
ALL_TARGET= battle
|
|
|
|
|
|
|
|
pre-extract:
|
|
|
|
@${MKDIR} ${WRKDIR}/${DISTNAME}
|
|
|
|
|
|
|
|
SUB_FILES= ${PORTNAME}
|
|
|
|
|
|
|
|
post-patch:
|
2014-02-13 13:00:37 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|CC=|CC?=|; \
|
|
|
|
s|CFLAGS=-c -Wall|CFLAGS += $$(shell sdl-config --cflags) -c -Wall|; \
|
2014-01-13 23:50:44 +00:00
|
|
|
s|LDFLAGS=-lSDL -lSDL_mixer -lz -lstdc++|LDFLAGS += $$(shell $${SDL_CONFIG} --libs) -lSDL -lSDL_mixer -lz -lstdc++ -lm|' \
|
2013-09-24 22:49:33 +00:00
|
|
|
${WRKSRC}/Makefile
|
2014-02-13 13:00:37 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|/usr/share/games/smashbattle/gfx/SB.png|${PORTNAME}|; \
|
2014-01-13 23:50:44 +00:00
|
|
|
s|/usr/local/bin/smashbattle|${PORTNAME}|' \
|
2013-09-24 22:49:33 +00:00
|
|
|
${WRKSRC}/linux/*.desktop
|
2012-10-11 05:33:04 +00:00
|
|
|
|
|
|
|
do-install:
|
2014-01-13 23:50:44 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
|
|
|
|
.for d in gfx music sfx stage
|
|
|
|
@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR})
|
|
|
|
.endfor
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/battle ${STAGEDIR}${DATADIR}/${PORTNAME}
|
|
|
|
${LN} -sf ${DATADIR}/gfx/SB.png \
|
|
|
|
${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/linux/*.desktop ${STAGEDIR}${DESKTOPDIR}
|
2012-10-11 05:33:04 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|