aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/nethack34/Makefile
blob: f8aaca375bcd7962fa8d87e0786185878d9ab026 (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
39
40
41
# New ports collection makefile for:    nethack
# Version required: 3.2.1 + 1.0.5.3-beta-960925
# Date created:     13 February 1995
# Whom:         asami
#
# $Id: Makefile,v 1.8 1996/09/21 00:52:29 asami Exp $
#

DISTNAME=   nethack-3.2.1
PKGNAME=    jp-nethack-1.0.5.3.1
CATEGORIES+=    japanese games
MASTER_SITES=   ftp://prep.ai.mit.edu/pub/gnu/

PATCH_SITES=    ftp://mitsuko.jaist.ac.jp/pub/jnethack/
PATCHFILES= jnethack-1.0.5.3-beta-960925.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>