aboutsummaryrefslogtreecommitdiff
path: root/graphics/ocaml-lablgl
diff options
context:
space:
mode:
authorStanislav Sedov <stas@FreeBSD.org>2009-04-06 20:41:46 +0000
committerStanislav Sedov <stas@FreeBSD.org>2009-04-06 20:41:46 +0000
commit0d0ebe7d1aa732fb7a5b83d9bb68119d7a2dcefc (patch)
tree1e1c7f4b991d0ccd3c5046699ce6e194e6d4ddc8 /graphics/ocaml-lablgl
parent0bb9bd0afa3fa859636e621bed3ec913173e0f18 (diff)
downloadports-0d0ebe7d1aa732fb7a5b83d9bb68119d7a2dcefc.tar.gz
ports-0d0ebe7d1aa732fb7a5b83d9bb68119d7a2dcefc.zip
Notes
Diffstat (limited to 'graphics/ocaml-lablgl')
-rw-r--r--graphics/ocaml-lablgl/Makefile11
-rw-r--r--graphics/ocaml-lablgl/distinfo6
2 files changed, 8 insertions, 9 deletions
diff --git a/graphics/ocaml-lablgl/Makefile b/graphics/ocaml-lablgl/Makefile
index 3d13edbea446..b9c66370b19f 100644
--- a/graphics/ocaml-lablgl/Makefile
+++ b/graphics/ocaml-lablgl/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= lablgl
-PORTVERSION= 1.03
-PORTREVISION= 1
+PORTVERSION= 1.04
CATEGORIES= graphics
MASTER_SITES= http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/
PKGNAMEPREFIX= ocaml-
@@ -15,13 +14,13 @@ PKGNAMEPREFIX= ocaml-
MAINTAINER= stas@FreeBSD.org
COMMENT= OpenGL interface for Objective Caml
+WRKSRC= ${WRKDIR}/lablGL-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
USE_GL= glut
USE_GMAKE= yes
USE_OCAML= yes
USE_OCAML_WASH= yes
ALL_TARGET= all opt
-DEPENDS_ARGS+= WITH_TK=yes
-USE_TK= yes
+USE_TK= 84+
MASTERPORT= ${PORTSDIR}/devel/ocaml-camlidl
PATTERN= [[:space:]]*(do|then)?[[:space:]]*)cp([[:space:]]
@@ -40,8 +39,8 @@ post-extract:
-e "s,^\(RANLIB[ \t]*=\).*,\1ranlib,g" \
-e "s,^#\(LIBDIR[ \t]*=\).*,\1${PREFIX}/lib/ocaml,g" \
-e "s,^#\(DLLDIR[ \t]*=\).*,\1${PREFIX}/lib/ocaml/stublibs,g" \
- -e "s,^\(TKINCLUDES[ \t]*=\).*,\1-I${TCL_INCLUDEDIR} -I${TK_INCLUDEDIR},g" \
- -e "s,^\(TKLIBS[ \t]*=\).*,\1-L${LOCALBASE}/lib -ltk${USE_TK} -ltcl${USE_TCL},g" \
+ -e "/^TKINCLUDES/s,=.*$$,= -I${TCL_INCLUDEDIR} -I${TK_INCLUDEDIR}," \
+ -e "/^TKLIBS/s,=.*$$,= -L${LOCALBASE} -ltcl${TCL_VER:S/.//} -ltk${TK_VER:S/.//}," \
${WRKSRC}/Makefile.config
@${REINPLACE_CMD} \
diff --git a/graphics/ocaml-lablgl/distinfo b/graphics/ocaml-lablgl/distinfo
index 1c959575846a..a89a431e9897 100644
--- a/graphics/ocaml-lablgl/distinfo
+++ b/graphics/ocaml-lablgl/distinfo
@@ -1,3 +1,3 @@
-MD5 (lablgl-1.03.tar.gz) = 1c16eb9298314b764851bc7d15fae88f
-SHA256 (lablgl-1.03.tar.gz) = f4dcb28cb11e9a0791ba4d35eb86d9dcb19d8d4d0f3171dd18ede4c8d5e002db
-SIZE (lablgl-1.03.tar.gz) = 389404
+MD5 (lablgl-1.04.tar.gz) = dcf05a0cffffdf06cbe0fe55f9eff974
+SHA256 (lablgl-1.04.tar.gz) = 3fedf5537069481b95836e8495380c742af7b87cfecd105fff1b98e40cac3b3e
+SIZE (lablgl-1.04.tar.gz) = 410525