freebsd-ports/misc/dvorakng/Makefile

34 lines
713 B
Makefile

# 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>