1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/games/latrine/Makefile
Tijl Coosemans a5185846f0 Bump PORTREVISION on all ports with USE_SQLITE=yes or USE_SQLITE=3 that
have not been bumped yet after the latest libsqlite3.so library version
change.

Approved by:	portmgr (implicit)
2014-07-04 09:40:59 +00:00

33 lines
680 B
Makefile

# Created by: Juergen Lock <nox@FreeBSD.org>
# $FreeBSD$
PORTNAME= latrine
PORTVERSION= 1.0.0
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://alioth.debian.org/frs/download.php/3085/
MAINTAINER= ports@FreeBSD.org
COMMENT= Curses-based LAnguage TRaINEr
LICENSE= GPLv3
BUILD_DEPENDS= p5-DBI>0:${PORTSDIR}/databases/p5-DBI
WRKSRC= ${WRKDIR}/${DISTNAME}/src
USE_CSTD= gnu89
USE_SQLITE= 3
USE_PERL5= build
USES= gettext gmake ncurses perl5
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include -D_XOPEN_SOURCE_EXTENDED
LDFLAGS+= -L${LOCALBASE}/lib
post-patch:
@${FIND} ${WRKSRC} -name "*.c" | ${XARGS} ${REINPLACE_CMD} -e \
's|<ncursesw/|<|'
.include <bsd.port.mk>