mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
- Install a META file for use with ocaml-findlib (findlib is still not
necessary to install or run the port, but if it is there, it will detect the port); - Install files (zlib.cmi and zlib.mli) needed by www/ocsigen. - Bump portrevision PR: ports/130507 Submitted by: Jaap Boender <jaapb@kerguelen.org> Approved by: stas (maintainer)
This commit is contained in:
parent
63c415eb93
commit
e33cd9e672
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=227126
@ -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}
|
||||
|
8
archivers/ocaml-zip/files/META
Normal file
8
archivers/ocaml-zip/files/META
Normal file
@ -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 = ""
|
||||
|
11
archivers/ocaml-zip/files/patch-Makefile
Normal file
11
archivers/ocaml-zip/files/patch-Makefile
Normal file
@ -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); \
|
Loading…
Reference in New Issue
Block a user