- Bump PORTREVISION
- Remove dependency for x11/xterm - Add files/holotz-castle.desktop and files/holotz-castle-solutions.desktop Approved by: pawel / wg (mentors, implicit)
This commit is contained in:
parent
c1e0b25280
commit
6ef8020587
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335615
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= holotz-castle
|
||||
PORTVERSION= 1.3.14
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= SF/nemysisfreebsdp/${CATEGORIES}/${PORTNAME}/
|
||||
DISTFILES= ${PORTNAME}-${DISTVERSION}-src${EXTRACT_SUFX} \
|
||||
@ -30,20 +30,13 @@ ICON_SIZES= 32x32 48x48 64x64 72x72 96x96 128x128
|
||||
|
||||
SUB_FILES= pkg-message ${PORTNAME}-solutions
|
||||
|
||||
DESKTOP_ENTRIES="Holotz's Castle" "${COMMENT}" ${PORTNAME} \
|
||||
"${PORTNAME}" "Game;LogicGame;" false
|
||||
|
||||
DESKTOP_ENTRIES+="Holotz's Castle Solutions" "${COMMENT}" ${PORTNAME} \
|
||||
"xterm -e ${PORTNAME}-solutions" "Game;LogicGame;" false
|
||||
|
||||
OPTIONS_DEFINE= SOLUTIONS
|
||||
OPTIONS_DEFAULT=SOLUTIONS
|
||||
SOLUTIONS_DESC= Solutions for Holotz's Castle
|
||||
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
SOLUTIONS_RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer \
|
||||
xterm:${PORTSDIR}/x11/xterm
|
||||
SOLUTIONS_RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
@ -60,10 +53,12 @@ post-install:
|
||||
.endfor
|
||||
${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
|
||||
${STAGEDIR}${PREFIX}/share/pixmaps
|
||||
${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}
|
||||
(cd ${WRKSRC}/man && ${INSTALL_MAN} *.6 ${STAGEDIR}${MAN6PREFIX}/man/man6/)
|
||||
|
||||
.if ${PORT_OPTIONS:MSOLUTIONS}
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}-solutions ${STAGEDIR}${PREFIX}/bin/
|
||||
${INSTALL_DATA} ${FILESDIR}/${PORTNAME}-solutions.desktop ${STAGEDIR}${DESKTOPDIR}
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}/solutions
|
||||
@(cd ${WRKDIR} ; ${INSTALL_DATA} *.avi ${STAGEDIR}${DATADIR}/solutions)
|
||||
.endif
|
||||
|
10
games/holotz-castle/files/holotz-castle-solutions.desktop
Normal file
10
games/holotz-castle/files/holotz-castle-solutions.desktop
Normal file
@ -0,0 +1,10 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Version=1.0
|
||||
Name=Holotz's Castle Solution
|
||||
GenericName=Holotz's Castle game
|
||||
Comment=Platform game with high doses of mystery
|
||||
Icon=holotz-castle
|
||||
Exec=holotz-castle-solutions
|
||||
Categories=Game;LogicGame;
|
||||
Terminal=true
|
10
games/holotz-castle/files/holotz-castle.desktop
Normal file
10
games/holotz-castle/files/holotz-castle.desktop
Normal file
@ -0,0 +1,10 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Version=1.0
|
||||
Name=Holotz's Castle
|
||||
GenericName=Holotz's Castle game
|
||||
Comment=Platform game with high doses of mystery
|
||||
Icon=holotz-castle
|
||||
Exec=holotz-castle
|
||||
Categories=Game;LogicGame;
|
||||
Terminal=true
|
@ -1,8 +1,10 @@
|
||||
bin/holotz-castle
|
||||
bin/holotz-castle-editor
|
||||
%%SOLUTIONS%%bin/holotz-castle-solutions
|
||||
man/man6/holotz-castle-editor.6.gz
|
||||
man/man6/holotz-castle.6.gz
|
||||
%%SOLUTIONS%%bin/holotz-castle-solutions
|
||||
%%SOLUTIONS%%share/applications/holotz-castle-solutions.desktop
|
||||
share/applications/holotz-castle.desktop
|
||||
%%DATADIR%%/editor/EnemyMenu/0.tga
|
||||
%%DATADIR%%/editor/EnemyMenu/0_hi.tga
|
||||
%%DATADIR%%/editor/EnemyMenu/1.tga
|
||||
|
Loading…
Reference in New Issue
Block a user