freebsd-ports/games/latrine/Makefile
Juergen Lock bacfa14837 LaTrine is a curses-based LAnguage TRaINEr. It takes a dictionary and
asks you for a word or a phrase, and you try to give the correct answer.
You can choose in what direction LaTrine shall ask, and the selection of
the words or phrases will depend on how often you don't know the correct
translation for the respective phrase. This is a conventional way to drill
yourself in vocabulary. In addition to this package you need an
appropriate dictionary. You may write your own word list, or you can
download one from the internet. The Free Dictionaries Project provides
dictionaries for about 50 language combinations, which can be used with
LaTrine.

WWW: http://www.godisch.de/debian/latrine/

Approved by:	miwi (mentor, implicit)
2007-02-18 22:19:06 +00:00

35 lines
890 B
Makefile

# New ports collection makefile for: latrine
# Date created: Sun Feb 18 01:13:42 CET 2007
# Whom: Juergen Lock <nox@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= latrine
PORTVERSION= 0.9.0
CATEGORIES= games
MASTER_SITES= http://www.godisch.de/debian/latrine/
MAINTAINER= nox@FreeBSD.org
COMMENT= Curses-based LAnguage TRaINEr
LIB_DEPENDS+= ncursesw.5:${PORTSDIR}/devel/ncurses
GNU_CONFIGURE= yes
CONFIGURE_ARGS= "CFLAGS=-I${LOCALBASE}/include -I${WRKDIR} -D_XOPEN_SOURCE_EXTENDED" LDFLAGS=-L${LOCALBASE}/lib --mandir=${PREFIX}/man
USE_GMAKE= yes
USE_GETTEXT= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/src
MAN1= latrine.1
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 503000
IGNORE= needs libcursesw which doesnt work on this OSVERSION
.endif
post-extract:
${MKDIR} ${WRKDIR}/ncursesw
${LN} -s ${LOCALBASE}/include/ncurses/ncurses.h ${WRKDIR}/ncursesw/ncurses.h
.include <bsd.port.post.mk>