mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
334369a325
The previous update removed the LIBS definition of MAKE_ARGS, but it is still needed for ports ncurses, so return it back (minus the -lm flag which is no longer needed). Approved by: nurses blanket
34 lines
787 B
Makefile
34 lines
787 B
Makefile
# Created by: Travis Poppe <tlp@liquidx.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ctris
|
|
PORTVERSION= 0.42.1
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= games
|
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
|
COMMENT= Colorized, small, and flexible Tetris(TM)-clone for the console
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= ncurses
|
|
MAKE_ARGS= LIBS="${LDFLAGS} -lncurses"
|
|
|
|
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
|
|
|
|
do-install:
|
|
${INSTALL_MAN} ${WRKSRC}/ctris.6.gz \
|
|
${STAGEDIR}${PREFIX}/man/man6/ctris.6.gz
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ctris ${STAGEDIR}${PREFIX}/bin/ctris
|
|
|
|
.include <bsd.port.mk>
|