1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/misc/dvorak7min/Makefile
Christian Weisgerber b4e9022788 Fix build on 4.x.
Reported by:	Li-lun Wang <llwang@infor.org>
2003-02-14 20:19:42 +00:00

34 lines
721 B
Makefile

# New ports collection makefile for: dvorak7min
# Date created: 31 Jan 2003
# Whom: Leland Wang <llwang@infor.org>
#
# $FreeBSD$
#
PORTNAME= dvorak7min
PORTVERSION= 1.6
CATEGORIES= misc
MASTER_SITES= http://lightside.eresmas.com/
MAINTAINER= llwang@infor.org
COMMENT= An ncurses-based Dvorak typing tutor
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500041
LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
MAKE_ARGS= PROF="-I${LOCALBASE}/include ${CFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib" \
LIBS="-lncurses -lgnugetopt"
.else
MAKE_ARGS= PROF="${CFLAGS}"
.endif
pre-build:
@cd ${WRKSRC} ; ${MAKE} clean
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/dvorak7min ${PREFIX}/bin
.include <bsd.port.post.mk>