summaryrefslogtreecommitdiffstats
path: root/japanese/nethack32/Makefile
blob: 4afd6001fb8508e97be80e95aea4a3211a5441d8 (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
# New ports collection makefile for:	nethack
# Version required:	3.2.1 + 1.0.5.2
# Date created:		13 February 1995
# Whom:			asami
#
# $Id: Makefile,v 1.7 1996/09/17 15:07:33 max Exp $
#

DISTNAME=	nethack-3.2.1
PKGNAME=	jp-nethack-1.0.5.2
CATEGORIES+=	japanese games
MASTER_SITES=	ftp://ftp.uu.net/usenet/comp.sources.games/

PATCH_SITES=	ftp://mitsuko.jaist.ac.jp/pub/jnethack/
PATCHFILES=	jnethack-1.0.5.2.gz

MAINTAINER=	max@FreeBSD.ORG

LIB_DEPENDS=	Xpm\\.4\\.:${PORTSDIR}/graphics/xpm

USE_GMAKE=	yes
SHELL=		/bin/sh
FETCH_BEFORE_ARGS=	-NP

pre-configure:
	@cd ${WRKSRC}/sys/unix; ${SHELL} setup.sh

pre-install:
	@cd ${WRKSRC}/doc; chmod 644 *.6
	@cd ${WRKSRC}/doc; ${MAKE} PREFIX=${PREFIX} manpages

post-install:
.if !defined(NOMANCOMPRESS)
	gzip -9nf ${PREFIX}/man/man6/dlb.6
	gzip -9nf ${PREFIX}/man/man6/dgn_comp.6
	gzip -9nf ${PREFIX}/man/man6/lev_comp.6
	gzip -9nf ${PREFIX}/man/man6/nethack.6
	gzip -9nf ${PREFIX}/man/man6/recover.6
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud