summaryrefslogtreecommitdiff
path: root/games/wanderer/Makefile
blob: cf577b263ca7a30b5b7ae530e0d5e68de56c2334 (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
27
PORTNAME=	wanderer
PORTVERSION=	3.2
PORTREVISION=	1
CATEGORIES=	games
MASTER_SITES=	http://www.e271.net/~marina/ \
		http://www.steveshipway.org/software/wanderer/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Rogue like adventure game
WWW=		https://www.steveshipway.org/software/wanderer/f_wanderer.html

LICENSE=	GPLv2+

USES=		ncurses
MAKE_ENV=	MKDIR="${MKDIR}"
CFLAGS+=	-Wno-return-type

post-patch:
	@${REINPLACE_CMD} -e \
		's|-o root -g games|| ; \
		 s|install -m 0755 -d|$${MKDIR}| ; \
		 s|install -m 0644|$${BSD_INSTALL_DATA}| ; \
		 s|install -m 2755|$${BSD_INSTALL_PROGRAM}| ; \
		 s|man/man6|share/man/man6| ; \
		 s|/usr/local|$${PREFIX}|g' ${WRKSRC}/Makefile

.include <bsd.port.mk>