# Created by: Thomas Vogt # $FreeBSD$ PORTNAME= foobillard PORTVERSION= 3.0a PORTREVISION= 11 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/FooBillard-Sources/ MAINTAINER= thomas@bsdunix.ch COMMENT= Free OpenGL billiards game LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng.so:graphics/png \ libfreetype.so:print/freetype2 OPTIONS_DEFINE= SDL NVIDIA_BUMPREF SDL_DESC= SDL instead of glut NVIDIA_BUMPREF_DESC= NVidia extensions .include FREETYPE_CONFIG?= ${LOCALBASE}/bin/freetype-config USES= gmake GNU_CONFIGURE= yes USE_XORG= xaw ice CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib DESKTOP_ENTRIES= "Foobillard" \ "A free OpenGL-billard game" \ "${DATADIR}/foobillard.png" \ "foobillard" \ "Game;Simulation;" \ false .if ${PORT_OPTIONS:MSDL} USE_SDL= yes CONFIGURE_ARGS+= --enable-SDL .else USE_GL= glut CONFIGURE_ARGS+= --enable-glut .endif .if ! ${PORT_OPTIONS:MNVIDIA_BUMPREF} CONFIGURE_ARGS+= --disable-nvidia CFLAGS += -DGL_AMD_gpu_shader_int64=1 -DGLuint64EXT=uint64_t -DGLint64EXT=int64_t -UGL_VERTEX_PROGRAM_NV -DGL_NV_vertex_program=1 .endif post-patch: @${REINPLACE_CMD} -e 's|%%FREETYPE_CONFIG%%|${FREETYPE_CONFIG}|g' \ ${WRKSRC}/src/Makefile.in post-install: ${INSTALL_MAN} ${WRKSRC}/foobillard.6 ${STAGEDIR}${PREFIX}/man/man6/foobillard.6 .include ion> FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Consolidate maintainership of various u-boot ports under u-boot@.linimon2018-06-191-1/+0
* Canonicalize two pkg-descrs missed in D15883.linimon2018-06-19