svn commit: r314007 - head/games/black-box
Beech Rintoul
beech at FreeBSD.org
Tue Mar 12 23:26:15 UTC 2013
Author: beech
Date: Tue Mar 12 23:26:14 2013
New Revision: 314007
URL: http://svnweb.freebsd.org/changeset/ports/314007
Log:
- Makefile tweaks
- Add Desktop entries, icons, removed all Notes
- Shorten header
- Bump portrevision
PR: ports/173355
Submitted by: nemysis <nemysis at gmx.ch> (maintainer)
Added:
head/games/black-box/pkg-plist (contents, props changed)
Modified:
head/games/black-box/Makefile
head/games/black-box/distinfo (contents, props changed)
Modified: head/games/black-box/Makefile
==============================================================================
--- head/games/black-box/Makefile Tue Mar 12 22:54:45 2013 (r314006)
+++ head/games/black-box/Makefile Tue Mar 12 23:26:14 2013 (r314007)
@@ -1,14 +1,16 @@
-# New Ports collection makefile for: black-box
-# Date created: 2012-04-27
-# Whom: nemysis at gmx.ch
-#
+# Created By: nemysis at gmx.ch
# $FreeBSD$
-#
PORTNAME= black-box
PORTVERSION= 1.4.8
+PORTREVISION= 1
CATEGORIES= games
-MASTER_SITES= http://www.linux-games.com/black-box/
+MASTER_SITES= http://www.linux-games.com/black-box/ \
+ SF/nemysisfreebsdp/:icons
+DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
+ ${PORTNAME}.png:icons
+DIST_SUBDIR= ${PORTNAME}
+EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
MAINTAINER= nemysis at gmx.ch
COMMENT= Shoot in and watch where the shot leaves the box
@@ -19,19 +21,19 @@ GNU_CONFIGURE= yes
USE_SDL= sdl image mixer
MAKE_JOBS_SAFE= yes
-PLIST_FILES= bin/${PORTNAME}
-
-PORTDATA= *
PORTDOCS= AUTHORS ChangeLog INSTALL NEWS README
+DESKTOP_ENTRIES="Black-Box" "${COMMENT}" "${PORTNAME}" \
+ "${PORTNAME}" "Game;ArcadeGame;" ${FALSE}
+
.include <bsd.port.options.mk>
post-install:
+ ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps
+
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
-. for f in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-. endfor
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.mk>
Modified: head/games/black-box/distinfo
==============================================================================
--- head/games/black-box/distinfo Tue Mar 12 22:54:45 2013 (r314006)
+++ head/games/black-box/distinfo Tue Mar 12 23:26:14 2013 (r314007)
@@ -1,2 +1,4 @@
-SHA256 (black-box-1.4.8.tar.gz) = 9cf6a31a96e487c86973a4fe4603ed16709b6196de872d34f8df785c809b73bd
-SIZE (black-box-1.4.8.tar.gz) = 359256
+SHA256 (black-box/black-box-1.4.8.tar.gz) = 9cf6a31a96e487c86973a4fe4603ed16709b6196de872d34f8df785c809b73bd
+SIZE (black-box/black-box-1.4.8.tar.gz) = 359256
+SHA256 (black-box/black-box.png) = 0d19636212b74e847600841ae66b3c769a4c999d75237192bb78455004d6be16
+SIZE (black-box/black-box.png) = 5223
Added: head/games/black-box/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/black-box/pkg-plist Tue Mar 12 23:26:14 2013 (r314007)
@@ -0,0 +1,35 @@
+bin/black-box
+%%DATADIR%%/gfx/box.gif
+%%DATADIR%%/gfx/demo1.gif
+%%DATADIR%%/gfx/demo2.gif
+%%DATADIR%%/gfx/demo3.gif
+%%DATADIR%%/gfx/demo4.gif
+%%DATADIR%%/gfx/demo5.gif
+%%DATADIR%%/gfx/demo6.gif
+%%DATADIR%%/gfx/demo7.gif
+%%DATADIR%%/gfx/demo8.gif
+%%DATADIR%%/gfx/edge1.gif
+%%DATADIR%%/gfx/edge1red.gif
+%%DATADIR%%/gfx/edge2.gif
+%%DATADIR%%/gfx/edge2red.gif
+%%DATADIR%%/gfx/edge3.gif
+%%DATADIR%%/gfx/edge3red.gif
+%%DATADIR%%/gfx/edge4.gif
+%%DATADIR%%/gfx/font.png
+%%DATADIR%%/gfx/giveup.gif
+%%DATADIR%%/gfx/help.gif
+%%DATADIR%%/gfx/light.gif
+%%DATADIR%%/gfx/mouse.gif
+%%DATADIR%%/gfx/new.gif
+%%DATADIR%%/gfx/next.gif
+%%DATADIR%%/gfx/ok.gif
+%%DATADIR%%/gfx/prev.gif
+%%DATADIR%%/gfx/quit.gif
+%%DATADIR%%/gfx/real.gif
+%%DATADIR%%/gfx/think.gif
+%%DATADIR%%/gfx/won.png
+%%DATADIR%%/sound/ein1.mod
+share/pixmaps/black-box.png
+ at dirrm %%DATADIR%%/sound
+ at dirrm %%DATADIR%%/gfx
+ at dirrm %%DATADIR%%
More information about the svn-ports-all
mailing list