2017-12-25 12:58:59 +00:00
|
|
|
PORTNAME= jumpnbump
|
2019-11-21 20:49:25 +00:00
|
|
|
PORTVERSION= 1.61
|
2020-09-08 21:53:20 +00:00
|
|
|
PORTREVISION= 1
|
2017-12-25 12:58:59 +00:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= https://gitlab.com/LibreGames/jumpnbump/repository/${PORTVERSION}/archive.tar.bz2?dummy=/
|
|
|
|
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
2019-11-21 20:49:25 +00:00
|
|
|
COMMENT= Play cute bunnies jumping on each other's heads #'
|
2017-12-25 12:58:59 +00:00
|
|
|
|
|
|
|
LICENSE= GPLv2+
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2019-11-21 21:10:39 +00:00
|
|
|
USES= compiler:c11 gettext-tools gmake sdl shebangfix tar:bzip2
|
2017-12-25 12:58:59 +00:00
|
|
|
SHEBANG_FILES= ${WRKSRC}/menu/jumpnbump_menu.py.pre
|
|
|
|
USE_SDL= sdl2 mixer2 net2
|
2019-11-21 20:49:25 +00:00
|
|
|
ALL_TARGET= all
|
|
|
|
INSTALL_TARGET= install
|
2017-12-25 12:58:59 +00:00
|
|
|
|
2019-11-21 20:49:25 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}-7a0a7ab7491680338bb13058adafdfaac03a1f6d
|
2017-12-25 12:58:59 +00:00
|
|
|
PORTDOCS= AUTHORS ChangeLog README.md
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= LAUNCHER DOCS NLS
|
|
|
|
OPTIONS_DEFAULT=LAUNCHER
|
|
|
|
OPTIONS_SUB= yes
|
|
|
|
|
|
|
|
LAUNCHER_DESC= Install pygtk launcher
|
2020-09-08 21:53:20 +00:00
|
|
|
LAUNCHER_USES= python:run
|
2019-11-21 20:49:25 +00:00
|
|
|
LAUNCHER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gobject3>0:devel/py-gobject3@${PY_FLAVOR}
|
|
|
|
LAUNCHER_ALL_TARGET= jnbmenu
|
|
|
|
LAUNCHER_INSTALL_TARGET=jnbmenuinstall
|
2017-12-25 12:58:59 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.for f in jnbpack gobpack jnbunpack jumpnbump
|
|
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${f}
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
post-install-DOCS-on:
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.for f in ${PORTDOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|