diff options
Diffstat (limited to 'games')
-rw-r--r-- | games/Makefile | 1 | ||||
-rw-r--r-- | games/bomns3/Makefile | 51 | ||||
-rw-r--r-- | games/bomns3/distinfo | 2 | ||||
-rw-r--r-- | games/bomns3/files/bomns3.in | 7 | ||||
-rw-r--r-- | games/bomns3/pkg-descr | 5 | ||||
-rw-r--r-- | games/bomns3/pkg-plist | 7 |
6 files changed, 73 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile index 05c99cb69caf..c0816bf2682a 100644 --- a/games/Makefile +++ b/games/Makefile @@ -96,6 +96,7 @@ SUBDIR += bombherman SUBDIR += bombz SUBDIR += bomns + SUBDIR += bomns3 SUBDIR += boswars SUBDIR += bouncy SUBDIR += bovo diff --git a/games/bomns3/Makefile b/games/bomns3/Makefile new file mode 100644 index 000000000000..4ee4200f8c48 --- /dev/null +++ b/games/bomns3/Makefile @@ -0,0 +1,51 @@ +# Created by: Rusmir Dusko <nemysis@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= bomns3 +PORTVERSION= 0.0.0 +CATEGORIES= games + +MAINTAINER= nemysis@FreeBSD.org +COMMENT= Old-school bomb-dropping Deathmatch + +LICENSE= GPLv3 + +BUILD_DEPENDS= valac:${PORTSDIR}/lang/vala +LIB_DEPENDS= libgee-0.8.so:${PORTSDIR}/devel/libgee +RUN_DEPENDS= dejavu>0:${PORTSDIR}/x11-fonts/dejavu + +USE_GITHUB= yes +GH_ACCOUNT= chazomaticus +GH_PROJECT= bomns3 +GH_TAGNAME= ${GH_COMMIT} +GH_COMMIT= 16611e5 + +USES= gmake pkgconfig +USE_SDL= image mixer sdl ttf +USE_GNOME= glib20 + +PORTDOCS= AUTHORS README.md +OPTIONS_DEFINE= DOCS + +SUB_FILES= ${PORTNAME} + +DESKTOP_ENTRIES="Bomns3" "" "${PORTNAME}" \ + "${PORTNAME}" "Game;ArcadeGame;" "" + +post-patch: + @${REINPLACE_CMD} -e \ + 's|/usr/share/fonts/truetype/ttf-dejavu/|${LOCALBASE}/lib/X11/fonts/dejavu/|' \ + ${WRKSRC}/src/sdl/common.vala + @${REINPLACE_CMD} -e 's|gee-1.0|gee-0.8|' ${WRKSRC}/Makefile + +do-install: + ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ + @(cd ${WRKSRC} && ${COPYTREE_SHARE} gfx ${STAGEDIR}${DATADIR}) + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${DATADIR} + ${LN} -sf ${DATADIR}/gfx/bomns3-icon.png \ + ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png + + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + +.include <bsd.port.mk> diff --git a/games/bomns3/distinfo b/games/bomns3/distinfo new file mode 100644 index 000000000000..1dae26045742 --- /dev/null +++ b/games/bomns3/distinfo @@ -0,0 +1,2 @@ +SHA256 (bomns3-0.0.0.tar.gz) = a5af7c4ebeaa15f50c53a7f1e2b64fbaa298538a84dbc6d370f351856c785d46 +SIZE (bomns3-0.0.0.tar.gz) = 49196 diff --git a/games/bomns3/files/bomns3.in b/games/bomns3/files/bomns3.in new file mode 100644 index 000000000000..30fbad74b85b --- /dev/null +++ b/games/bomns3/files/bomns3.in @@ -0,0 +1,7 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +cd "%%DATADIR%%" +exec ./bomns3 "${@}" diff --git a/games/bomns3/pkg-descr b/games/bomns3/pkg-descr new file mode 100644 index 000000000000..55db4e191cf1 --- /dev/null +++ b/games/bomns3/pkg-descr @@ -0,0 +1,5 @@ +Bomns3 is an old-school arcade-style tile-based bomb-dropping deathmatch jam. +It's still in alpha at this point, so check back as things get fleshed +out a little more. + +WWW: http://chazomaticus.github.io/bomns3/ diff --git a/games/bomns3/pkg-plist b/games/bomns3/pkg-plist new file mode 100644 index 000000000000..af6b6795c789 --- /dev/null +++ b/games/bomns3/pkg-plist @@ -0,0 +1,7 @@ +bin/bomns3 +%%DATADIR%%/bomns3 +%%DATADIR%%/gfx/bomns3-icon.png +%%DATADIR%%/gfx/sprites.png +share/pixmaps/bomns3.png +@dirrm %%DATADIR%%/gfx +@dirrm %%DATADIR%% |