Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Apr 2014 23:58:33 +0000 (UTC)
From:      Rusmir Dusko <nemysis@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r349897 - in head/games/ztrack: . files
Message-ID:  <201404012358.s31NwXNi052835@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nemysis
Date: Tue Apr  1 23:58:32 2014
New Revision: 349897
URL: http://svnweb.freebsd.org/changeset/ports/349897
QAT: https://qat.redports.org/buildarchive/r349897/

Log:
  - Change master sites, add icon
  - Transfer maintainership to newly established games@ team
  - Add Desktop entry file
  - Add DOCS and Option
  - Recreate patch with make makepatch

Added:
  head/games/ztrack/files/patch-ztrack.c   (contents, props changed)
  head/games/ztrack/files/ztrack.desktop   (contents, props changed)
Deleted:
  head/games/ztrack/files/patch-aa
Modified:
  head/games/ztrack/Makefile
  head/games/ztrack/distinfo

Modified: head/games/ztrack/Makefile
==============================================================================
--- head/games/ztrack/Makefile	Tue Apr  1 23:48:37 2014	(r349896)
+++ head/games/ztrack/Makefile	Tue Apr  1 23:58:32 2014	(r349897)
@@ -4,20 +4,34 @@
 PORTNAME=	ztrack
 PORTVERSION=	1.0
 CATEGORIES=	games
-MASTER_SITES=	${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR=	games/arcade
+MASTER_SITES=	SUNSITE/games/arcade \
+		SF/nemysisfreebsdp/${CATEGORIES}/:icons
+DISTFILES=	${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
+		${PORTNAME}.png:icons
+EXTRACT_ONLY=	${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	games@FreeBSD.org
 COMMENT=	Simple ncurses based pseudo-3D driving game
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
 MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS} -DHAVE_RANDOM"
 ALL_TARGET=	ztrack
-PLIST_FILES=	bin/ztrack man/man6/ztrack.6.gz
+PLIST_FILES=	bin/${PORTNAME} man/man6/${PORTNAME}.6.gz \
+		${DESKTOPDIR}/${PORTNAME}.desktop \
+		share/pixmaps/${PORTNAME}.png
+
+PORTDOCS=	ChangeLog README
+OPTIONS_DEFINE=	DOCS
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/ztrack ${STAGEDIR}${PREFIX}/bin/ztrack
-	${INSTALL_MAN} ${WRKSRC}/ztrack.6 ${STAGEDIR}${MANPREFIX}/man/man6
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.6 ${STAGEDIR}${MAN6PREFIX}/man/man6/
+	${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
+		${STAGEDIR}${PREFIX}/share/pixmaps/
+	${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}
+
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/games/ztrack/distinfo
==============================================================================
--- head/games/ztrack/distinfo	Tue Apr  1 23:48:37 2014	(r349896)
+++ head/games/ztrack/distinfo	Tue Apr  1 23:58:32 2014	(r349897)
@@ -1,2 +1,4 @@
 SHA256 (ztrack-1.0.tar.gz) = 5e8500cab529be3919af664d08f2c300827099d5b18b417621dc2b4112e2bfa2
 SIZE (ztrack-1.0.tar.gz) = 10186
+SHA256 (ztrack.png) = 523b2e0c8e6e181f99c81415ea88e529367687e7e9ae70e36150f989c3e2ef99
+SIZE (ztrack.png) = 1270

Added: head/games/ztrack/files/patch-ztrack.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/ztrack/files/patch-ztrack.c	Tue Apr  1 23:58:32 2014	(r349897)
@@ -0,0 +1,11 @@
+--- ./ztrack.c.orig	1995-12-01 03:34:36.000000000 +0100
++++ ./ztrack.c	2014-04-02 01:51:02.785307003 +0200
+@@ -9,7 +9,7 @@
+ #include <unistd.h>
+ #include <fcntl.h>
+ #include <time.h>
+-#include <curses.h>
++#include <ncurses.h>
+ 
+ 
+ #ifdef HAVE_RANDOM

Added: head/games/ztrack/files/ztrack.desktop
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/ztrack/files/ztrack.desktop	Tue Apr  1 23:58:32 2014	(r349897)
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Type=Application
+Version=1.0
+Name=Ztrack
+GenericName=Ztrack game
+Comment=Simple ncurses based pseudo-3D driving game
+Icon=ztrack
+Exec=ztrack
+Categories=Game;SportsGame;
+Terminal=true



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