svn commit: r349897 - in head/games/ztrack: . files
Rusmir Dusko
nemysis at FreeBSD.org
Tue Apr 1 23:58:34 UTC 2014
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 at FreeBSD.org
+MAINTAINER= games at 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
More information about the svn-ports-all
mailing list