aboutsummaryrefslogtreecommitdiffstats
path: root/games/banihstypos/Makefile
blob: f3467b904a6b73132cffd3605dbd43b927d440ab (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
# Created by: Philippe Audeoud <jadawin@tuxaco.net>

PORTNAME=   banihstypos
PORTVERSION=    0.2
CATEGORIES= games
MASTER_SITES=   http://www.vanheusden.com/banihstypos/
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    Simple game to teach you typing, fast

USES=       ncurses
MAKE_ARGS=  LDFLAGS="${LDFLAGS} -lncurses"
SUB_FILES=  pkg-message
SUB_LIST=   PORTNAME=${PORTNAME}

PLIST_FILES=    bin/banihstypos

OPTIONS_DEFINE= DOCS

.include <bsd.port.options.mk>

.if ! ${PORT_OPTIONS:MDOCS}
PORTDOCS=   readme.txt
.endif

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/banihstypos ${STAGEDIR}${PREFIX}/bin
.if ! ${PORT_OPTIONS:MDOCS}
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR}
.endif

.include <bsd.port.mk>