aboutsummaryrefslogtreecommitdiffstats
path: root/misc/dvorakng/Makefile
blob: 7125c10588952249006eafa0454cd308d1f50199 (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: ijliao
# $FreeBSD$

PORTNAME=   dvorakng
PORTVERSION=    0.5.0
PORTREVISION=   1
CATEGORIES= misc
MASTER_SITES=   http://www.free.of.pl/n/nopik/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Dvorak typing tutor

USE_BZIP2=  yes

WRKSRC=     ${WRKDIR}/${PORTNAME}
MAKE_ARGS=  CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS} ${CPPFLAGS}" \
        CXXFLAGS="${CXXFLAGS} ${CPPFLAGS}" LDFLAGS="${LDFLAGS}"

NO_STAGE=   yes
.include <bsd.port.options.mk>

PLIST_FILES=    bin/dvorakng
.if ${PORT_OPTIONS:MDOCS}
PORTDOCS=   README TODO
.endif

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/dvorakng ${PREFIX}/bin
.if ${PORT_OPTIONS:MDOCS}
    @${MKDIR} ${DOCSDIR}
    cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>