freebsd-ports/games/fbg2/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

43 lines
966 B
Makefile

# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
# $FreeBSD$
PORTNAME= fbg2
PORTVERSION= 0.4
PORTREVISION= 6
CATEGORIES= games
MASTER_SITES= SF/fbg/
MAINTAINER= ports@FreeBSD.org
COMMENT= Classic block-stacking arcade game
LICENSE= GPLv2+ CC-BY-SA-3.0
LICENSE_COMB= multi
LICENSE_FILE_GPLv2+ = ${WRKSRC}/License.txt
BUILD_DEPENDS= ${LOCALBASE}/lib/libradius-engine.a:graphics/radius-engine
LIB_DEPENDS= liblua-5.1.so:lang/lua51 \
libpng.so:graphics/png \
libphysfs.so.1:devel/physfs
RUN_DEPENDS= zip:archivers/zip
USES= gl pkgconfig sdl
USE_SDL= sdl sound
USE_GL= glu
GNU_CONFIGURE= yes
ALL_TARGET= ${PORTNAME}
PLIST_FILES= bin/${PORTNAME} \
share/applications/${PORTNAME}.desktop \
share/pixmaps/${PORTNAME}.png \
%%DATADIR%%/${PORTNAME}.zip
PLIST_DIRS= %%DATADIR%%
PORTDOCS= ChangeLog
OPTIONS_DEFINE= DOCS
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>