summaryrefslogtreecommitdiffstats
path: root/games/mindfocus/Makefile
blob: d30f56bf53a77e159a187519276598f3b611c7f2 (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
44
45
46
47
48
# Created by: Sugimoto Sadahiro <ixtl@utmc.or.jp>
# $FreeBSD$

PORTNAME=	mindfocus
PORTVERSION=	0.88
PORTREVISION=	2
CATEGORIES=	games
MASTER_SITES=	http://www.toyoshima-house.net/classic/mf/files/
DISTFILES=	mindfocus-0.88.tar.gz mindfocus-data1.tar.gz

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Lovely characters stay on top of active window

USES=		imake
USE_XORG=	xpm
RESTRICTED=	'contains commercial character data'

DOCSDIR=	${PREFIX}/share/doc/ja/${PORTNAME}

NO_STAGE=	yes

OPTIONS_DEFINE=	DOCS

.include <bsd.port.options.mk>

post-install:
.for i in mayu.mfc mio.mfc misaki2.mfc mizuka.mfc myu.mfc ryoko.mfc
	${INSTALL_DATA} ${WRKDIR}/$i ${EXAMPLESDIR}
.endfor
.for i in mayu1.xpm mayu2.xpm mayu3.xpm mayu4.xpm \
	mio1.xpm mio2.xpm mio3.xpm mio4.xpm \
	misaki2-1.xpm misaki2-2.xpm misaki2-3.xpm misaki2-4.xpm \
	mizuka1.xpm mizuka2.xpm mizuka3.xpm mizuka4.xpm \
	myu1.xpm myu2.xpm myu3.xpm myu4.xpm \
	ryoko1.xpm ryoko2.xpm ryoko3.xpm ryoko4.xpm
	${INSTALL_DATA} ${WRKDIR}/pixmaps/$i ${EXAMPLESDIR}/pixmaps
.endfor

.if ${PORT_OPTIONS:MDOCS}
	${MKDIR} ${DOCSDIR}
	${INSTALL_MAN} ${WRKSRC}/doc/HISTORY.euc ${DOCSDIR}
	${INSTALL_MAN} ${WRKSRC}/doc/MFC.euc ${DOCSDIR}
	${INSTALL_MAN} ${WRKSRC}/doc/README.euc ${DOCSDIR}
	${INSTALL_MAN} ${WRKSRC}/doc/SCRIPT.euc ${DOCSDIR}
	${INSTALL_MAN} ${WRKSRC}/doc/TODO.euc ${DOCSDIR}
.endif

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