aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/ocaml-expat
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-04-14 20:06:06 +0800
committervs <vs@FreeBSD.org>2005-04-14 20:06:06 +0800
commit55ba54d3540a9c3085aa637d0fd14a04a945dade (patch)
tree3a9932f1e693e1947b2169e9bed4777c345b6576 /textproc/ocaml-expat
parent3f2fe23ee2780f1726e9b99bc58c23e21cf57f3b (diff)
downloadfreebsd-ports-gnome-55ba54d3540a9c3085aa637d0fd14a04a945dade.tar.gz
freebsd-ports-gnome-55ba54d3540a9c3085aa637d0fd14a04a945dade.tar.zst
freebsd-ports-gnome-55ba54d3540a9c3085aa637d0fd14a04a945dade.zip
Update to 0.9.1
PR: ports/79858 Submitted by: maintainer
Diffstat (limited to 'textproc/ocaml-expat')
-rw-r--r--textproc/ocaml-expat/Makefile8
-rw-r--r--textproc/ocaml-expat/distinfo4
-rw-r--r--textproc/ocaml-expat/files/patch-Makefile21
3 files changed, 12 insertions, 21 deletions
diff --git a/textproc/ocaml-expat/Makefile b/textproc/ocaml-expat/Makefile
index 596bc9a815a3..547fed4b482b 100644
--- a/textproc/ocaml-expat/Makefile
+++ b/textproc/ocaml-expat/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= ocaml-expat
-PORTVERSION= 0.1.0
+PORTVERSION= 0.9.1
CATEGORIES= textproc
MASTER_SITES= http://www.xs4all.nl/~mmzeeman/ocaml/
@@ -21,6 +21,10 @@ RUN_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml \
LIB_DEPENDS= expat.5:${PORTSDIR}/textproc/expat2
USE_GMAKE= yes
+MAKE_ARGS= EXPAT_LIBDIR=${LOCALBASE}/lib \
+ EXPAT_INCDIR=${LOCALBASE}/include \
+ CAML_INCDIR=${LOCALBASE}/lib/ocaml
+
ALL_TARGET= all allopt
.if !defined(NOPORTDOCS)
@@ -38,7 +42,7 @@ post-install:
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${WRKSRC}/doc/*.css ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/textproc/ocaml-expat/distinfo b/textproc/ocaml-expat/distinfo
index 5ca4636b9ad4..fc5d4ffe9c1f 100644
--- a/textproc/ocaml-expat/distinfo
+++ b/textproc/ocaml-expat/distinfo
@@ -1,2 +1,2 @@
-MD5 (ocaml-expat-0.1.0.tar.gz) = c8e429fafbb2508cf5525d5ff686efeb
-SIZE (ocaml-expat-0.1.0.tar.gz) = 11471
+MD5 (ocaml-expat-0.9.1.tar.gz) = 17aa00a46c5edeb815f1b0555bad7ed2
+SIZE (ocaml-expat-0.9.1.tar.gz) = 25223
diff --git a/textproc/ocaml-expat/files/patch-Makefile b/textproc/ocaml-expat/files/patch-Makefile
index ed1d615f7459..ea359133feb4 100644
--- a/textproc/ocaml-expat/files/patch-Makefile
+++ b/textproc/ocaml-expat/files/patch-Makefile
@@ -1,24 +1,11 @@
---- Makefile.orig Sat Sep 27 16:52:29 2003
-+++ Makefile Wed Feb 9 10:46:58 2005
-@@ -4,8 +4,10 @@
-
- # Change this to match your expat installation.
- EXPAT_LIB=-lexpat
--EXPAT_LIBDIR=/usr/local/lib
--EXPAT_INCDIR=/usr/local/include
-+EXPAT_LIBDIR=${LOCALBASE}/lib
-+EXPAT_INCDIR=${LOCALBASE}/include
-+
-+CAML_INCDIR=${LOCALBASE}/lib/ocaml
-
- NAME=expat
- OBJECTS=expat.cmo
-@@ -31,7 +33,7 @@
+--- Makefile.orig Wed Apr 13 11:14:20 2005
++++ Makefile Wed Apr 13 11:15:49 2005
+@@ -32,7 +34,7 @@
allopt: $(XARCHIVE)
depend: *.c *.ml *.mli
- gcc -MM *.c > depend
-+ gcc -I$(EXPAT_INCDIR) -I$(CAML_INCDIR) -MM *.c > depend
++ $(CC) -I$(EXPAT_INCDIR) -I$(CAML_INCDIR) -MM *.c > depend
$(OCAMLDEP) *.mli *.ml >> depend
## Library creation