head	1.9;
access;
symbols
	RELEASE_8_3_0:1.8
	RELEASE_9_0_0:1.8
	RELEASE_7_4_0:1.6
	RELEASE_8_2_0:1.6
	RELEASE_6_EOL:1.6
	RELEASE_8_1_0:1.6
	RELEASE_7_3_0:1.6
	RELEASE_8_0_0:1.6
	RELEASE_7_2_0:1.6
	RELEASE_7_1_0:1.4
	RELEASE_6_4_0:1.4
	RELEASE_5_EOL:1.4
	RELEASE_7_0_0:1.4
	RELEASE_6_3_0:1.4
	PRE_XORG_7:1.3
	RELEASE_4_EOL:1.1
	RELEASE_6_2_0:1.1;
locks; strict;
comment	@# @;


1.9
date	2012.11.17.05.54.21;	author svnexp;	state Exp;
branches;
next	1.8;

1.8
date	2011.10.24.03.32.42;	author stas;	state Exp;
branches;
next	1.7;

1.7
date	2011.04.05.22.23.27;	author stas;	state Exp;
branches;
next	1.6;

1.6
date	2009.04.07.07.03.31;	author stas;	state Exp;
branches;
next	1.5;

1.5
date	2009.01.30.03.52.43;	author beech;	state Exp;
branches;
next	1.4;

1.4
date	2007.05.19.19.57.44;	author flz;	state Exp;
branches;
next	1.3;

1.3
date	2007.03.14.04.12.20;	author linimon;	state Exp;
branches;
next	1.2;

1.2
date	2007.02.22.00.36.13;	author stas;	state Exp;
branches;
next	1.1;

1.1
date	2006.09.06.07.44.30;	author itetcu;	state Exp;
branches;
next	;


desc
@@


1.9
log
@Switch exporter over
@
text
@# New ports collection makefile for:	ocaml-zip
# Date created:				2006-08-01
# Whom:					Stanislav Sedov <ssedov@@mbsd.msk.ru>
#
# $MBSDlabs$
# $FreeBSD: head/archivers/ocaml-zip/Makefile 300895 2012-07-14 12:56:14Z beat $
#

PORTNAME=	zip
PORTVERSION=	1.04
PORTREVISION=	1
CATEGORIES=	archivers
MASTER_SITES=	http://caml.inria.fr/distrib/bazar-ocaml/
PKGNAMEPREFIX=	ocaml-
DISTNAME=	caml${PORTNAME}-${PORTVERSION}

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	OCaml library to manipulate ZIP/GZIP/JAR archives

#USE_GMAKE=	yes
USE_OCAML=	yes
USE_OCAML_LDCONFIG=yes
USE_OCAML_WASH=	yes

ALL_TARGET=	all allopt
INSTALL_TARGET=	install installopt
MASTERPORT=	${PORTSDIR}/devel/ocaml-camlidl
PATTERN=	([[:space:]]*)cp([[:space:]]+.*)

.include <bsd.port.pre.mk>

post-extract:
# PREFIX, CFLAGS and permissions safeness
	@@${REINPLACE_CMD} -E \
		-e "s,${PATTERN},\1\$${BSD_INSTALL_DATA}\2," \
		-e "s,(-ccopt[[:space:]])-g,\1\"${CFLAGS}\"," \
		-e "s,^(INSTALLDIR=).*,\1${OCAMLFIND_DESTDIR}/zip," \
		-e "/ldconf/d" ${WRKSRC}/Makefile

pre-install:
# For nonstandard prefixes
.if !exists(${OCAMLFIND_DESTDIR})
	${MKDIR} ${OCAMLFIND_DESTDIR}
.endif
.if !exists(${OCAMLFIND_LDCONF})
	${TOUCH} ${OCAMLFIND_LDCONF}
.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}

.include <bsd.port.post.mk>
@


1.8
log
@- Return my ports back to the pool.  I was unable to make any fixes to
  my ports in the past 3 weeks while ports were broken on any 10.x
  machines, which means I'm unable to maintain them.  So let people know
  that there's no available support for them until things are back to
  normal (which also means that anyone with spare time will be able
  to fix them without getting approval).
@
text
@d6 1
a6 1
# $FreeBSD$
@


1.7
log
@- Bump portrevisions on all ocaml libraries, as it appears that compiled
  interface files (.cmi) are not backward compatible with a newer ocaml
  version.

PR:		ports/156195
Suggested by:	mandree
@
text
@d17 1
a17 1
MAINTAINER=	stas@@FreeBSD.org
@


1.6
log
@- Update to 1.04.

Changes:
- Added function Zip.add_entry_generator.
- The "level" optional argument was sometimes not honored; fixed.
- Relicensed under LGPL 2.1 or above, with Caml's special exception
for static linking.

PR:		ports/132071
Submitted by:	Jaap Boender <jaapb@@kerguelen.org>
@
text
@d11 1
@


1.5
log
@- 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)
@
text
@d10 1
a10 2
PORTVERSION=	1.03
PORTREVISION=	2
@


1.4
log
@- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
@
text
@d11 1
a11 1
PORTREVISION=	1
d50 1
@


1.3
log
@Switch to using new files Mk/bsd.ocaml.mk [1] and Mk/bsd.xfce.mk [2].

PR:	101029 [1], 108862 [2]

Submitted by:	Stanislav Sedov <ssedov at mbsd dot msk dot ru> [1], oliver [2]
@
text
@d11 1
@


1.2
log
@- Update to 1.03.
@
text
@a29 1
.include "${PORTSDIR}/lang/ocaml/bsd.ocaml.mk"
@


1.1
log
@This Objective Caml library provides easy access to compressed files in ZIP
and GZIP format, as well as to Java JAR files.  It provides functions
for reading from and writing to compressed files in these formats.

Author:	Xavier Leroy <Xavier.Leroy@@inria.fr>
WWW:	http://pauillac.inria.fr/~xleroy/software.html

PR:		ports/101214
Submitted by:	Stanislav Sedov <ssedov at mbsd.msk.ru>
@
text
@d10 1
a10 1
PORTVERSION=	1.02
d16 1
a16 1
MAINTAINER=	ssedov@@mbsd.msk.ru
@

