blob: eafbfdd7e0a71db30772784e85ce733ec1c25b16 (
plain) (
tree)
|
|
# $FreeBSD$
PORTNAME= gtypist
PORTVERSION= 2.9.3
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= naddy@FreeBSD.org
COMMENT= Interactive typing tutor
USE_XZ= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= EMACS=no
CPPFLAGS= -I${WRKDIR}/include
INFO= gtypist gtypist.cs gtypist.es
MAN1= gtypist.1 typefortune.1
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
# wide curses header expected at <ncursesw/ncurses.h>
pre-configure:
@${MKDIR} ${WRKDIR}/include
@${LN} -sf /usr/include ${WRKDIR}/include/ncursesw
.include <bsd.port.mk>
|