Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Feb 2017 10:20:28 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r433135 - head/games/ctris
Message-ID:  <201702021020.v12AKSkg016118@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Thu Feb  2 10:20:28 2017
New Revision: 433135
URL: https://svnweb.freebsd.org/changeset/ports/433135

Log:
  - Update to 0.42.1
  - Move to GitHub
  - Define LICENSE_FILE

Modified:
  head/games/ctris/Makefile
  head/games/ctris/distinfo
  head/games/ctris/pkg-descr

Modified: head/games/ctris/Makefile
==============================================================================
--- head/games/ctris/Makefile	Thu Feb  2 09:39:25 2017	(r433134)
+++ head/games/ctris/Makefile	Thu Feb  2 10:20:28 2017	(r433135)
@@ -2,22 +2,25 @@
 # $FreeBSD$
 
 PORTNAME=	ctris
-PORTVERSION=	0.42
+PORTVERSION=	0.42.1
+DISTVERSIONPREFIX=	v
 CATEGORIES=	games
-MASTER_SITES=	http://www.hackl.dhs.org/data/download/files/ \
-		LOCAL/ehaupt
 
 MAINTAINER=	ehaupt@FreeBSD.org
 COMMENT=	Colorized, small, and flexible Tetris(TM)-clone for the console
 
 LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		ncurses tar:bzip2
-MAKE_ARGS=	LIBS="${LDFLAGS} -lncurses -lm"
+USES=		ncurses
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	dominikhackl
 
 PLIST_FILES=	bin/ctris man/man6/ctris.6.gz
 
 post-patch:
+	@${REINPLACE_CMD} -e "s|v0\.42|v${PORTVERSION}|" ${WRKSRC}/ctris.h
 	@${REINPLACE_CMD} -e "s|gcc|${CC}|" -e "s|CFLAGS=.*|CFLAGS+=-Wall|" \
 		 ${WRKSRC}/Makefile
 

Modified: head/games/ctris/distinfo
==============================================================================
--- head/games/ctris/distinfo	Thu Feb  2 09:39:25 2017	(r433134)
+++ head/games/ctris/distinfo	Thu Feb  2 10:20:28 2017	(r433135)
@@ -1,2 +1,3 @@
-SHA256 (ctris-0.42.tar.bz2) = 4f8acca2c37b53bd319aa011a59684f5051d7dcb37d4459c100ee50f66cf38b0
-SIZE (ctris-0.42.tar.bz2) = 13890
+TIMESTAMP = 1486030284
+SHA256 (dominikhackl-ctris-v0.42.1_GH0.tar.gz) = c5fe3e70b76129ea83cac85a3c5dbc084066a62d7ef4edcc73c545ee89222ed8
+SIZE (dominikhackl-ctris-v0.42.1_GH0.tar.gz) = 16116

Modified: head/games/ctris/pkg-descr
==============================================================================
--- head/games/ctris/pkg-descr	Thu Feb  2 09:39:25 2017	(r433134)
+++ head/games/ctris/pkg-descr	Thu Feb  2 10:20:28 2017	(r433135)
@@ -1,4 +1,4 @@
 ctris is a colorized, small and flexible Tetris(TM)-clone for the console.
 It also has some small special features. (e.g. a highscore-list)
 
-WWW: http://www.hackl.dhs.org/ctris/
+WWW: https://github.com/dominikhackl/ctris/



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