Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Oct 2013 12:55:26 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r330502 - head/games/penguin-command
Message-ID:  <201310161255.r9GCtQCR015635@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310161255.r9GCtQCR015635>