svn commit: r328221 - head/games/syobon
Rusmir Dusko
nemysis at FreeBSD.org
Tue Sep 24 23:59:07 UTC 2013
Author: nemysis
Date: Tue Sep 24 23:59:05 2013
New Revision: 328221
URL: http://svnweb.freebsd.org/changeset/ports/328221
Log:
- 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)
Added:
head/games/syobon/pkg-plist (contents, props changed)
Modified:
head/games/syobon/Makefile
head/games/syobon/distinfo (contents, props changed)
Modified: head/games/syobon/Makefile
==============================================================================
--- head/games/syobon/Makefile Tue Sep 24 23:55:46 2013 (r328220)
+++ head/games/syobon/Makefile Tue Sep 24 23:59:05 2013 (r328221)
@@ -1,46 +1,47 @@
-# Created by: nemysis at gmx.ch
+# Created by: nemysis <nemysis at 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 at gmx.ch
-COMMENT= Syobon Action is a platform game as Super Mario Bros
+MAINTAINER= nemysis at 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
+USE_DOS2UNIX= *.cpp *.txt
+USE_GCC= yes
+ALL_TARGET= ${PORTNAME}
-PLIST_FILES= bin/${PORTNAME}
+MAKE_ENV= GAMEDATA="${DATADIR}"
PORTDOCS= README.txt
-PORTDATA= *
-MAKE_ENV= GAMEDATA="${DATADIR}"
+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>
Modified: head/games/syobon/distinfo
==============================================================================
--- head/games/syobon/distinfo Tue Sep 24 23:55:46 2013 (r328220)
+++ head/games/syobon/distinfo Tue Sep 24 23:59:05 2013 (r328221)
@@ -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
Added: head/games/syobon/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/syobon/pkg-plist Tue Sep 24 23:59:05 2013 (r328221)
@@ -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
+ at dirrm %%DATADIR%%/res
+ at dirrm %%DATADIR%%/SE
+ at dirrm %%DATADIR%%/BGM
+ at dirrm %%DATADIR%%
More information about the svn-ports-head
mailing list