PORTNAME=	SearchAndRescue
PORTVERSION=	1.3.0
CATEGORIES=	games
MASTER_SITES=	SF/${PORTNAME:tl}/Data_Files/
PKGNAMESUFFIX=	-data
DISTNAME=	${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	The data files for SearchAndRescue flight simulator
WWW=		https://searchandrescue.sourceforge.net/

NO_BUILD=	yes
NO_WRKSUBDIR=	yes
STAGEDIR=	${WRKDIR}/.stage
NO_ARCH=	yes

DATADIR=	${PREFIX}/share/${PORTNAME:tl}
PORTDATA=	*

do-install:
	${MKDIR} ${STAGEDIR}${DATADIR}
	cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR}

.include <bsd.port.mk>
