summaryrefslogtreecommitdiffstats
path: root/games/eif/Makefile
blob: 8d05c2638fd82b0c060122532e80e3c21b7ecc9a (plain)
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=	2
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>
OpenPOWER on IntegriCloud