aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-rw-r--r--devel/ocaml-ulex/Makefile7
-rw-r--r--devel/ocaml-ulex/distinfo4
2 files changed, 6 insertions, 5 deletions
diff --git a/devel/ocaml-ulex/Makefile b/devel/ocaml-ulex/Makefile
index 079c9a41a4d7..139aa8716d0f 100644
--- a/devel/ocaml-ulex/Makefile
+++ b/devel/ocaml-ulex/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= ulex
-PORTVERSION= 0.5
+PORTVERSION= 0.7
CATEGORIES= devel
MASTER_SITES= http://www.cduce.org/download/
PKGNAMEPREFIX= ocaml-
@@ -20,9 +20,10 @@ BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml \
RUN_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml \
ocamlfind:${PORTSDIR}/devel/ocaml-findlib
-USE_GMAKE= yes
ALL_TARGET= all all.opt
+MAKE_ENV= OCAMLFIND_DESTDIR="${PREFIX}/lib/ocaml/site-lib"
+
.if !defined(NOPORTDOCS)
ALL_TARGET+= doc
PORTDOCS= *
@@ -35,7 +36,7 @@ post-install:
${SED} "s,^${PREFIX}/,," >> ${TMPPLIST}
@${ECHO_CMD} "@dirrm lib/ocaml/site-lib/${PORTNAME}" >> ${TMPPLIST}
@${ECHO_CMD} "@unexec ocamlfind remove ${PORTNAME} 2>/dev/null || true" >> ${TMPPLIST}
- PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+ ${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/*.html ${WRKSRC}/*.css ${DOCSDIR}
diff --git a/devel/ocaml-ulex/distinfo b/devel/ocaml-ulex/distinfo
index df86ccb1678f..7fc780b9c953 100644
--- a/devel/ocaml-ulex/distinfo
+++ b/devel/ocaml-ulex/distinfo
@@ -1,2 +1,2 @@
-MD5 (ulex-0.5.tar.gz) = 6aa3ca0d73f9400ec6811a19fca414eb
-SIZE (ulex-0.5.tar.gz) = 25621
+MD5 (ulex-0.7.tar.gz) = cb70dcb25b1f8119abde0bf2b29c1492
+SIZE (ulex-0.7.tar.gz) = 17444