diff options
| author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2017-02-02 10:20:28 +0000 |
|---|---|---|
| committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2017-02-02 10:20:28 +0000 |
| commit | f17b5233dee64bee2b656aa073ff24febfe0edf7 (patch) | |
| tree | 1f40131a91c188fafebf883c34f9b6a0a648fd43 /games/ctris/Makefile | |
| parent | d97eadd0f0f554037dae7cea21c1020284e00177 (diff) | |
Notes
Diffstat (limited to 'games/ctris/Makefile')
| -rw-r--r-- | games/ctris/Makefile | 13 |
1 files changed, 8 insertions, 5 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 |
