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
|
|
|
|
USE_PERL5_BUILD=yes
|
2013-05-06 15:34:17 +00:00
|
|
|
USES= gettext ncurses
|
2012-04-21 18:48:14 +00:00
|
|
|
USE_GMAKE= yes
|
2007-02-18 22:19:06 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2012-04-21 18:48:14 +00:00
|
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
|
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
|
|
|
|
2012-04-21 18:48:14 +00:00
|
|
|
MAN1= latrine.1
|
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>
|