summaryrefslogtreecommitdiff
path: root/games/xhime/Makefile
blob: b2d8f0e3ec94f0a18df87ad7ca8bfeb07cc44f0b (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
# ports collection makefile for:   xhime
# Date created:        25 August 1998
# Whom:                Seiichirou Hiraoka
#
# $FreeBSD$
#

PORTNAME=	xhime
PORTVERSION=	1.51
CATEGORIES=	games
MASTER_SITES=	http://www.tcp-ip.or.jp/~shochan/linux/
DISTFILES=	xhime151.tgz

MAINTAINER=	flathill@FreeBSD.org

WRKSRC=		${WRKDIR}/xhime1.51
USE_IMAKE=	yes
MANCOMPRESSED=	yes
MANLANG=	. ja
MAN6=		xhime.6

NO_CDROM=	'contains commercial character data'

FETCH_BEFORE_ARGS=	-b

post-install:
	strip ${PREFIX}/bin/xhime
	${INSTALL_MAN} ${WRKSRC}/xhime-man.euc \
		${PREFIX}/man/ja/man6
	${MV} ${PREFIX}/man/ja/man6/xhime-man.euc ${PREFIX}/man/ja/man6/xhime.6
	${GZIP_CMD} ${PREFIX}/man/ja/man6/xhime.6
.if !defined(NOPORTDOCS)
	@${MKDIR} ${PREFIX}/share/doc/ja/xhime
	@(cd ${WRKSRC};\
	${INSTALL_MAN} xhime-doc.euc xhime.doc rh110-doc.euc \
		${PREFIX}/share/doc/ja/xhime; \
	)
.endif

.include <bsd.port.mk>