freebsd-ports/games/secretmaryochronicles/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

51 lines
1.1 KiB
Makefile

# New ports collection makefile for: secretmaryochronicles
# Date created: 31 Jan 2008
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# $FreeBSD$
#
PORTNAME= secretmaryochronicles
PORTVERSION= 1.9
PORTREVISION= 5
CATEGORIES= games
MASTER_SITES= SF/smclone/Secret%20Maryo%20Chronicles/${PORTVERSION}
DISTNAME= smc-${PORTVERSION}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Secret Maryo Chronicles two-dimensional platform game
BROKEN= Does not work with CEGUI 0.7.x
LIB_DEPENDS= CEGUIBase-0.7.5:${PORTSDIR}/graphics/cegui \
boost_filesystem.4:${PORTSDIR}/devel/boost-libs \
png.6:${PORTSDIR}/graphics/png
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_SDL= sdl image mixer ttf
USE_GL= gl glu
USE_GETTEXT= yes
MAKE_JOBS_SAFE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
DATADIR= ${PREFIX}/share/smc
post-patch:
@${REINPLACE_CMD} -e '/^LIBS =/ s|$$|$$(INTLLIBS)|' \
${WRKSRC}/src/Makefile.in
.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>