2013-12-17 14:42:42 +01:00
|
|
|
PORTNAME= blobwars
|
2015-12-01 19:44:25 +01:00
|
|
|
PORTVERSION= 2.00
|
2013-12-17 14:42:42 +01:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= SF/${PORTNAME}/
|
|
|
|
|
2018-06-26 19:06:33 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-12-17 14:42:42 +01:00
|
|
|
COMMENT= Mission and Objective based 2D Platform Game
|
2022-09-07 23:06:12 +02:00
|
|
|
WWW= https://www.parallelrealities.co.uk/p/blob-wars-metal-blob-solid.html
|
2013-12-17 14:42:42 +01:00
|
|
|
|
2016-09-28 08:38:00 +02:00
|
|
|
LICENSE= GPLv2+ CC-BY-3.0 CC-BY-SA-3.0
|
|
|
|
LICENSE_COMB= multi
|
|
|
|
LICENSE_FILE_GPLv2+ = ${WRKSRC}/doc/license
|
2013-12-17 14:42:42 +01:00
|
|
|
|
2019-11-08 11:47:01 +01:00
|
|
|
USES= gmake gnome pkgconfig sdl
|
2015-12-01 19:44:25 +01:00
|
|
|
USE_SDL= image2 mixer2 net2 sdl2 ttf2
|
2013-12-17 14:42:42 +01:00
|
|
|
|
2015-12-01 19:44:25 +01:00
|
|
|
PORTDOCS= *
|
2013-12-17 14:42:42 +01:00
|
|
|
|
|
|
|
OPTIONS_DEFINE= DOCS NLS
|
|
|
|
OPTIONS_SUB= yes
|
|
|
|
|
|
|
|
NLS_USES= gettext
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} \
|
2015-12-01 19:44:25 +01:00
|
|
|
-e 's|%%LOCALBASE%%|${LOCALBASE}|' \
|
|
|
|
${WRKSRC}/Makefile
|
|
|
|
|
2018-03-13 15:40:09 +01:00
|
|
|
post-patch-DOCS-off:
|
2015-12-01 19:44:25 +01:00
|
|
|
@${REINPLACE_CMD} \
|
2018-03-13 15:40:09 +01:00
|
|
|
-e 's|mkdir -p $$(DESTDIR)$$(DOCDIR)|| ; \
|
|
|
|
s|cp -p $$(DOCS) $$(DESTDIR)$$(DOCDIR)||' \
|
|
|
|
${WRKSRC}/Makefile
|
2013-12-17 14:42:42 +01:00
|
|
|
|
2018-03-13 15:40:09 +01:00
|
|
|
post-patch-NLS-off:
|
2013-12-17 14:42:42 +01:00
|
|
|
@${REINPLACE_CMD} -i '' -e '/LOCALE_MO =/d' \
|
2015-12-01 19:44:25 +01:00
|
|
|
${WRKSRC}/Makefile
|
2013-12-17 14:42:42 +01:00
|
|
|
|
|
|
|
post-install:
|
2018-12-07 10:31:28 +01:00
|
|
|
@${LN} -sf ../icons/hicolor/48x48/apps/${PORTNAME}.png \
|
2013-12-17 14:42:42 +01:00
|
|
|
${STAGEDIR}${PREFIX}/share/pixmaps/
|
2018-12-07 10:31:28 +01:00
|
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
2013-12-17 14:42:42 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|