summaryrefslogtreecommitdiffstats
path: root/games/ifm/Makefile
blob: 13b1cd94b4cb2c273d19889fc585d4ed1eed796e (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# New ports collection makefile for:	ifm
# Date created:				Mon Oct 12 12:32:07 EDT 1998
# Whom:					Dave Chapeskie <dchapes@ddm.on.ca>
#
# $FreeBSD$
#

PORTNAME=	ifm
PORTVERSION=	5.1
CATEGORIES=	games tk84
MASTER_SITES=	http://www.ifarchive.org/%SUBDIR%/ \
		ftp://ftp.ifarchive.org/%SUBDIR%/ \
		ftp://www.plover.net/%SUBDIR%/ \
		ftp://ftp.guetech.org/%SUBDIR%/ \
		ftp://mirror.holmoak.co.uk/%SUBDIR%/ \
		ftp://ftp.funet.fi/pub/misc/%SUBDIR%/ \
		ftp://wuarchive.wustl.edu/doc/misc/%SUBDIR%/
MASTER_SITE_SUBDIR=	if-archive/mapping-tools

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Interactive Fiction mapper and walkthrough generator

RUN_DEPENDS=	wish8.4:${PORTSDIR}/x11-toolkits/tk84

USE_PERL5=	yes
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV=	WISH=${LOCALBASE}/bin/wish8.4

post-patch:
	@${PERL} -pi -e 's|lib doc progs|lib progs|g' ${WRKSRC}/Makefile.in

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/doc/ifm.pdf ${DOCSDIR}
	@${MKDIR} ${DOCSDIR}/html
	${INSTALL_DATA} ${WRKSRC}/doc/ifm/* ${DOCSDIR}/html
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud