summaryrefslogtreecommitdiffstats
path: root/games/penguin-command/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/penguin-command/Makefile')
-rw-r--r--games/penguin-command/Makefile22
1 files changed, 15 insertions, 7 deletions
diff --git a/games/penguin-command/Makefile b/games/penguin-command/Makefile
index 8a96709..11d3698 100644
--- a/games/penguin-command/Makefile
+++ b/games/penguin-command/Makefile
@@ -10,18 +10,26 @@ MASTER_SITES= SF
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= A clone of the classic game Missile Command
-LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \
- jpeg:${PORTSDIR}/graphics/jpeg
+LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \
+ libjpeg.so:${PORTSDIR}/graphics/jpeg
USE_SDL= mixer image sdl
GNU_CONFIGURE= yes
-MAN6= penguin-command.6 penguin-command.ja.6
+PLIST_FILES= bin/${PORTNAME} \
+ man/man6/penguin-command.6.gz \
+ man/man6/penguin-command.ja.6.gz
+PORTDATA= *
+
+DESKTOP_ENTRIES="Penguin Command" \
+ "${COMMENT}" \
+ "${DATADIR}/gfx/icon.xpm" \
+ "${PORTNAME}" \
+ "Game;ArcadeGame;" \
+ ""
-NO_STAGE= yes
post-patch:
- @${REINPLACE_CMD} 's| -lSDL | |g' ${WRKSRC}/configure
- @${REINPLACE_CMD} 's|LIBS="-lSDL_image|LIBS="-lSDL_image $$SDL_LIBS|g' \
- ${WRKSRC}/configure
+ @${REINPLACE_CMD} 's|LIBS="-lSDL_image|LIBS="-lSDL_image $$SDL_LIBS|g; \
+ s| -lSDL | |g' ${WRKSRC}/configure
.include <bsd.port.mk>
OpenPOWER on IntegriCloud