aboutsummaryrefslogtreecommitdiffstats
path: root/games/oneko/Makefile
blob: fff7e7bb985c33335778624f6b8a4e79d23ba63e (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
# 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
WRKSRC=     ${WRKDIR}/${PORTNAME}
INSTALL_TARGET= install install.man
MAKE_ARGS=  MANSUFFIX=6 \
        MANDIR=${PREFIX}/man/man6 \
        JMANDIR=${PREFIX}/man/ja/man6

pre-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 ; \
    ${PATCH} < ${FILESDIR}/extrapatch-Makefile.in )

.include <bsd.port.mk>