diff options
author | Beech Rintoul <beech@FreeBSD.org> | 2009-01-30 03:52:43 +0000 |
---|---|---|
committer | Beech Rintoul <beech@FreeBSD.org> | 2009-01-30 03:52:43 +0000 |
commit | e33cd9e6726d67c3803e5028e6c6533e4eeb8854 (patch) | |
tree | b585e95e7523cc569c13b1ccd92b55296bcc4893 /archivers/ocaml-zip | |
parent | 63c415eb9365281422ef8982159780f18b61ad3c (diff) | |
download | ports-e33cd9e6726d67c3803e5028e6c6533e4eeb8854.tar.gz ports-e33cd9e6726d67c3803e5028e6c6533e4eeb8854.zip |
Notes
Diffstat (limited to 'archivers/ocaml-zip')
-rw-r--r-- | archivers/ocaml-zip/Makefile | 3 | ||||
-rw-r--r-- | archivers/ocaml-zip/files/META | 8 | ||||
-rw-r--r-- | archivers/ocaml-zip/files/patch-Makefile | 11 |
3 files changed, 21 insertions, 1 deletions
diff --git a/archivers/ocaml-zip/Makefile b/archivers/ocaml-zip/Makefile index 14a76b134421..5c17c12985dd 100644 --- a/archivers/ocaml-zip/Makefile +++ b/archivers/ocaml-zip/Makefile @@ -8,7 +8,7 @@ PORTNAME= zip PORTVERSION= 1.03 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= archivers MASTER_SITES= http://caml.inria.fr/distrib/bazar-ocaml/ PKGNAMEPREFIX= ocaml- @@ -47,6 +47,7 @@ pre-install: .endif post-install: + @${INSTALL_DATA} ${FILESDIR}/META ${OCAMLFIND_DESTDIR}/${PORTNAME} @${FIND} ${OCAMLFIND_DESTDIR}/${PORTNAME} -type f | \ ${SED} "s,^${PREFIX}/,," >> ${TMPPLIST} @${ECHO_CMD} "@dirrm ${OCAML_SITELIBDIR}/${PORTNAME}" >> ${TMPPLIST} diff --git a/archivers/ocaml-zip/files/META b/archivers/ocaml-zip/files/META new file mode 100644 index 000000000000..b3b1adeb298d --- /dev/null +++ b/archivers/ocaml-zip/files/META @@ -0,0 +1,8 @@ +name="zip" +version="1.03" +description="reading and writing ZIP, JAR and GZIP files" +requires="unix" +archive(byte)="zip.cma" +archive(native)="zip.cmxa" +linkopts = "" + diff --git a/archivers/ocaml-zip/files/patch-Makefile b/archivers/ocaml-zip/files/patch-Makefile new file mode 100644 index 000000000000..c1a829da750c --- /dev/null +++ b/archivers/ocaml-zip/files/patch-Makefile @@ -0,0 +1,11 @@ +--- Makefile.orig 2009-01-13 14:56:33.000000000 +0100 ++++ Makefile 2009-01-13 14:56:52.000000000 +0100 +@@ -56,7 +56,7 @@ + + install: + mkdir -p $(INSTALLDIR) +- ${BSD_INSTALL_DATA} zip.cma zip.cmi gzip.cmi zip.mli gzip.mli libcamlzip.a $(INSTALLDIR) ++ ${BSD_INSTALL_DATA} zip.cma zip.cmi gzip.cmi zip.mli gzip.mli zlib.cmi zlib.mli libcamlzip.a $(INSTALLDIR) + if test -f dllcamlzip.so; then \ + ${BSD_INSTALL_DATA} dllcamlzip.so $(INSTALLDIR); \ + installdir=$(INSTALLDIR); \ |