From 960c464cd8b708f97b1fc9e4a26ab28c3e09da26 Mon Sep 17 00:00:00 2001 From: Bernhard Froehlich Date: Mon, 27 Jan 2014 16:29:18 +0000 Subject: [PATCH] - Stagify - Update dependencies to new shlib format - Add LICENSE - Bump PORTREVISION PR: ports/185556 Submitted by: Kevin Zheng (maintainer) --- games/freedroid/Makefile | 16 +++++++--------- games/freedroid/pkg-plist | 13 +++++++------ 2 files changed, 14 insertions(+), 15 deletions(-) diff --git a/games/freedroid/Makefile b/games/freedroid/Makefile index fb19fc91216b..a50178efe12f 100644 --- a/games/freedroid/Makefile +++ b/games/freedroid/Makefile @@ -3,15 +3,18 @@ PORTNAME= freedroid PORTVERSION= 1.0.2 -PORTREVISION= 15 +PORTREVISION= 16 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}Classic/FreedroidClassic-${PORTVERSION} MAINTAINER= kevinz5000@gmail.com COMMENT= Clone of the Commodore game Paradroid -LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \ - png15:${PORTSDIR}/graphics/png +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ + libpng15.so:${PORTSDIR}/graphics/png USES= iconv USE_SDL= mixer image sdl @@ -23,17 +26,12 @@ DESKTOP_ENTRIES= "Freedroid Classic" "${COMMENT}" \ "${DATADIR}/graphics/999.png" \ "freedroid" "Game;ArcadeGame;" false -MAN6= freedroid.6 - -NO_STAGE= yes post-extract: .for d in graphics map sound @${FIND} ${WRKSRC}/${d} -type f -name "Makefile*" -print0 | \ ${XARGS} -0 ${RM} .endfor -.include - post-patch: @${REINPLACE_CMD} -e 's#-lSDL # #;' \ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} @@ -42,4 +40,4 @@ post-patch: @${REINPLACE_CMD} -e 's#\#include \"mac-osx/getopt\.h\"##;' \ ${WRKSRC}/src/system.h -.include +.include diff --git a/games/freedroid/pkg-plist b/games/freedroid/pkg-plist index 82a96618ac72..61dce16b85d4 100644 --- a/games/freedroid/pkg-plist +++ b/games/freedroid/pkg-plist @@ -1,4 +1,5 @@ bin/freedroid +man/man6/freedroid.6.gz %%DATADIR%%/graphics/001.jpg %%DATADIR%%/graphics/001.png %%DATADIR%%/graphics/123.jpg @@ -104,9 +105,9 @@ bin/freedroid %%DATADIR%%/sound/dreamfish-uridium2_loader.mod %%DATADIR%%/sound/kollaps-tron.mod %%DATADIR%%/sound/starpaws.mod -@dirrm %%DATADIR%%/sound -@dirrm %%DATADIR%%/map -@dirrm %%DATADIR%%/graphics/lanzz_theme -@dirrm %%DATADIR%%/graphics/classic_theme -@dirrm %%DATADIR%%/graphics -@dirrm %%DATADIR%% +@dirrmtry %%DATADIR%%/sound +@dirrmtry %%DATADIR%%/map +@dirrmtry %%DATADIR%%/graphics/lanzz_theme +@dirrmtry %%DATADIR%%/graphics/classic_theme +@dirrmtry %%DATADIR%%/graphics +@dirrmtry %%DATADIR%%