diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2013-05-23 17:59:49 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2013-05-23 17:59:49 +0800 |
commit | a1e6e0ce5a35356d04a1cdc705704e73bbed1ddc (patch) | |
tree | 0d621d154ec381503b0c3c1bba1128563a7b23b4 /games | |
parent | 202c2518627f34a3d853bf5a6800076da689f2fd (diff) | |
download | freebsd-ports-gnome-a1e6e0ce5a35356d04a1cdc705704e73bbed1ddc.tar.gz freebsd-ports-gnome-a1e6e0ce5a35356d04a1cdc705704e73bbed1ddc.tar.zst freebsd-ports-gnome-a1e6e0ce5a35356d04a1cdc705704e73bbed1ddc.zip |
- Update to 0.9.18-3
- Trim makefile header
PR: 176448
Submitted by: Gerrit Kühn <gerrit@weinberg2.de>
Diffstat (limited to 'games')
-rw-r--r-- | games/hedgewars/Makefile | 33 | ||||
-rw-r--r-- | games/hedgewars/distinfo | 4 |
2 files changed, 18 insertions, 19 deletions
diff --git a/games/hedgewars/Makefile b/games/hedgewars/Makefile index 95238bc1a831..37db3dd3373e 100644 --- a/games/hedgewars/Makefile +++ b/games/hedgewars/Makefile @@ -1,17 +1,12 @@ -# New ports collection makefile for: hedgewars -# Date created: 24 May 2008 -# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org> -# +# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org> # $FreeBSD$ -# PORTNAME= hedgewars -PORTVERSION= 0.9.17 -PORTREVISION= 4 +DISTVERSION= 0.9.18-3 CATEGORIES= games MASTER_SITES= http://download.gna.org/hedgewars/ \ http://mirror.amdmi3.ru/distfiles/ -DISTNAME= ${PORTNAME}-src-${PORTVERSION} +DISTNAME= ${PORTNAME}-src-${DISTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Free Worms-like turn based strategy game @@ -22,24 +17,21 @@ ONLY_FOR_ARCHS_REASON= depends on fpc which is only available for i386 and amd64 USE_BZIP2= yes USES= cmake USE_SDL= sdl mixer image ttf net -USE_FPC= opengl +USE_FPC= opengl libpng USE_LUA= 5.1+ USE_QT4= corelib gui moc_build network \ qmake_build rcc_build svg xml \ uic_build linguist_build MAKE_JOBS_SAFE= yes -PLIST_FILES= bin/hedgewars bin/hwengine share/applications/hedgewars.desktop +WRKSRC= ${WRKDIR}/${DISTNAME:C/-[0-9]$//} + +PLIST_FILES= bin/hedgewars bin/hwengine \ + share/applications/hedgewars.desktop \ + share/pixmaps/hedgewars.png PLIST_DIRSTRY= share/applications PORTDATA= * -DESKTOP_ENTRIES="Hedgewars" \ - "Worms-like turn based strategy game" \ - "${DATADIR}/Data/Forts/FlowerhogL.png" \ - "hedgewars" \ - "Game;StrategyGame;" \ - false - post-patch: @${ECHO} "include_directories(${LOCALBASE}/include)" >> \ ${WRKSRC}/QTfrontend/CMakeLists.txt @@ -48,4 +40,11 @@ post-patch: ${WRKSRC}/share/hedgewars/CMakeLists.txt .endif +post-install: + ${MKDIR} ${PREFIX}/share/applications + ${INSTALL_DATA} ${WRKSRC}/misc/hedgewars.desktop \ + ${PREFIX}/share/applications/ + ${INSTALL_DATA} ${WRKSRC}/misc/hedgewars.png \ + ${PREFIX}/share/pixmaps/ + .include <bsd.port.mk> diff --git a/games/hedgewars/distinfo b/games/hedgewars/distinfo index f1b38f38f37c..63704734ffee 100644 --- a/games/hedgewars/distinfo +++ b/games/hedgewars/distinfo @@ -1,2 +1,2 @@ -SHA256 (hedgewars-src-0.9.17.tar.bz2) = 6a5b941825d86ca7ee2dc28f25a868268a07db336bec615167358e880125ca0b -SIZE (hedgewars-src-0.9.17.tar.bz2) = 138938373 +SHA256 (hedgewars-src-0.9.18-3.tar.bz2) = 75cb5de74c480eb295d06a4a2db37fcc57560a464870f15989cf6bdf0e937daa +SIZE (hedgewars-src-0.9.18-3.tar.bz2) = 180719233 |