aboutsummaryrefslogtreecommitdiffstats
path: root/games/eif/Makefile
blob: 63f3dbc475d817dd2d5355f07f4e7ea7493a9569 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Created by: johans
# $FreeBSD$

PORTNAME=   eif
PORTVERSION=    1.3.4
PORTREVISION=   3
CATEGORIES= games ipv6
MASTER_SITES=   http://www.stack.nl/~marcolz/empire/ \
        ftp://ftp.stack.nl/pub/users/johans/eif/

MAINTAINER= johans@FreeBSD.org
COMMENT=    Empire text client

GNU_CONFIGURE=  yes
USES=       ncurses readline shebangfix
SHEBANG_FILES=  contrib/*.pl

.include <bsd.port.pre.mk>

post-patch:
    @${REINPLACE_CMD} -e '/curout_isapipe/d' ${WRKSRC}/src/data.h
    @${REINPLACE_CMD} -e '/cd .(pkglibdir)/s/cd /&$$(DESTDIR)/' \
        ${WRKSRC}/contrib/Makefile.in
    @${REINPLACE_CMD} -e 's@lcurses@lncurses@g' ${WRKSRC}/configure

.include <bsd.port.post.mk>