aboutsummaryrefslogblamecommitdiff
path: root/games/latrine/Makefile
blob: a1f68ba36ded915479454f2a1eb966df991e5948 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                            
           

                       
                     
                 
                     
                                                               
 
                                 

                                             
                           

                                             
 

                     
                                         



                                         
                     
                                                  
                   
 

                                                               
 
           

                                                                       
 
                      
# 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

BROKEN=		unfetchable
DEPRECATED=	Broken for more than 6 months
EXPIRATION_DATE=	2016-07-04

LICENSE=	GPLv3

BUILD_DEPENDS=	p5-DBI>0:databases/p5-DBI

WRKSRC=		${WRKDIR}/${DISTNAME}/src

USE_CSTD=	gnu89
USE_PERL5=	build
USES=		gettext gmake ncurses perl5 sqlite
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>