aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/nethack/Makefile
blob: 09ab83398e3a5f20ca2b79c799046b98a667afa2 (plain) (blame)
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
# New ports collection makefile for:    nethack
# Version required: 3.1.3 + 1.0.3
# Date created:     13 February 1995
# Whom:         asami
#
# $Id: Makefile,v 1.2 1995/05/14 02:48:43 asami Exp $
#

DISTNAME=   nethack3.1.3
PKGNAME=    jp-nethack-1.0.3
CATEGORIES+=    japanese games
MASTER_SITES=   ftp://ftp.uu.net/usenet/comp.sources.games/
EXTRACT_SUFX=   .tar.Z

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

MAINTAINER= asami@FreeBSD.ORG

WRKSRC=     ${WRKDIR}/nethack313
USE_GMAKE=  yes
SHELL=      /bin/sh
NCFTPFLAGS= -NP

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

pre-install:
    @cd ${WRKSRC}/doc; ${MAKE} manpages


post-install:
    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

.include <bsd.port.mk>