aboutsummaryrefslogtreecommitdiff
path: root/games/freetennis
diff options
context:
space:
mode:
authorBrendan Fabeny <bf@FreeBSD.org>2013-03-05 20:22:02 +0000
committerBrendan Fabeny <bf@FreeBSD.org>2013-03-05 20:22:02 +0000
commitddc550ff99131ed2bd4a88a7697d39209bb12846 (patch)
tree29b4d5468cf992e8cbc961e010614eb345b72dcb /games/freetennis
parent18eb550f56fe3aafc605e62cc8996ba8626d0c29 (diff)
downloadports-ddc550ff99131ed2bd4a88a7697d39209bb12846.tar.gz
ports-ddc550ff99131ed2bd4a88a7697d39209bb12846.zip
update x11-toolkits/ocaml-lablgtk2 to 2.16.0+bugfixes, and adjust
dependent ports PR: 144982, 149958 Reviewed by: johans (earlier version of the patch)
Notes
Notes: svn path=/head/; revision=313476
Diffstat (limited to 'games/freetennis')
-rw-r--r--games/freetennis/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/games/freetennis/Makefile b/games/freetennis/Makefile
index ab868e672af6..e7d91a3e09d7 100644
--- a/games/freetennis/Makefile
+++ b/games/freetennis/Makefile
@@ -1,13 +1,9 @@
-# New ports collection makefile for: freetennis
-# Date created: 07 Mar 2007
-# Whom: Jean-Yves Lefort <jylefort@FreeBSD.org>
-#
+# Created by: Jean-Yves Lefort <jylefort@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= freetennis
PORTVERSION= 0.4.8
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= games
MASTER_SITES= SF
@@ -18,7 +14,7 @@ BUILD_DEPENDS= ocamlopt:${PORTSDIR}/lang/ocaml \
${OCAML_DEPENDS}
RUN_DEPENDS= ${OCAML_DEPENDS}
-OCAML_DEPENDS= ${LOCALBASE}/lib/ocaml/lablgtk2/gtk.ml:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2 \
+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
@@ -33,6 +29,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|sfxDir = "sfx"|sfxDir = "${DATADIR}/sfx"|; \
s|gfxDir = "graphics"|gfxDir = "${DATADIR}/graphics"|' \
${WRKSRC}/freetennis.ml
+ @${REINPLACE_CMD} -Ee 's@(\+)(lablgtk2)@\1site-lib/\2@' \
+ ${WRKSRC}/Makefile
pre-install:
@${RM} -f ${PLIST}