aboutsummaryrefslogtreecommitdiff
path: root/games/violetland
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2012-12-04 12:40:23 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2012-12-04 12:40:23 +0000
commitc63c9e562f968450bd464eba0d696917059947b9 (patch)
tree86d669e34285cfe51e47c9f728bfb34bce23b287 /games/violetland
parent3bc660551fd548306ef27a1f751578d0c442780a (diff)
downloadports-c63c9e562f968450bd464eba0d696917059947b9.tar.gz
ports-c63c9e562f968450bd464eba0d696917059947b9.zip
Notes
Diffstat (limited to 'games/violetland')
-rw-r--r--games/violetland/Makefile29
-rw-r--r--games/violetland/distinfo4
-rw-r--r--games/violetland/pkg-plist2
3 files changed, 20 insertions, 15 deletions
diff --git a/games/violetland/Makefile b/games/violetland/Makefile
index 03f44fca06c8..bf5020a0cf29 100644
--- a/games/violetland/Makefile
+++ b/games/violetland/Makefile
@@ -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>
diff --git a/games/violetland/distinfo b/games/violetland/distinfo
index a7ae40b46324..633a4280cafd 100644
--- a/games/violetland/distinfo
+++ b/games/violetland/distinfo
@@ -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
diff --git a/games/violetland/pkg-plist b/games/violetland/pkg-plist
index 90d3bb4f0db7..fe053638cb7f 100644
--- a/games/violetland/pkg-plist
+++ b/games/violetland/pkg-plist
@@ -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