aboutsummaryrefslogtreecommitdiffstats
path: root/games/gtypist/Makefile
blob: 3261e2b57b840307609fc36209cbecdcd23b282e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# $FreeBSD$

PORTNAME=   gtypist
PORTVERSION=    2.9.5
CATEGORIES= games
MASTER_SITES=   ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= naddy@FreeBSD.org
COMMENT=    Interactive typing tutor

LICENSE=    GPLv3

USES=       iconv shebangfix tar:xz
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  EMACS=no
CPPFLAGS+=  -I${LOCALBASE}/include -I${WRKDIR}/include
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

# wide curses header expected at <ncursesw/ncurses.h>
pre-configure:
    @${MKDIR} ${WRKDIR}/include
    @${LN} -sf /usr/include ${WRKDIR}/include/ncursesw

.include <bsd.port.mk>