aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2005-06-09 05:18:02 +0800
committerthierry <thierry@FreeBSD.org>2005-06-09 05:18:02 +0800
commitfa0af8630b95cd3b92445d6eff226f97de7e378e (patch)
tree828a875bf9fddfa765ba39c87cf3a5fcbec0e684 /devel
parente3dea4fd7ada2a5f71f7ac7670f5818b234d7e36 (diff)
downloadfreebsd-ports-graphics-fa0af8630b95cd3b92445d6eff226f97de7e378e.tar.gz
freebsd-ports-graphics-fa0af8630b95cd3b92445d6eff226f97de7e378e.tar.zst
freebsd-ports-graphics-fa0af8630b95cd3b92445d6eff226f97de7e378e.zip
- Update to 0.7;
- add OCAMLFIND_DESTDIR to MAKE_ENV, in order for ocamlfind to respect PREFIX. PR: ports/81991 Submitted by: maintainer
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 079c9a41a4d..139aa8716d0 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 df86ccb1678..7fc780b9c95 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