head	1.4;
access;
symbols
	RELEASE_6_1_0:1.2
	RELEASE_5_5_0:1.2
	RELEASE_6_0_0:1.2
	RELEASE_5_4_0:1.2
	RELEASE_4_11_0:1.2
	RELEASE_5_3_0:1.2
	RELEASE_4_10_0:1.2
	RELEASE_5_2_1:1.1
	RELEASE_5_2_0:1.1
	RELEASE_4_9_0:1.1
	RELEASE_5_1_0:1.1
	RELEASE_4_8_0:1.1
	RELEASE_5_0_0:1.1
	RELEASE_4_7_0:1.1;
locks; strict;
comment	@# @;


1.4
date	2006.08.02.14.00.20;	author itetcu;	state dead;
branches;
next	1.3;

1.3
date	2006.06.14.21.46.40;	author sat;	state Exp;
branches;
next	1.2;

1.2
date	2003.12.06.00.05.05;	author sergei;	state Exp;
branches;
next	1.1;

1.1
date	2002.08.12.14.22.37;	author naddy;	state Exp;
branches;
next	;


desc
@@


1.4
log
@- Add support for threaded Tk by passing PTHREAD_LIBS to configure in -tklibs
  swith. This allows build with threaded Tk (otherwise configure fails to use
  Tk). Also depend on threaded Tk by default in case of THREADS support - with
  non-pthread tk library it will not be stable enough
- Add OPTIONS
- Enable builds of non-threaded targets
- Depend on X in case if X is installed, since configure does this by default.
- Rename patchfiles to make portlint happy
- Eliminate the number of reinplace patterns (remove duplicates, optimize)
- Move manpage list in the separate files
- Pass pthread flags to compiler (PTHREAD_CFLAGS/LIBS safety)
- Remove some ugly hacks on setting permissions etc (eliminated by setting
  correct permission in COPY_TREE macros)
- Eliminate duplicate entries in PLIST in case of unstalling optimized binaries,
  also optimize this part
- Remove unused PLIST_SUB variable
- Miscelanios cleanups in Makefile
- Pass maintainership to submitter

The following files was added:
- files/man1
- files/manlinks
- files/mann
- files/patch-camlp4-man_Makefile
- files/patch-camlp4_lib_Makefile
- files/patch-ocamldoc_Makefile
- files/patch-stdlib_Makefile

I removed the following files:
- files/patch-camlp4-man::Makefile
- files/patch-camlp4::lib::Makefile
- files/patch-ocamldoc::Makefile
- files/patch-stdlib::Makefile

Also add bsd.ocaml.mk until it will be included in Mk/

PR:		ports/101122
Submitted by:	Stanislav Sedov
@
text
@--- ./ocamldoc/Makefile.orig	Thu Nov 10 17:44:36 2005
+++ ./ocamldoc/Makefile	Sun May 21 14:02:41 2006
@@@@ -40,7 +40,7 @@@@
 INSTALL_LIBDIR=$(OCAMLLIB)/ocamldoc
 INSTALL_CUSTOMDIR=$(INSTALL_LIBDIR)/custom
 INSTALL_BINDIR=$(OCAMLBIN)
-INSTALL_MANODIR=$(MANDIR)/man3
+INSTALL_MANODIR=$(MANDIR)/mann
 
 INSTALL_MLIS=odoc_info.mli
 INSTALL_CMIS=$(INSTALL_MLIS:.mli=.cmi)
@@@@ -261,7 +261,9 @@@@
 	$(CP) ocamldoc.hva *.cmi $(OCAMLDOC_LIBCMA) $(INSTALL_LIBDIR)
 	$(CP) $(INSTALL_MLIS) $(INSTALL_CMIS) $(INSTALL_LIBDIR)
 	if test -d $(INSTALL_MANODIR); then : ; else $(MKDIR) $(INSTALL_MANODIR); fi
-	$(CP) stdlib_man/* $(INSTALL_MANODIR)
+	for f in stdlib_man/*; do \
+		$(CP) $$f $(INSTALL_MANODIR)/`basename $$f .3o`.n; \
+	done
 
 installopt:
 	if test -f $(OCAMLDOC_OPT) ; then $(MAKE) installopt_really ; fi
@


1.3
log
@- Update to 3.09.2
- Add MASTER_SITE_GENTOO
- Unqoute a BROKEN

PR:		ports/97555
Submitted by:	sat
Tested by:	Joseph Koshy <jkoshy@@freebsd.org>, Denis Shaposhnikov <dsh@@vlink.ru>,
		Holger Lamm <holger@@e-gitt.net>, Hubert Tournier <hubert.tournier@@online.fr>,
		Dan Pelleg <daniel+unison@@pelleg.org> (many thanks are due)
@
text
@@


1.2
log
@- Update to 3.07 (patchlevel 2
- Fix MASTER_SITES list
- Update MANN and MLINK
- Re-sort pkg-plist for better maintenance
- Assign maintainership to the submitter

PR:		59602
Submitted by:	Eugene Ossintsev <eugos@@gmx.net>
Approved by:	previous maintainer
@
text
@d1 2
a2 2
--- ocamldoc/Makefile.orig	Sat Nov 22 17:38:34 2003
+++ ocamldoc/Makefile	Sat Nov 22 04:34:14 2003
a3 1
 OCAMLDOC_LIBA=odoc_info.a
d5 1
d10 1
a10 1
 INSTALL_MLIS=odoc_info.mli 
d12 2
a13 2
@@@@ -281,7 +281,9 @@@@
 	$(CP) ocamldoc.hva *.cmi $(GENERATORS) $(OCAMLDOC_LIBCMA) $(INSTALL_LIBDIR)
@


1.1
log
@Update to ocaml 3.05.

PR:		41299
Submitted by:	Ronald Kuehn <rk@@ronald.org>
Approved by:	maintainer timeout
@
text
@d1 2
a2 2
--- ocamldoc/Makefile.orig	Fri Aug  2 00:25:13 2002
+++ ocamldoc/Makefile	Fri Aug  2 01:36:33 2002
d7 1
a7 1
-INSTALL_MANODIR=$(MANDIR)/mano
d10 1
a10 1
 INSTALL_MLIS=odoc_info.mli odoc_args.mli
d12 2
a13 2
@@@@ -275,7 +275,9 @@@@
 	$(CP) ocamldoc.sty ocamldoc.hva *.cmi $(GENERATORS) $(OCAMLDOC_LIBCMA) $(INSTALL_LIBDIR)
d17 2
a18 2
+	for f in stdlib_man/*;do \
+		$(CP) $$f $(INSTALL_MANODIR)/`basename $$f .o`.n;\
@

