mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
515db2ed10
GCC 4.2 in FreeBSD 8.X/9.X base is now too old to compile OpenEXR, so GCC-based systems will upgrade to the default ports compiler (GCC 4.7 currently.) Add two patches to OpenEXR to permit building it in a live system with the older OpenEXR version installed. Bug report filed to upstream Github at https://github.com/openexr/openexr/issues/130 Couple OpenEXR more tightly to ilmbase and require its exact .so version. Add UPDATING note, and bump PORTREVISION of all dependent ports. Proto-STAGE hugin-devel, and mark it IGNORE because hugin is newer. Approved by: portmgr (implicit for bumping PORTREVISION on unstaged ports)
61 lines
1.6 KiB
Makefile
61 lines
1.6 KiB
Makefile
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= love
|
|
PORTVERSION= 0.7.2
|
|
PORTREVISION= 7
|
|
CATEGORIES= devel games
|
|
MASTER_SITES= http://cdn.bitbucket.org/rude/love/downloads/ \
|
|
http://mirror.amdmi3.ru/distfiles/
|
|
PKGNAMESUFFIX= 07
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-linux-src
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
COMMENT= Open-source 2D game engine
|
|
|
|
LIB_DEPENDS= libIL.so:${PORTSDIR}/graphics/devil \
|
|
libmodplug.so:${PORTSDIR}/audio/libmodplug \
|
|
libmpg123.so:${PORTSDIR}/audio/mpg123 \
|
|
libvorbisfile.so:${PORTSDIR}/audio/libvorbis \
|
|
libphysfs.so:${PORTSDIR}/devel/physfs \
|
|
libfreetype.so:${PORTSDIR}/print/freetype2
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs
|
|
|
|
PORTSCOUT= limit:^0\.7\.
|
|
|
|
USES= gmake openal dos2unix lua:51
|
|
USE_SDL= sdl mixer
|
|
USE_GL= gl glu
|
|
GNU_CONFIGURE= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2 \
|
|
-I${LUA_INCDIR} `${SDL_CONFIG} --cflags`
|
|
LDFLAGS+= -L${LOCALBASE}/lib -L${LUA_LIBDIR}
|
|
CONFIGURE_ARGS= --bindir=${PREFIX}/bin --libdir=${PREFIX}/lib \
|
|
--program-suffix=07
|
|
WRKSRC= ${WRKDIR}/love-HEAD
|
|
DOS2UNIX_FILES= src/modules/graphics/opengl/GLee.h
|
|
|
|
PLIST_FILES= bin/love07
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}07
|
|
PORTDOCS= *
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/^prefix=/ d; /^bindir=/ d; /^libdir=/ d' \
|
|
-e "s/lua5.1/lua-${LUA_VER}/g" \
|
|
${WRKSRC}/configure
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for f in changes.txt readme.txt
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|