30b55df38e
MASTER_SITES= site1 \ site2 style continuation lines to be simple repeated MASTER_SITES+= site1 MASTER_SITES+= site2 lines. As previewed on tech-pkg. With thanks to rillig for fixing pkglint accordingly.
39 lines
1.2 KiB
Makefile
39 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.32 2017/01/19 18:52:10 agc Exp $
|
|
|
|
DISTNAME= frotz-2.43
|
|
PKGREVISION= 5
|
|
CATEGORIES= games
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=frotz/}
|
|
MASTER_SITES+= 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
|
|
|
|
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 "../../mk/curses.buildlink3.mk"
|
|
.include "../../mk/oss.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|