svn commit: r330502 - head/games/penguin-command
Dmitry Marakasov
amdmi3 at FreeBSD.org
Wed Oct 16 12:55:26 UTC 2013
Author: amdmi3
Date: Wed Oct 16 12:55:25 2013
New Revision: 330502
URL: http://svnweb.freebsd.org/changeset/ports/330502
Log:
- Support staging
- Add DESKTOP_ENTRIES
- Use new LIB_DEPENDS syntax
Deleted:
head/games/penguin-command/pkg-plist
Modified:
head/games/penguin-command/Makefile
Modified: head/games/penguin-command/Makefile
==============================================================================
--- head/games/penguin-command/Makefile Wed Oct 16 12:49:27 2013 (r330501)
+++ head/games/penguin-command/Makefile Wed Oct 16 12:55:25 2013 (r330502)
@@ -10,18 +10,26 @@ MASTER_SITES= SF
MAINTAINER= amdmi3 at 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>
More information about the svn-ports-all
mailing list