aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2017-02-02 18:20:28 +0800
committerehaupt <ehaupt@FreeBSD.org>2017-02-02 18:20:28 +0800
commit5452f7ff00a928703942df2e42eddbbfd51fa5cc (patch)
tree1f40131a91c188fafebf883c34f9b6a0a648fd43
parent065c426584b2ae68e17d434c5b16e22f62e350fd (diff)
downloadfreebsd-ports-gnome-5452f7ff00a928703942df2e42eddbbfd51fa5cc.tar.gz
freebsd-ports-gnome-5452f7ff00a928703942df2e42eddbbfd51fa5cc.tar.zst
freebsd-ports-gnome-5452f7ff00a928703942df2e42eddbbfd51fa5cc.zip
- Update to 0.42.1
- Move to GitHub - Define LICENSE_FILE
-rw-r--r--games/ctris/Makefile13
-rw-r--r--games/ctris/distinfo5
-rw-r--r--games/ctris/pkg-descr2
3 files changed, 12 insertions, 8 deletions
diff --git a/games/ctris/Makefile b/games/ctris/Makefile
index fcaacaf9e729..a096c2350550 100644
--- a/games/ctris/Makefile
+++ b/games/ctris/Makefile
@@ -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
diff --git a/games/ctris/distinfo b/games/ctris/distinfo
index b114ac325526..d816f851e40e 100644
--- a/games/ctris/distinfo
+++ b/games/ctris/distinfo
@@ -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
diff --git a/games/ctris/pkg-descr b/games/ctris/pkg-descr
index e00d53a40b21..2afa485e28e5 100644
--- a/games/ctris/pkg-descr
+++ b/games/ctris/pkg-descr
@@ -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/