aboutsummaryrefslogblamecommitdiff
path: root/japanese/slimeforest/Makefile
blob: 78b82bfdabf722f94ef42f4434e5870ae9e83cf3 (plain) (tree)
1
2
3
4
5
6
7
8
9
                            
           

                           

                   
                                    
                                                                                     
                                

                    
                                          
 
                                 
                                                                        
 

                     
                   




                                  
                   
                        

                                     

           







                                                                           

                      
# Created by: nivit@email.it
# $FreeBSD$

PORTNAME=	slimeforest
PORTVERSION=	158
PORTREVISION=	0
CATEGORIES=	japanese games linux
MASTER_SITES=	http://nivit.altervista.org/FreeBSD/ports/distfiles/${DIST_SUBDIR}/ \
		http://lrnj.com/
DISTNAME=	sfa
EXTRACT_SUFX=	.tgz
DIST_SUBDIR=	${PORTNAME}/${PORTVERSION}

MAINTAINER=	nivit@FreeBSD.org
COMMENT=	NES RPG game for learning KANA and KANJI (Linux version)

LICENSE=	GPLv2

NO_BUILD=	yes

PLIST_SUB=	BINMODE=${BINMODE}

SUB_FILES=	${PORTNAME}.sh

USE_LINUX=	yes
USE_LINUX_APPS=	sdlimage

WRKSRC=		${WRKDIR}/slimeforest

do-install:
	${MKDIR} ${STAGEDIR}${DATADIR}
	(cd ${WRKSRC}/jquest && \
	${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} \
		'! -name *\.bak -and ! -name *\.txt -and ! -name jquest64')
	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh \
		${STAGEDIR}${PREFIX}/bin/${PORTNAME}.sh
	@${LN} -sf slimeforest.sh ${STAGEDIR}${PREFIX}/bin/slimeforest-fs
	@${LN} -sf slimeforest.sh ${STAGEDIR}${PREFIX}/bin/slimeforest-win

.include <bsd.port.mk>