svn commit: r318158 - head/games/gti
TAKATSU Tomonari
tota at FreeBSD.org
Tue May 14 13:31:44 UTC 2013
Author: tota
Date: Tue May 14 13:31:42 2013
New Revision: 318158
URL: http://svnweb.freebsd.org/changeset/ports/318158
Log:
- Update to 1.1.0
* Add a man page
* Expose the speed of the animation
- Trim Makefile header
- Replace tab with a space after WWW: in pkg-descr
Modified:
head/games/gti/Makefile
head/games/gti/distinfo
head/games/gti/pkg-descr
Modified: head/games/gti/Makefile
==============================================================================
--- head/games/gti/Makefile Tue May 14 10:54:13 2013 (r318157)
+++ head/games/gti/Makefile Tue May 14 13:31:42 2013 (r318158)
@@ -1,12 +1,8 @@
-# New ports collection makefile for: gti
-# Date created: 2012-08-16
-# Whom: TAKATSU Tomonari <tota at FreeBSD.org>
-#
+# Created by: TAKATSU Tomonari <tota at FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= gti
-PORTVERSION= 1.0.4
+PORTVERSION= 1.1.0
CATEGORIES= games
MAINTAINER= tota at FreeBSD.org
@@ -15,16 +11,26 @@ COMMENT= Just a silly git launcher, basi
USE_GITHUB= yes
GH_ACCOUNT= rwos
GH_TAGNAME= v${PORTVERSION}
-GH_COMMIT= e16ca0b
+GH_COMMIT= 5afb520
-ALL_TARGET= ${PORTNAME}
+MAN6= ${PORTNAME}.6
PLIST_FILES= bin/${PORTNAME}
+GTI_SPEED?= 50
+CFLAGS+= -DGTI_SPEED=${GTI_SPEED}
+
+pre-everything::
+ @${ECHO_MSG}
+ @${ECHO_MSG} " You can change the speed of the car at compile time."
+ @${ECHO_MSG} " For example: \"make GTI_SPEED=100\" # default is 50"
+ @${ECHO_MSG}
+
do-build:
@${CC} ${CFLAGS} -o ${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.c
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+ @${INSTALL_MAN} ${WRKSRC}/${MAN6} ${MANPREFIX}/man/man6
.include <bsd.port.mk>
Modified: head/games/gti/distinfo
==============================================================================
--- head/games/gti/distinfo Tue May 14 10:54:13 2013 (r318157)
+++ head/games/gti/distinfo Tue May 14 13:31:42 2013 (r318158)
@@ -1,2 +1,2 @@
-SHA256 (gti-1.0.4.tar.gz) = 72fdc62d1977052567944d709e31ac41bfdf7a179a3ac6a71a8e1c67ff2102ed
-SIZE (gti-1.0.4.tar.gz) = 1617
+SHA256 (gti-1.1.0.tar.gz) = 6cfb137dc9cedcf54202182d424ed394ed55c93c0109d4464a0d4fcf81b0050b
+SIZE (gti-1.1.0.tar.gz) = 2454
Modified: head/games/gti/pkg-descr
==============================================================================
--- head/games/gti/pkg-descr Tue May 14 10:54:13 2013 (r318157)
+++ head/games/gti/pkg-descr Tue May 14 13:31:42 2013 (r318158)
@@ -10,4 +10,4 @@ This whole thing is heavily inspired by
locomotive. However, gti is actually nicer than sl as it at least
executes git after the animation. :-)
-WWW: http://r-wos.org/hacks/gti
+WWW: http://r-wos.org/hacks/gti
More information about the svn-ports-all
mailing list