blob: 18b0bdf06e2429258de86010ece5cfc9bb0061fd (
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
|
# $NetBSD: Makefile,v 1.27 2012/10/06 11:54:39 asau Exp $
DISTNAME= frotz-2.43
PKGREVISION= 3
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=frotz/} \
ftp://ftp.ifarchive.org/if-archive/infocom/interpreters/frotz/
MAINTAINER= seebs@plethora.net
HOMEPAGE= http://frotz.sourceforge.net/
COMMENT= Curses-based interpreter for Infocom-compatible games
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} != "Darwin"
MAKE_ENV+= SOUND_DEFS=-DOSS_SOUND
MAKE_ENV+= SOUND_LIB=${LIBOSSAUDIO}
MAKE_ENV+= SOUND_DEV=${DEVOSSSOUND}
.endif
# setscrreg()
INCOMPAT_CURSES= NetBSD-1.5-* NetBSD-1.5.*-* NetBSD-1.5[A-V]-*
SAMPLEDIR= ${PREFIX}/share/examples/frotz
DOCDIR= ${PREFIX}/share/doc/frotz
INSTALLATION_DIRS= bin ${PKGMANDIR}/man6
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/frotz ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/frotz.6 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man6
${INSTALL_DATA_DIR} ${DESTDIR}${SAMPLEDIR}
${INSTALL_DATA} ${WRKSRC}/doc/frotz.conf-big \
${DESTDIR}${SAMPLEDIR}/frotz.conf
${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
cd ${WRKSRC} && ${INSTALL_DATA} README INSTALL HOW_TO_PLAY \
${DESTDIR}${DOCDIR}
.include "../../devel/ncurses/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|