Index: head/games/funnyboat/pkg-plist =================================================================== --- head/games/funnyboat/pkg-plist (revision 548099) +++ head/games/funnyboat/pkg-plist (nonexistent) @@ -1,50 +0,0 @@ -bin/funnyboat -lib/funnyboat/PixelPerfect.py -lib/funnyboat/cannonball.py -lib/funnyboat/cloud.py -lib/funnyboat/data/JDruid-Trip_on_the_Funny_Boat.ogg -lib/funnyboat/data/Vera.ttf -lib/funnyboat/data/blub.ogg -lib/funnyboat/data/cloud1.png -lib/funnyboat/data/cloud2.png -lib/funnyboat/data/cloud3.png -lib/funnyboat/data/cloud4.png -lib/funnyboat/data/hai.png -lib/funnyboat/data/kraah.ogg -lib/funnyboat/data/kuti.png -lib/funnyboat/data/kuvake.png -lib/funnyboat/data/laiva.png -lib/funnyboat/data/logo.png -lib/funnyboat/data/lokki1.png -lib/funnyboat/data/lokki2.png -lib/funnyboat/data/lokki3.png -lib/funnyboat/data/merkkari.png -lib/funnyboat/data/miina.png -lib/funnyboat/data/pam.ogg -lib/funnyboat/data/poks.ogg -lib/funnyboat/data/rasteri.png -lib/funnyboat/data/sydan-rikki.png -lib/funnyboat/data/sydan-tyhja.png -lib/funnyboat/data/sydan.png -lib/funnyboat/data/taivas.png -lib/funnyboat/data/titanic.png -lib/funnyboat/enemy.py -lib/funnyboat/game.py -lib/funnyboat/health.py -lib/funnyboat/highscores.py -lib/funnyboat/level.py -lib/funnyboat/locals.py -lib/funnyboat/main.py -lib/funnyboat/menu.py -lib/funnyboat/mine.py -lib/funnyboat/options.py -lib/funnyboat/particles.py -lib/funnyboat/pirateboat.py -lib/funnyboat/powerup.py -lib/funnyboat/score.py -lib/funnyboat/seagull.py -lib/funnyboat/shark.py -lib/funnyboat/steamboat.py -lib/funnyboat/titanic.py -lib/funnyboat/util.py -lib/funnyboat/water.py Property changes on: head/games/funnyboat/pkg-plist ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/games/funnyboat/Makefile =================================================================== --- head/games/funnyboat/Makefile (revision 548099) +++ head/games/funnyboat/Makefile (revision 548100) @@ -1,45 +1,42 @@ # Created by: Dmitry Marakasov # $FreeBSD$ PORTNAME= funnyboat -PORTVERSION= 1.5 -PORTREVISION= 10 +PORTVERSION= 1.6 CATEGORIES= games -MASTER_SITES= SF -DISTNAME= ${PORTNAME}-${PORTVERSION}-src MAINTAINER= amdmi3@FreeBSD.org COMMENT= Side scrolling shooter game starring a steamboat on the sea LICENSE= GPLv2 MIT LICENSE_COMB= multi LICENSE_FILE_GPLv2= ${WRKSRC}/LICENSE-CODE.txt LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MEDIA.txt -DEPRECATED= Uses deprecated version of python -EXPIRATION_DATE= 2020-09-15 +USE_GITHUB= yes +GH_ACCOUNT= AMDmi3 RUN_DEPENDS= ${PYGAME} -WRKSRC= ${WRKDIR}/${PORTNAME} - -USES= python:2.7,run zip +USES= python:run NO_BUILD= yes NO_ARCH= yes -SUB_FILES= funnyboat_ -SUB_LIST= PROGRAM_DIR="${PREFIX}/lib/${PORTNAME}" PYTHON_CMD="${PYTHON_CMD}" +SUB_FILES= funnyboat.sh +SUB_LIST= DATADIR="${DATADIR}" PYTHON_CMD="${PYTHON_CMD}" PORTDOCS= * +PORTDATA= * +PLIST_FILES= bin/funnyboat OPTIONS_DEFINE= DOCS do-install: - @cd ${WRKSRC} && ${COPYTREE_SHARE} "*.py data" ${STAGEDIR}${PREFIX}/lib/${PORTNAME} - ${INSTALL_SCRIPT} ${WRKDIR}/funnyboat_ ${STAGEDIR}${PREFIX}/bin/funnyboat + @cd ${WRKSRC} && ${COPYTREE_SHARE} "*.py data" ${STAGEDIR}${DATADIR} + ${INSTALL_SCRIPT} ${WRKDIR}/funnyboat.sh ${STAGEDIR}${PREFIX}/bin/funnyboat do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/ ${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}/ .include Index: head/games/funnyboat/distinfo =================================================================== --- head/games/funnyboat/distinfo (revision 548099) +++ head/games/funnyboat/distinfo (revision 548100) @@ -1,2 +1,3 @@ -SHA256 (funnyboat-1.5-src.zip) = de001d17f0e380df89bf5000392db75b385851a3cd200b3b87a8a9b66502f016 -SIZE (funnyboat-1.5-src.zip) = 3839990 +TIMESTAMP = 1599600731 +SHA256 (AMDmi3-funnyboat-1.6_GH0.tar.gz) = 5ec1d2b1a6bf14015c2792a6d9715edf8aeb03ac4d86c640b99882d2d9b95ed8 +SIZE (AMDmi3-funnyboat-1.6_GH0.tar.gz) = 3822458 Index: head/games/funnyboat/files/funnyboat_.in =================================================================== --- head/games/funnyboat/files/funnyboat_.in (revision 548099) +++ head/games/funnyboat/files/funnyboat_.in (nonexistent) @@ -1,16 +0,0 @@ -#!%%PYTHON_CMD%% - -import sys -import os.path - -#Program path -package_dir = os.path.join("%%PROGRAM_DIR%%") - -#Change current work directory -os.chdir(package_dir) - -#Add package_dir to python path -sys.path.append(package_dir) - -#Launch the program! -execfile(os.path.join(package_dir, "main.py")) Property changes on: head/games/funnyboat/files/funnyboat_.in ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/games/funnyboat/files/funnyboat.sh.in =================================================================== --- head/games/funnyboat/files/funnyboat.sh.in (nonexistent) +++ head/games/funnyboat/files/funnyboat.sh.in (revision 548100) @@ -0,0 +1,3 @@ +#!/bin/sh + +cd %%DATADIR%% && exec %%PYTHON_CMD%% main.py "$@" Property changes on: head/games/funnyboat/files/funnyboat.sh.in ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/games/funnyboat/pkg-descr =================================================================== --- head/games/funnyboat/pkg-descr (revision 548099) +++ head/games/funnyboat/pkg-descr (revision 548100) @@ -1,8 +1,9 @@ Trip on the Funny Boat is side scrolling arcade shooter game on a steamboat equipped with a cannon and the ability to jump. The player will need to take advantage of waves to defeat the enemies and dodge hazards. This game was originally made for the second PyWeek competition during the week from 25.3.2006 to 2.4.2006. -WWW: http://funnyboat.sourceforge.net +WWW: https://funnyboat.sourceforge.net/ +WWW: https://github.com/AMDmi3/funnyboat