summaryrefslogtreecommitdiffstats
path: root/games/oneko/Makefile
blob: 3bd19ce3c0020ec9ca14edc04b918ac3698bd629 (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
42
43
# Created by: asami
# $FreeBSD$

PORTNAME=	oneko
PORTVERSION=	2.0b
PORTREVISION=	5
CATEGORIES=	games
MASTER_SITES=	http://www.3bit.co.jp/~sasaki/oneko/ \
		http://www.net24.ne.jp/~ryo2/archives/:ryo2 \
		http://www2u.biglobe.ne.jp/~hsaka/distfiles/:hsaka
DISTFILES=	oneko-2.0b.tar.gz \
		oneko-2.0b-pop1.1-patch.tar.gz \
		oneko-2.0b-tip1.7.tar.gz:ryo2 \
		oneko-2.0b-sender0.5.tar.gz:hsaka \
		oneko-2.0b-bsd0.2.tar.gz:hsaka
DIST_SUBDIR=	${PORTNAME}

MAINTAINER=	candy@kgc.co.jp
COMMENT=	A cat chasing a mouse all over the screen

BUILD_DEPENDS=	nkf:${PORTSDIR}/japanese/nkf

CONFLICTS=	oneko-1.*

GNU_CONFIGURE=	yes
USE_XORG=	x11 xpm xmu
MAN6=		oneko.6
MANLANG=	"" ja
WRKSRC=		${WRKDIR}/${PORTNAME}
INSTALL_TARGET=	install install.man
MAKE_ARGS=	MANSUFFIX=6 \
		MANDIR=${PREFIX}/man/man6 \
		JMANDIR=${PREFIX}/man/ja/man6

NO_STAGE=	yes
do-patch:
	@(cd ${WRKSRC}; \
	${PATCH} -p1 < ../oneko-2.0b-pop1.1.patch ; \
	${PATCH} -p1 < oneko-2.0b-tip1.7.patch ; \
	${PATCH} -p1 < ../oneko-2.0b-sender0.5.patch ; \
	${PATCH} -p1 < ../oneko-2.0b-bsd0.2.patch )

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