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
WWW=		https://www.toyoshima-house.net/classic/mf/index.html

# Converted from RESTRICTED
LICENSE=	mindfocus
LICENSE_NAME=	mindfocus
LICENSE_TEXT=	'contains commercial character data'
LICENSE_PERMS=	auto-accept

USES=		imake xorg
USE_XORG=	xpm

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

OPTIONS_DEFINE=	DOCS EXAMPLES

post-install:
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKDIR}/*.mfc ${STAGEDIR}${EXAMPLESDIR}
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/pixmaps
	${INSTALL_DATA} ${WRKDIR}/pixmaps/*.xpm ${STAGEDIR}${EXAMPLESDIR}/pixmaps
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/doc/*.euc ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>
