aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/nethack34/Makefile
blob: df69f32576b1a7eaa0ec1efcbac4ce0ea22d8756 (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
42
# New ports collection makefile for:    JNetHack 3.4.x
# Date created:     16 June 2002
# Whom:         Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#

PORTREVISION=   1

CATEGORIES= japanese games

MAINTAINER= knu@FreeBSD.org

MASTERDIR=  ${.CURDIR}/../../games/nethack34

FILESDIR=   ${.CURDIR}/files
PATCHDIR=   ${.CURDIR}/files
MD5_FILE=   ${.CURDIR}/distinfo
COMMENT=    ${.CURDIR}/pkg-comment
DESCR=      ${.CURDIR}/pkg-descr
PLIST=      ${.CURDIR}/pkg-plist

PATCH_SITES=    http://downloads.sourceforge.jp/jnethack/789/
PATCHFILES= jnethack-${PORTVERSION}-0.7.diff.gz
PATCH_DIST_STRIP=   -p1

USE_BISON=  yes

HACKNAME?=  jnethack
HACKDOCSDIR?=   share/doc/ja/nethack

post-install: jnethack-post-install

jnethack-post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${PREFIX}/${HACKDOCSDIR}
.for i in README.j ChangeLog.j INSTALL.j
    ${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/${HACKDOCSDIR}
.endfor
.endif

.include "${MASTERDIR}/Makefile"