diff options
author | nemysis <nemysis@FreeBSD.org> | 2014-04-02 07:58:32 +0800 |
---|---|---|
committer | nemysis <nemysis@FreeBSD.org> | 2014-04-02 07:58:32 +0800 |
commit | afc550766d66054b4a6afdfb3de8e5561fcf0561 (patch) | |
tree | af9bbb095a6c1fbdb8e65bf04f35a15148253cd2 /games | |
parent | 01526ad158c7d7834b54fac72f53f70f11a85aa7 (diff) | |
download | freebsd-ports-gnome-afc550766d66054b4a6afdfb3de8e5561fcf0561.tar.gz freebsd-ports-gnome-afc550766d66054b4a6afdfb3de8e5561fcf0561.tar.zst freebsd-ports-gnome-afc550766d66054b4a6afdfb3de8e5561fcf0561.zip |
- 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
Diffstat (limited to 'games')
-rw-r--r-- | games/ztrack/Makefile | 26 | ||||
-rw-r--r-- | games/ztrack/distinfo | 2 | ||||
-rw-r--r-- | games/ztrack/files/patch-aa | 19 | ||||
-rw-r--r-- | games/ztrack/files/patch-ztrack.c | 11 | ||||
-rw-r--r-- | games/ztrack/files/ztrack.desktop | 10 |
5 files changed, 43 insertions, 25 deletions
diff --git a/games/ztrack/Makefile b/games/ztrack/Makefile index 68293df9be61..99c8cdc425e8 100644 --- a/games/ztrack/Makefile +++ b/games/ztrack/Makefile @@ -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> diff --git a/games/ztrack/distinfo b/games/ztrack/distinfo index 65dfe0dbb211..60acd414c562 100644 --- a/games/ztrack/distinfo +++ b/games/ztrack/distinfo @@ -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 diff --git a/games/ztrack/files/patch-aa b/games/ztrack/files/patch-aa deleted file mode 100644 index 833b22bca499..000000000000 --- a/games/ztrack/files/patch-aa +++ /dev/null @@ -1,19 +0,0 @@ -*** ztrack.c Fri Dec 1 02:34:36 1995 ---- /home/andy/tmp/wrk/ztrack.c Tue Apr 29 14:20:07 1997 -*************** -*** 9,15 **** - #include <unistd.h> - #include <fcntl.h> - #include <time.h> -! #include <curses.h> - - - #ifdef HAVE_RANDOM ---- 9,15 ---- - #include <unistd.h> - #include <fcntl.h> - #include <time.h> -! #include <ncurses.h> - - - #ifdef HAVE_RANDOM diff --git a/games/ztrack/files/patch-ztrack.c b/games/ztrack/files/patch-ztrack.c new file mode 100644 index 000000000000..692b421d7d32 --- /dev/null +++ b/games/ztrack/files/patch-ztrack.c @@ -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 diff --git a/games/ztrack/files/ztrack.desktop b/games/ztrack/files/ztrack.desktop new file mode 100644 index 000000000000..dc07f696f738 --- /dev/null +++ b/games/ztrack/files/ztrack.desktop @@ -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 |