2013-05-06 15:34:17 +00:00
|
|
|
# Created by: Juergen Lock <nox@FreeBSD.org>
|
2007-02-18 22:19:06 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= latrine
|
2012-04-21 18:48:14 +00:00
|
|
|
PORTVERSION= 1.0.0
|
2007-02-18 22:19:06 +00:00
|
|
|
CATEGORIES= games
|
2012-04-21 18:48:14 +00:00
|
|
|
MASTER_SITES= http://alioth.debian.org/frs/download.php/3085/
|
2007-02-18 22:19:06 +00:00
|
|
|
|
2012-03-19 20:26:16 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2007-02-18 22:19:06 +00:00
|
|
|
COMMENT= Curses-based LAnguage TRaINEr
|
|
|
|
|
2012-04-21 18:48:14 +00:00
|
|
|
LICENSE= GPLv3
|
|
|
|
|
|
|
|
BUILD_DEPENDS= p5-DBI>0:${PORTSDIR}/databases/p5-DBI
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
|
|
|
|
|
|
|
USE_CSTD= gnu89
|
|
|
|
USE_SQLITE= 3
|
2013-08-03 13:44:00 +00:00
|
|
|
USE_PERL5= build
|
2013-11-02 23:29:18 +00:00
|
|
|
USES= gettext gmake ncurses perl5
|
2007-02-18 22:19:06 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2012-04-21 18:48:14 +00:00
|
|
|
|
2011-11-25 19:47:04 +00:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include -D_XOPEN_SOURCE_EXTENDED
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2007-02-18 22:19:06 +00:00
|
|
|
|
2007-04-07 18:37:23 +00:00
|
|
|
post-patch:
|
2012-04-21 18:48:14 +00:00
|
|
|
@${FIND} ${WRKSRC} -name "*.c" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
's|<ncursesw/|<|'
|
2007-02-18 22:19:06 +00:00
|
|
|
|
2012-04-21 18:48:14 +00:00
|
|
|
.include <bsd.port.mk>
|