summaryrefslogtreecommitdiff
path: root/games/secretmaryochronicles/Makefile
blob: ea0dde1c592902d48a07f1bb7051eb90914f5136 (plain) (blame)
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
# New ports collection makefile for:	secretmaryochronicles
# Date created:		31 Jan 2008
# Whom:			Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# $FreeBSD$
#

PORTNAME=	secretmaryochronicles
PORTVERSION=	1.5
CATEGORIES=	games
MASTER_SITES=	SF
MASTER_SITE_SUBDIR=	smclone
DISTNAME=	smc-${PORTVERSION}

MAINTAINER=	amdmi3@FreeBSD.org
COMMENT=	Secret Maryo Chronicles two-dimensional platform game

LIB_DEPENDS=	CEGUIBase.1:${PORTSDIR}/graphics/cegui \
		boost_filesystem.4:${PORTSDIR}/devel/boost \
		png.5:${PORTSDIR}/graphics/png

USE_BZIP2=	yes
GNU_CONFIGURE=	yes
USE_GMAKE=	yes
USE_SDL=	sdl image mixer ttf
USE_GL=		gl glu
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

CONFIGURE_ENV=	LDFLAGS="-L${LOCALBASE}/lib" \
		CPPFLAGS="-I${LOCALBASE}/include"

DATADIR=	${PREFIX}/share/smc

.if !defined(NOPORTDOCS)
PORTDOCS=	controls.html style.css

post-install:
	${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/docs/${f} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>