From d15dc3157a019ab938ab315e983769329dbd6bd6 Mon Sep 17 00:00:00 2001 From: jgh Date: Tue, 9 Oct 2012 23:56:53 +0000 Subject: - add new port: games/bombherman A Bomberman clone written in C++, student project for SUPINFO, France WWW: https://github.com/Keruspe/Bomb-her-man PR: 167973 Submitted by: nemysis@gmx.ch --- games/bombherman/Makefile | 73 +++++++++++++++++++++++++++++++++++++++++++ games/bombherman/distinfo | 4 +++ games/bombherman/pkg-descr | 3 ++ games/bombherman/pkg-plist | 78 ++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 158 insertions(+) create mode 100644 games/bombherman/Makefile create mode 100644 games/bombherman/distinfo create mode 100644 games/bombherman/pkg-descr create mode 100644 games/bombherman/pkg-plist (limited to 'games/bombherman') diff --git a/games/bombherman/Makefile b/games/bombherman/Makefile new file mode 100644 index 000000000000..7999a0c0a574 --- /dev/null +++ b/games/bombherman/Makefile @@ -0,0 +1,73 @@ +# Created by: nemysis@gmx.ch +# +# $FreeBSD$ + +PORTNAME= bomb-her-man +PORTVERSION= 0.3 +CATEGORIES= games +MASTER_SITES= GH \ + SF/nemysisfreebsdp/:icons +DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \ + ${PORTNAME}_icons.tar.gz:icons + +MAINTAINER= nemysis@gmx.ch +COMMENT= Bomberman clone written in C++ + +LICENSE= GPLv3 + +BUILD_DEPENDS= automake:${PORTSDIR}/devel/automake \ + p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser +LIB_DEPENDS= cairo:${PORTSDIR}/graphics/cairo + +USE_GITHUB= yes +GH_ACCOUNT= Keruspe +GH_PROJECT= Bomb-her-man +GH_TAGNAME= master +GH_COMMIT= 8f5aa22 + +USE_SDL= sdl image mixer ttf +USE_GNOME= intltool librsvg2 +GNU_CONFIGURE= yes +AUTOMAKE_ARGS= --add-missing +USE_GMAKE= yes +ALL_TARGET= # empty +MAKE_JOBS_SAFE= yes + +CFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib + +PORTDOCS= AUTHORS ChangeLog NEWS README + +DESKTOP_ENTRIES="Bomb-her-man" "${COMMENT}" "${PORTNAME}_48.png" \ + "${PORTNAME}" "Game;ArcadeGame;" ${FALSE} + +OPTIONS_DEFINE= NLS +OPTIONS_DEFAULT= NLS + +.include + +.if ${PORT_OPTIONS:MNLS} +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS+= --disable-nls +PLIST_SUB+= NLS="@comment " +.endif + +pre-configure: + @(cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./autogen.sh) + +.if ${PORT_OPTIONS:MNLS} + @${REINPLACE_CMD} -e 's|itlocaledir = $$(prefix)/$$(DATADIRNAME)/locale|itlocaledir = $$(prefix)/share/locale|' \ + ${WRKSRC}/po/Makefile.in.in +.endif + +post-install: + ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}*.png ${PREFIX}/share/pixmaps + +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} +.endif + +.include diff --git a/games/bombherman/distinfo b/games/bombherman/distinfo new file mode 100644 index 000000000000..20c698c8af1a --- /dev/null +++ b/games/bombherman/distinfo @@ -0,0 +1,4 @@ +SHA256 (bomb-her-man-0.3.tar.gz) = 6ccf847f7452afaec664ee6f0dae50895ed7138bfc27479254e539d56b8cca9c +SIZE (bomb-her-man-0.3.tar.gz) = 2019211 +SHA256 (bomb-her-man_icons.tar.gz) = b2a402bd226ccb324c0b9dbe24540da99880409ca2d2e862725eb08120c02978 +SIZE (bomb-her-man_icons.tar.gz) = 29696 diff --git a/games/bombherman/pkg-descr b/games/bombherman/pkg-descr new file mode 100644 index 000000000000..c63d0eed6895 --- /dev/null +++ b/games/bombherman/pkg-descr @@ -0,0 +1,3 @@ +A Bomberman clone written in C++, student project for SUPINFO, France + +WWW: https://github.com/Keruspe/Bomb-her-man diff --git a/games/bombherman/pkg-plist b/games/bombherman/pkg-plist new file mode 100644 index 000000000000..cefb2c7593ca --- /dev/null +++ b/games/bombherman/pkg-plist @@ -0,0 +1,78 @@ +bin/bomb-her-man +%%DATADIR%%/biolinum.ttf +%%DATADIR%%/graphics/background.svg +%%DATADIR%%/graphics/barrel.svg +%%DATADIR%%/graphics/bomb-her-man.svg +%%DATADIR%%/graphics/bomb.svg +%%DATADIR%%/graphics/bonuses/1.svg +%%DATADIR%%/graphics/bonuses/2.svg +%%DATADIR%%/graphics/bonuses/3.svg +%%DATADIR%%/graphics/bonuses/4.svg +%%DATADIR%%/graphics/bonuses/5.svg +%%DATADIR%%/graphics/bonuses/6.svg +%%DATADIR%%/graphics/explosion.svg +%%DATADIR%%/graphics/floor.svg +%%DATADIR%%/graphics/players/1/0/0.svg +%%DATADIR%%/graphics/players/1/0/1.svg +%%DATADIR%%/graphics/players/1/0/2.svg +%%DATADIR%%/graphics/players/1/0/3.svg +%%DATADIR%%/graphics/players/1/1/0.svg +%%DATADIR%%/graphics/players/1/1/1.svg +%%DATADIR%%/graphics/players/1/1/2.svg +%%DATADIR%%/graphics/players/1/1/3.svg +%%DATADIR%%/graphics/players/1/2/0.svg +%%DATADIR%%/graphics/players/1/2/1.svg +%%DATADIR%%/graphics/players/1/2/2.svg +%%DATADIR%%/graphics/players/1/2/3.svg +%%DATADIR%%/graphics/players/1/3/0.svg +%%DATADIR%%/graphics/players/1/3/1.svg +%%DATADIR%%/graphics/players/1/3/2.svg +%%DATADIR%%/graphics/players/1/3/3.svg +%%DATADIR%%/graphics/players/2/0/0.svg +%%DATADIR%%/graphics/players/2/0/1.svg +%%DATADIR%%/graphics/players/2/0/2.svg +%%DATADIR%%/graphics/players/2/0/3.svg +%%DATADIR%%/graphics/players/2/1/0.svg +%%DATADIR%%/graphics/players/2/1/1.svg +%%DATADIR%%/graphics/players/2/1/2.svg +%%DATADIR%%/graphics/players/2/1/3.svg +%%DATADIR%%/graphics/players/2/2/0.svg +%%DATADIR%%/graphics/players/2/2/1.svg +%%DATADIR%%/graphics/players/2/2/2.svg +%%DATADIR%%/graphics/players/2/2/3.svg +%%DATADIR%%/graphics/players/2/3/0.svg +%%DATADIR%%/graphics/players/2/3/1.svg +%%DATADIR%%/graphics/players/2/3/2.svg +%%DATADIR%%/graphics/players/2/3/3.svg +%%DATADIR%%/graphics/scores/1/equal.svg +%%DATADIR%%/graphics/scores/1/lose.svg +%%DATADIR%%/graphics/scores/1/win.svg +%%DATADIR%%/graphics/scores/2/equal.svg +%%DATADIR%%/graphics/scores/2/lose.svg +%%DATADIR%%/graphics/scores/2/win.svg +%%DATADIR%%/graphics/scores/background-horizontal.svg +%%DATADIR%%/graphics/scores/background-vertical.svg +%%DATADIR%%/graphics/tomb1.svg +%%DATADIR%%/graphics/tomb2.svg +%%NLS%%share/locale/fr/LC_MESSAGES/bomb-her-man.mo +share/pixmaps/bomb-her-man_48.png +share/pixmaps/bomb-her-man_64.png +share/pixmaps/bomb-her-man_72.png +share/pixmaps/bomb-her-man_96.png +@dirrm %%DATADIR%%/graphics/scores/2 +@dirrm %%DATADIR%%/graphics/scores/1 +@dirrm %%DATADIR%%/graphics/scores +@dirrm %%DATADIR%%/graphics/players/2/3 +@dirrm %%DATADIR%%/graphics/players/2/2 +@dirrm %%DATADIR%%/graphics/players/2/1 +@dirrm %%DATADIR%%/graphics/players/2/0 +@dirrm %%DATADIR%%/graphics/players/2 +@dirrm %%DATADIR%%/graphics/players/1/3 +@dirrm %%DATADIR%%/graphics/players/1/2 +@dirrm %%DATADIR%%/graphics/players/1/1 +@dirrm %%DATADIR%%/graphics/players/1/0 +@dirrm %%DATADIR%%/graphics/players/1 +@dirrm %%DATADIR%%/graphics/players +@dirrm %%DATADIR%%/graphics/bonuses +@dirrm %%DATADIR%%/graphics +@dirrm %%DATADIR%% -- cgit