diff options
author | Volker Stolz <vs@FreeBSD.org> | 2005-04-14 12:06:06 +0000 |
---|---|---|
committer | Volker Stolz <vs@FreeBSD.org> | 2005-04-14 12:06:06 +0000 |
commit | 0ad6db7f9ee444d83a450a9e45ae0c860e2d4457 (patch) | |
tree | f32fc2576fd39f22546db6cf12607240524a90a3 /textproc/ocaml-expat | |
parent | 5cbcb38840d2fd14971cca538398f92cd19a920e (diff) | |
download | ports-0ad6db7f9ee444d83a450a9e45ae0c860e2d4457.tar.gz ports-0ad6db7f9ee444d83a450a9e45ae0c860e2d4457.zip |
Notes
Diffstat (limited to 'textproc/ocaml-expat')
-rw-r--r-- | textproc/ocaml-expat/Makefile | 8 | ||||
-rw-r--r-- | textproc/ocaml-expat/distinfo | 4 | ||||
-rw-r--r-- | textproc/ocaml-expat/files/patch-Makefile | 21 |
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 |