aboutsummaryrefslogtreecommitdiffstats
path: root/misc/dvorakng/Makefile
blob: fd826abd6b6fdd01852c08b7ebe0e63e6b0a05ff (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

LICENSE=    GPLv2+
LICENSE_FILE=   ${WRKSRC}/COPYING

USES=       tar:bzip2

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

PLIST_FILES=    bin/dvorakng
PORTDOCS=   README TODO

OPTIONS_DEFINE= DOCS

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/dvorakng ${STAGEDIR}${PREFIX}/bin

do-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>