aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorbf <bf@FreeBSD.org>2013-03-06 04:22:02 +0800
committerbf <bf@FreeBSD.org>2013-03-06 04:22:02 +0800
commit4576d3631b56ef78d0bb8e2f0c706fa043dcc186 (patch)
tree29b4d5468cf992e8cbc961e010614eb345b72dcb /games
parent47c1e4bd3a69438469483efb69d02b5ac5e70983 (diff)
downloadfreebsd-ports-gnome-4576d3631b56ef78d0bb8e2f0c706fa043dcc186.tar.gz
freebsd-ports-gnome-4576d3631b56ef78d0bb8e2f0c706fa043dcc186.tar.zst
freebsd-ports-gnome-4576d3631b56ef78d0bb8e2f0c706fa043dcc186.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)
Diffstat (limited to 'games')
-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}