summaryrefslogtreecommitdiff
path: root/games/hugo/Makefile
blob: b5cad0532e9111d4e8d2a1c0d3e7f754af2ec6af (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
# $NetBSD: Makefile,v 1.1.1.1 2004/05/22 23:37:06 dillo Exp $
#

DISTNAME=	hugov30_unix_source
PKGNAME=	hugo-3.0.07
CATEGORIES=	games
MASTER_SITES=	http://www.ifarchive.org/if-archive/programming/hugo/source/
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} hugolib.zip

MAINTAINER=	dillo@NetBSD.org
HOMEPAGE=	http://161.184.245.22/tessman/gcc/hugo.html
COMMENT=	Interactive fiction design system and interpreter

SITES_hugolib.zip=http://www.ifarchive.org/if-archive/programming/hugo/library/

DIST_SUBDIR=	${PKGNAME_NOREV}
USE_BUILDLINK3=	yes
USE_GNU_TOOLS+=	make
# uses halfkey (present since 1.6M)
INCOMPAT_CURSES+=	NetBSD-1.4[Y-Z]* NetBSD-1.5* NetBSD-1.6 NetBSD-1.6.*
INCOMPAT_CURSES+=	NetBSD-1.6[A-L]*
WRKSRC=		${WRKDIR}/hugov3.0.07

LIBDIR=		${PREFIX}/share/hugo

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/hc ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/hd ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/he ${PREFIX}/bin
	${INSTALL_DATA_DIR} ${LIBDIR}
	for f in hugofix.g hugofix.h hugolib.h objlib.h resource.h \
		system.h verblib.g verblib.h verbstub.g verbstub.h window.h; \
	do \
		${INSTALL_DATA} ${WRKDIR}/$$f ${LIBDIR}; \
	done

.include "../../devel/ncurses/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"