- Update to 0.4.3
- Install documentation - Use upstream .desktop file Feature safe: yes
This commit is contained in:
parent
3bc660551f
commit
c63c9e562f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=308238
@ -1,13 +1,8 @@
|
||||
# New ports collection makefile for: violetland
|
||||
# Date created: 25 Oct 2009
|
||||
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
|
||||
#
|
||||
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= violetland
|
||||
PORTVERSION= 0.4.1
|
||||
PORTREVISION= 2
|
||||
PORTVERSION= 0.4.3
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= GOOGLE_CODE \
|
||||
http://mirror.amdmi3.ru/distfiles/
|
||||
@ -28,15 +23,23 @@ CMAKE_ARGS= -DDATA_INSTALL_DIR="${DATADIR}"
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-v${PORTVERSION}
|
||||
|
||||
DESKTOP_ENTRIES="Violetland" \
|
||||
"Top-down survival shoot 'em up" \
|
||||
"${DATADIR}/icon-light.png" \
|
||||
"violetland" \
|
||||
"Game;ArcadeGame;" \
|
||||
false
|
||||
PORTDOCS= CHANGELOG README_EN.TXT README_RU.TXT
|
||||
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/set.libList/ s|)| ${LOCALBASE}/lib/libintl.so&|' \
|
||||
${WRKSRC}/CMakeLists.txt
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${DESKTOPDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${DESKTOPDIR}
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${DOCSDIR}
|
||||
.for f in ${PORTDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (violetland-v0.4.1-src.zip) = dfdcc68cb1780fbe5597d672d41d28c593f1821c204b214b898664c69084d5bc
|
||||
SIZE (violetland-v0.4.1-src.zip) = 9422959
|
||||
SHA256 (violetland-v0.4.3-src.zip) = 790565a752fa10152f2c6f55676c3fa5ffbc45678822ac7d082d815b1798767e
|
||||
SIZE (violetland-v0.4.3-src.zip) = 9418609
|
||||
|
@ -1,4 +1,5 @@
|
||||
bin/violetland
|
||||
share/applications/violetland.desktop
|
||||
%%DATADIR%%/README_EN.TXT
|
||||
%%DATADIR%%/README_RU.TXT
|
||||
%%DATADIR%%/fonts/archangelsk.ttf
|
||||
@ -419,3 +420,4 @@ bin/violetland
|
||||
@dirrm %%DATADIR%%/images
|
||||
@dirrm %%DATADIR%%/fonts
|
||||
@dirrm %%DATADIR%%
|
||||
@dirrmtry share/applications
|
||||
|
Loading…
Reference in New Issue
Block a user