freebsd-ports/japanese/slimeforest/Makefile
Nicola Vitale 493f5c9c0b - Update to 158
- Update MASTER_SITES
- Add LICENSE (GPLv2)
- Add support for stage-dir (with a different approach
  from the related PR [1])
- Add files/slimeforest.sh.in

PR:	187879 [1]
Submitted by:	 <xmj@chaot.net>
2014-07-12 04:22:39 +00:00

40 lines
991 B
Makefile

# 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>