mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- Update desktop and docs options
- Bump portrevision Submitted by: nemysis <nemysis@gmx.ch> (maintainer) Approved by: maintainer
This commit is contained in:
parent
cec5e7a589
commit
c2804cad8c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=314012
@ -1,13 +1,9 @@
|
||||
# New ports collection makefile for: bubble-chains
|
||||
# Date created: 2012-04-21
|
||||
# Whom: nemysis@gmx.ch
|
||||
#
|
||||
# Created by: nemysis@gmx.ch
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= bubble-chains
|
||||
PORTVERSION= 0.1.1
|
||||
PORTREVISION= 4
|
||||
PORTREVISION= 5
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= http://bubble-chains.sintegrial.com/files/
|
||||
DISTNAME= chains-${DISTVERSION}
|
||||
@ -31,14 +27,22 @@ USE_QT4= moc_build qmake_build rcc_build uic_build iconengines imageformats \
|
||||
|
||||
MAKE_JOBS_SAFE= yes
|
||||
|
||||
PLIST_FILES= bin/${PORTNAME} \
|
||||
share/pixmaps/${PORTNAME}.ico \
|
||||
share/pixmaps/${PORTNAME}.png
|
||||
PLIST_DIRSTRY= share/applications
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
PORTDATA= *
|
||||
PORTDOCS= README
|
||||
|
||||
DESKTOP_ENTRIES="Bubble Chains" "${COMMENT}" \
|
||||
"${PREFIX}/share/pixmaps/${PORTNAME}.png" \
|
||||
"${PORTNAME}" "Game;ArcadeGame;" false
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
PLIST_SUB+= PORTDOCS=""
|
||||
.else
|
||||
PLIST_SUB+= PORTDOCS="@comment "
|
||||
.endif
|
||||
|
||||
P7ZIP_CMD= ${LOCALBASE}/bin/7z
|
||||
P7ZIP_ARGS= x -o${WRKDIR}
|
||||
|
||||
@ -50,30 +54,22 @@ post-patch:
|
||||
@${REINPLACE_CMD} -e 's|/usr/local/games/chains|${DATADIR}|' \
|
||||
${WRKSRC}/main.cpp ${WRKSRC}/Game.pro
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
do-configure:
|
||||
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
|
||||
${QMAKE} ${QMAKEFLAGS}
|
||||
${QMAKE} ${QMAKEFLAGS} PREFIX=${PREFIX}
|
||||
|
||||
do-install:
|
||||
# Executable
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/chains ${PREFIX}/bin/${PORTNAME}
|
||||
|
||||
# Data
|
||||
${MKDIR} ${DATADIR}
|
||||
@(cd ${WRKSRC} && ${COPYTREE_SHARE} data ${DATADIR})
|
||||
|
||||
# Pixmaps and Desktop
|
||||
${INSTALL_DATA} ${WRKSRC}/images/logo.png \
|
||||
${PREFIX}/share/pixmaps/${PORTNAME}.png
|
||||
${INSTALL_DATA} ${WRKSRC}/icon.ico \
|
||||
${PREFIX}/share/pixmaps/${PORTNAME}.ico
|
||||
|
||||
# Documentation
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
84
games/bubble-chains/pkg-plist
Normal file
84
games/bubble-chains/pkg-plist
Normal file
@ -0,0 +1,84 @@
|
||||
bin/bubble-chains
|
||||
%%DATADIR%%/data/bonus/clock.png
|
||||
%%DATADIR%%/data/bonus/power2.png
|
||||
%%DATADIR%%/data/bonus/power3.png
|
||||
%%DATADIR%%/data/bonus/power4.png
|
||||
%%DATADIR%%/data/bonus/power5.png
|
||||
%%DATADIR%%/data/bonus/score.png
|
||||
%%DATADIR%%/data/bonus/timer.png
|
||||
%%DATADIR%%/data/bonus/x.png
|
||||
%%DATADIR%%/data/help/bolt.png
|
||||
%%DATADIR%%/data/help/bomb.png
|
||||
%%DATADIR%%/data/help/clock.png
|
||||
%%DATADIR%%/data/help/img64_base.png
|
||||
%%DATADIR%%/data/help/img64_color.png
|
||||
%%DATADIR%%/data/help/img64_faller.png
|
||||
%%DATADIR%%/data/help/img64_number.png
|
||||
%%DATADIR%%/data/help/index.htm
|
||||
%%DATADIR%%/data/help/index_ru.htm
|
||||
%%DATADIR%%/data/help/item1.png
|
||||
%%DATADIR%%/data/help/item2.png
|
||||
%%DATADIR%%/data/help/item3.png
|
||||
%%DATADIR%%/data/help/item4.png
|
||||
%%DATADIR%%/data/help/item5.png
|
||||
%%DATADIR%%/data/help/item6.png
|
||||
%%DATADIR%%/data/help/item_jocker.png
|
||||
%%DATADIR%%/data/help/kill.png
|
||||
%%DATADIR%%/data/help/mixer.png
|
||||
%%DATADIR%%/data/help/row.png
|
||||
%%DATADIR%%/data/help/twins.png
|
||||
%%DATADIR%%/data/lang/chains_ru.qm
|
||||
%%DATADIR%%/data/lang/chains_ru.ts
|
||||
%%DATADIR%%/data/lang/langlist.dat
|
||||
%%DATADIR%%/data/levels/default.lpk
|
||||
%%DATADIR%%/data/music/1.mid
|
||||
%%DATADIR%%/data/music/2.mid
|
||||
%%DATADIR%%/data/music/3.mid
|
||||
%%DATADIR%%/data/music/4.mid
|
||||
%%DATADIR%%/data/music/5.mid
|
||||
%%DATADIR%%/data/music/6.mid
|
||||
%%DATADIR%%/data/music/7.mid
|
||||
%%DATADIR%%/data/schemes/default/bg1.jpg
|
||||
%%DATADIR%%/data/schemes/default/con1.png
|
||||
%%DATADIR%%/data/sounds/beep.wav
|
||||
%%DATADIR%%/data/sounds/bighammer.wav
|
||||
%%DATADIR%%/data/sounds/bomb.wav
|
||||
%%DATADIR%%/data/sounds/bonus.wav
|
||||
%%DATADIR%%/data/sounds/bonusend.wav
|
||||
%%DATADIR%%/data/sounds/clock.wav
|
||||
%%DATADIR%%/data/sounds/disappear.wav
|
||||
%%DATADIR%%/data/sounds/hammer.wav
|
||||
%%DATADIR%%/data/sounds/levelfail.wav
|
||||
%%DATADIR%%/data/sounds/levelstart.wav
|
||||
%%DATADIR%%/data/sounds/levelwon.wav
|
||||
%%DATADIR%%/data/sounds/mixer.wav
|
||||
%%DATADIR%%/data/sounds/newitem.wav
|
||||
%%DATADIR%%/data/sounds/newtool.wav
|
||||
%%DATADIR%%/data/sounds/randomkill.wav
|
||||
%%DATADIR%%/data/sounds/row.wav
|
||||
%%DATADIR%%/data/sounds/smallhammer.wav
|
||||
%%DATADIR%%/data/sounds/target.wav
|
||||
%%DATADIR%%/data/sounds/twin.wav
|
||||
%%DATADIR%%/data/sounds/unblock.wav
|
||||
%%DATADIR%%/data/tools/bolt.png
|
||||
%%DATADIR%%/data/tools/bomb.png
|
||||
%%DATADIR%%/data/tools/clock.png
|
||||
%%DATADIR%%/data/tools/cross.png
|
||||
%%DATADIR%%/data/tools/random.png
|
||||
%%DATADIR%%/data/tools/star.png
|
||||
%%DATADIR%%/data/tools/twins.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
share/pixmaps/bubble-chains.ico
|
||||
share/pixmaps/bubble-chains.png
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
@dirrm %%DATADIR%%/data/tools
|
||||
@dirrm %%DATADIR%%/data/sounds
|
||||
@dirrm %%DATADIR%%/data/schemes/default
|
||||
@dirrm %%DATADIR%%/data/schemes
|
||||
@dirrm %%DATADIR%%/data/music
|
||||
@dirrm %%DATADIR%%/data/levels
|
||||
@dirrm %%DATADIR%%/data/lang
|
||||
@dirrm %%DATADIR%%/data/help
|
||||
@dirrm %%DATADIR%%/data/bonus
|
||||
@dirrm %%DATADIR%%/data
|
||||
@dirrm %%DATADIR%%
|
Loading…
Reference in New Issue
Block a user