freebsd-ports/graphics/radius-engine/Makefile
Niclas Zeising be6c15b5c6 Add USES=xorg USES=gl, ports categories g
Add USES=xorg and USES=gl to ports in categories starting with 'g'.
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-05 22:16:14 +00:00

34 lines
755 B
Makefile

# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
# $FreeBSD$
PORTNAME= radius-engine
PORTVERSION= 1.1
PORTREVISION= 5
CATEGORIES= graphics devel
MASTER_SITES= SF/${PORTNAME}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Lua script-based 2D engine built on top of OpenGL and SDL
LICENSE= MIT
LIB_DEPENDS= liblua-5.1.so:lang/lua51 \
libpng.so:graphics/png \
libphysfs.so.1:devel/physfs
USES= gl pathfix pkgconfig sdl
USE_SDL= sdl sound
USE_GL= glu
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
PLIST_FILES= include/radius.h \
lib/libradius-engine.a \
libdata/pkgconfig/radius-engine.pc
post-patch:
@${REINPLACE_CMD} -e 's|lua5.1|lua-5.1|g' \
${WRKSRC}/acinclude.m4 ${WRKSRC}/configure
.include <bsd.port.mk>