aboutsummaryrefslogtreecommitdiffstats
path: root/games/frotz/Makefile
blob: a5fe55f313ff8f063b6ab846db0acf732cc163df (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
# New ports collection makefile for:    frotz
# Date created:             16 May 1998
# Whom:                 Andrey Zakhvatov
#
# $FreeBSD$
#

PORTNAME=   frotz
PORTVERSION=    2.41
CATEGORIES= games
MASTER_SITES=   http://www.cs.csubak.edu/~dgriffi/frotz/files/ \
        ftp://ftp.gmd.de/if-archive/infocom/interpreters/frotz/

MAINTAINER= ports@FreeBSD.org

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>