0c6a3253fe
their files via a custom do-install target.
37 lines
1.2 KiB
Makefile
37 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.23 2008/03/04 06:59:04 jlam Exp $
|
|
|
|
DISTNAME= frotz-2.43
|
|
PKGREVISION= 2
|
|
CATEGORIES= games
|
|
# The maintainer has asked us to use the mirrors instead of www.cs.csubak.edu.
|
|
#MASTER_SITES= http://www.cs.csubak.edu/~dgriffi/frotz/files/
|
|
MASTER_SITES= ftp://ftp.ifarchive.org/if-archive/infocom/interpreters/frotz/
|
|
|
|
MAINTAINER= seebs@plethora.net
|
|
HOMEPAGE= http://www.cs.csubak.edu/~dgriffi/proj/frotz/
|
|
COMMENT= Curses-based interpreter for Infocom-compatible games
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
# 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"
|