aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authordecke <decke@FreeBSD.org>2014-01-28 00:29:18 +0800
committerdecke <decke@FreeBSD.org>2014-01-28 00:29:18 +0800
commit67efdfcc2ea797dc5b72225cd98c3479a8a8bacd (patch)
tree2f4c1710680b7aedda73f2001af47369b063cfb9 /games
parent11c2481d38cf3eebc405ad54e8b5005d1ea588fd (diff)
downloadfreebsd-ports-gnome-67efdfcc2ea797dc5b72225cd98c3479a8a8bacd.tar.gz
freebsd-ports-gnome-67efdfcc2ea797dc5b72225cd98c3479a8a8bacd.tar.zst
freebsd-ports-gnome-67efdfcc2ea797dc5b72225cd98c3479a8a8bacd.zip
- Stagify
- Update dependencies to new shlib format - Add LICENSE - Bump PORTREVISION PR: ports/185556 Submitted by: Kevin Zheng <kevinz5000@gmail.com> (maintainer)
Diffstat (limited to 'games')
-rw-r--r--games/freedroid/Makefile16
-rw-r--r--games/freedroid/pkg-plist13
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 <bsd.port.pre.mk>
-
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 <bsd.port.post.mk>
+.include <bsd.port.mk>
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%%