- Bump portrevision
- Change maintainer email gmx.ch --> FreeBSD.org - Change COMMENT - Add USE_GCC=yes - Add icon and Desktop entry file - Add DOCS Option - Remove unneeded comments and mute dir install - Switch to statical pkg-plist Approved by: wg/pawel (mentors)
This commit is contained in:
parent
67bb853a59
commit
8cdaf19a99
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=328221
3 changed files with 65 additions and 22 deletions
|
@ -1,46 +1,47 @@
|
|||
# Created by: nemysis@gmx.ch
|
||||
# Created by: nemysis <nemysis@gmx.ch>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= syobon
|
||||
PORTVERSION= 1.0.1
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= http://download.zapek.com/software/${PORTNAME}/
|
||||
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
||||
EXTRACT_SUFX= _src.tar.gz
|
||||
MASTER_SITES= http://download.zapek.com/software/${PORTNAME}/ \
|
||||
SF/nemysisfreebsdp/:icons
|
||||
DISTFILES= ${PORTNAME}_${DISTVERSION}_src${EXTRACT_SUFX} \
|
||||
${PORTNAME}.png:icons
|
||||
EXTRACT_ONLY= ${PORTNAME}_${DISTVERSION}_src${EXTRACT_SUFX}
|
||||
|
||||
MAINTAINER= nemysis@gmx.ch
|
||||
COMMENT= Syobon Action is a platform game as Super Mario Bros
|
||||
MAINTAINER= nemysis@FreeBSD.org
|
||||
COMMENT= Platform game as Super Mario Bros
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
|
||||
USES= gmake pkgconfig
|
||||
USE_DOS2UNIX= *.txt
|
||||
ALL_TARGET= ${PORTNAME}
|
||||
USE_SDL= sdl gfx image mixer ttf
|
||||
|
||||
PLIST_FILES= bin/${PORTNAME}
|
||||
|
||||
PORTDOCS= README.txt
|
||||
PORTDATA= *
|
||||
USE_DOS2UNIX= *.cpp *.txt
|
||||
USE_GCC= yes
|
||||
ALL_TARGET= ${PORTNAME}
|
||||
|
||||
MAKE_ENV= GAMEDATA="${DATADIR}"
|
||||
|
||||
PORTDOCS= README.txt
|
||||
|
||||
DESKTOP_ENTRIES="Syobon Action" "${COMMENT}" "${PORTNAME}" \
|
||||
"${PORTNAME}" "Game;ArcadeGame;" false
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
do-install:
|
||||
# Executable
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
||||
|
||||
# Data
|
||||
${MKDIR} ${DATADIR}
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
|
||||
@(cd ${WRKSRC} && ${COPYTREE_SHARE} "BGM SE res" ${DATADIR})
|
||||
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps
|
||||
|
||||
# Documentation
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
SHA256 (syobon_1.0.1_src.tar.gz) = e7aaf73098e6bd748ae682aab4e959e887a742647124aac813f864e5106b943a
|
||||
SIZE (syobon_1.0.1_src.tar.gz) = 2721153
|
||||
SHA256 (syobon.png) = ef9c5d27c855ef4d83da98562e8f7d4515d232ca4352ecdbf75b0725490f4111
|
||||
SIZE (syobon.png) = 1760
|
||||
|
|
40
games/syobon/pkg-plist
Normal file
40
games/syobon/pkg-plist
Normal file
|
@ -0,0 +1,40 @@
|
|||
bin/syobon
|
||||
share/pixmaps/syobon.png
|
||||
%%DATADIR%%/BGM/castle.ogg
|
||||
%%DATADIR%%/BGM/dungeon.ogg
|
||||
%%DATADIR%%/BGM/field.ogg
|
||||
%%DATADIR%%/BGM/puyo.ogg
|
||||
%%DATADIR%%/BGM/star4.ogg
|
||||
%%DATADIR%%/SE/4-clear.ogg
|
||||
%%DATADIR%%/SE/Pswitch.ogg
|
||||
%%DATADIR%%/SE/allclear.ogg
|
||||
%%DATADIR%%/SE/brockbreak.ogg
|
||||
%%DATADIR%%/SE/brockcoin.ogg
|
||||
%%DATADIR%%/SE/brockkinoko.ogg
|
||||
%%DATADIR%%/SE/coin.ogg
|
||||
%%DATADIR%%/SE/death.ogg
|
||||
%%DATADIR%%/SE/dokan.ogg
|
||||
%%DATADIR%%/SE/gameover.ogg
|
||||
%%DATADIR%%/SE/goal.ogg
|
||||
%%DATADIR%%/SE/hintBlock.ogg
|
||||
%%DATADIR%%/SE/humi.ogg
|
||||
%%DATADIR%%/SE/jump.ogg
|
||||
%%DATADIR%%/SE/jumpBlock.ogg
|
||||
%%DATADIR%%/SE/kirra.ogg
|
||||
%%DATADIR%%/SE/koura.ogg
|
||||
%%DATADIR%%/SE/powerup.ogg
|
||||
%%DATADIR%%/SE/tekifire.ogg
|
||||
%%DATADIR%%/res/DejaVuSans.ttf
|
||||
%%DATADIR%%/res/brock.PNG
|
||||
%%DATADIR%%/res/brock2.PNG
|
||||
%%DATADIR%%/res/haikei.PNG
|
||||
%%DATADIR%%/res/item.PNG
|
||||
%%DATADIR%%/res/omake.PNG
|
||||
%%DATADIR%%/res/omake2.PNG
|
||||
%%DATADIR%%/res/player.PNG
|
||||
%%DATADIR%%/res/syobon3.PNG
|
||||
%%DATADIR%%/res/teki.PNG
|
||||
@dirrm %%DATADIR%%/res
|
||||
@dirrm %%DATADIR%%/SE
|
||||
@dirrm %%DATADIR%%/BGM
|
||||
@dirrm %%DATADIR%%
|
Loading…
Reference in a new issue