summaryrefslogtreecommitdiff
path: root/games/frotz/Makefile
blob: 1f38b107d5e9dda86fa619c6d634250e37ca1c31 (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
27
28
29
30
31
32
# New ports collection makefile for:	frotz
# Date created:				16 May 1998
# Whom:					Andrey Zakhvatov
#
# $FreeBSD$
#

PORTNAME=	frotz
PORTVERSION=	2.41
CATEGORIES=	games
MASTER_SITES=	ftp://ftp.ifarchive.org/if-archive/infocom/interpreters/frotz/ \
		http://wuarchive.wustl.edu/doc/misc/if-archive/infocom/interpreters/frotz/ \
		http://www.ifarchive.org/if-archive/infocom/interpreters/frotz/

MAINTAINER=	adam@alameda.edu

MAKE_ARGS=	CC="${CC}" OPTS="${CFLAGS}" PREFIX="${PREFIX}" \
		CONFIG_DIR="${PREFIX}/etc" INCL="" LIB=""

MAN6=		frotz.6

do-install:
	@${INSTALL_PROGRAM} ${WRKSRC}/frotz ${PREFIX}/bin
	@${INSTALL_MAN} ${WRKSRC}/frotz.6 ${MANPREFIX}/man/man6
.if !defined(NOPORTDOCS)
	@${MKDIR} ${PREFIX}/share/doc/frotz
.for file in BUGS HOW_TO_PLAY README
	@${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/frotz
.endfor
.endif

.include <bsd.port.mk>