1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00
freebsd-ports/devel/love/Makefile

56 lines
1.4 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: love
# Date created: 01 Aug 2008
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= love
2012-04-23 18:37:52 +00:00
PORTVERSION= 0.8.0
PORTREVISION= 2
CATEGORIES= devel games
MASTER_SITES= http://cdn.bitbucket.org/rude/love/downloads/ \
http://mirror.amdmi3.ru/distfiles/
DISTNAME= ${PORTNAME}-${PORTVERSION}-linux-src
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Open-source 2D game engine
2009-02-20 17:11:06 +00:00
LIB_DEPENDS= IL.2:${PORTSDIR}/graphics/devil \
modplug.1:${PORTSDIR}/audio/libmodplug \
mpg123.0:${PORTSDIR}/audio/mpg123 \
vorbisfile.6:${PORTSDIR}/audio/libvorbis \
physfs.1:${PORTSDIR}/devel/physfs \
freetype.9:${PORTSDIR}/print/freetype2
BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs
USE_GMAKE= yes
USE_OPENAL= yes
USE_SDL= sdl mixer
USE_GL= gl glu
USE_LUA= 5.1+
2008-10-02 22:34:49 +00:00
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2 \
-I${LUA_INCDIR} `${SDL_CONFIG} --cflags`
LDFLAGS+= -L${LOCALBASE}/lib -L${LUA_LIBDIR}
2008-10-02 22:34:49 +00:00
CONFIGURE_ARGS= --bindir=${PREFIX}/bin --libdir=${PREFIX}/lib
2012-04-23 18:37:52 +00:00
WRKSRC= ${WRKDIR}/love-${PORTVERSION}
2008-10-02 22:34:49 +00:00
PLIST_FILES= bin/love
PORTDOCS= *
2008-09-03 16:03:01 +00:00
post-patch:
2012-04-23 18:37:52 +00:00
@${REINPLACE_CMD} -e '/^prefix=/ d; /^bindir=/ d; /^libdir=/ d; \
/test/ s|==|=|' ${WRKSRC}/configure
.if !defined(NOPORTDOCS)
2008-10-02 22:34:49 +00:00
post-install:
${MKDIR} ${DOCSDIR}
2012-04-23 18:37:52 +00:00
.for f in changes.txt readme.md
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>