1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/games/gtypist/Makefile
Tijl Coosemans 6ead27eb95 Remove libiconv.so.3 compatibility link that was added in r374303 to
prevent massive PORTREVISION bumps.  Bump dependent ports that have not
been bumped since.
2016-12-08 19:23:24 +00:00

41 lines
797 B
Makefile

# $FreeBSD$
PORTNAME= gtypist
PORTVERSION= 2.9.5
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= GNU
MAINTAINER= naddy@FreeBSD.org
COMMENT= Interactive typing tutor
LICENSE= GPLv3
USES= iconv ncurses shebangfix tar:xz
GNU_CONFIGURE= yes
CONFIGURE_ENV= EMACS=no \
ac_cv_header_ncursesw_ncurses_h=yes
CPPFLAGS+= -I${LOCALBASE}/include -I${WRKDIR}/include
CPPFLAGS+= -I${NCURSESINC}
LDFLAGS+= -L${LOCALBASE}/libs
INFO= gtypist gtypist.cs gtypist.es
SHEBANG_FILES= typefortune
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
post-patch:
${REINPLACE_CMD} -e 's|<ncursesw/ncurses.h>|<ncurses.h>|' \
${WRKSRC}/src/error.c \
${WRKSRC}/src/cursmenu.c \
${WRKSRC}/src/script.c \
${WRKSRC}/src/gtypist.c \
${WRKSRC}/src/utf8.c
.include <bsd.port.mk>