1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00

games/freetennis: Adjust dependencies

There were a few problems with the dependency definitions of freetennis.
The ocaml-images dependency is a static build dependency, and not a RUN
DEPENDS.  Secondly, a specific static library is specified, but no
library of that name exists, at least not for the upcoming ocaml-images
4.0.  Freetennis really wants the entire directory, so ocaml-images has
been changed to a package depends instead of a file depends.  It's been
tested with ocaml-images 4.0 (DragonFly) and ocaml-images 3.0 (FreeBSD/
Redports).

Approved by:	bapt/culot (mentors, implicit)
This commit is contained in:
John Marino 2013-08-18 07:52:13 +00:00
parent a94ed6e90e
commit 81d576b10f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=324890

View File

@ -3,7 +3,7 @@
PORTNAME= freetennis
PORTVERSION= 0.4.8
PORTREVISION= 8
PORTREVISION= 9
CATEGORIES= games
MASTER_SITES= SF
@ -11,12 +11,12 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Tennis simulation
BUILD_DEPENDS= ocamlopt:${PORTSDIR}/lang/ocaml \
ocaml-images>3.0:${PORTSDIR}/graphics/ocaml-images \
${OCAML_DEPENDS}
RUN_DEPENDS= ${OCAML_DEPENDS}
OCAML_DEPENDS= ${LOCALBASE}/lib/ocaml/site-lib/lablgtk2/gtk.ml:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2 \
${LOCALBASE}/lib/ocaml/lablGL/gl.ml:${PORTSDIR}/graphics/ocaml-lablgl \
${LOCALBASE}/lib/ocaml/site-lib/camlimages/camlimages.a:${PORTSDIR}/graphics/ocaml-images \
${LOCALBASE}/lib/ocaml/site-lib/sdl/sdl.mli:${PORTSDIR}/devel/ocaml-sdl
USE_BZIP2= yes