Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/languages
In directory sc8-pr-cvs17:/tmp/cvs-serv17097
Added Files:
camlp5.info camlp5.patch
Log Message:
New from tracker
http://sourceforge.net/tracker/index.php?func=detail&aid=1785180&group_id=17203&atid=414256
--- NEW FILE: camlp5.patch ---
diff -Naur --exclude='*~' --exclude=semantic.cache camlp5-4.07/Makefile
camlp5-4.07.fink/Makefile
--- camlp5-4.07/Makefile 2007-07-11 02:46:18.000000000 -0700
+++ camlp5-4.07.fink/Makefile 2007-08-28 17:31:35.000000000 -0700
@@ -40,9 +40,9 @@
for i in $(DIRS) compile; do (cd $$i; $(MAKE) depend); done
install:
- @test ! -d "$(LIBDIR)/$(NAME)/Camlp4Parsers" || \
- (/bin/rm -rf "$(LIBDIR)/omain"; \
- mv "$(LIBDIR)/$(NAME)" "$(LIBDIR)/o$(NAME)")
+ @test ! -d "$(DESTDIR)$(LIBDIR)/$(NAME)/Camlp4Parsers" || \
+ (/bin/rm -rf "$(DESTDIR)$(LIBDIR)/omain"; \
+ mv "$(DESTDIR)$(LIBDIR)/$(NAME)" "$(DESTDIR)$(LIBDIR)/o$(NAME)")
for i in $(DIRS) compile; do (cd $$i; $(MAKE) install); done
uninstall:
diff -Naur --exclude='*~' --exclude=semantic.cache camlp5-4.07/compile/Makefile
camlp5-4.07.fink/compile/Makefile
--- camlp5-4.07/compile/Makefile 2007-07-11 05:01:39.000000000 -0700
+++ camlp5-4.07.fink/compile/Makefile 2007-08-28 17:32:09.000000000 -0700
@@ -30,7 +30,7 @@
OTOP=$(OTOP) NAME=$(NAME) EXE=$(EXE) ./compile.sh $(COMP_OPT) $(SRC) >
$D_fast.ml.tmp
install:
- if test -f $(NAME)o.fast.opt; then cp $(NAME)o.fast.opt
"$(BINDIR)/$(NAME)o.opt"; fi
+ if test -f $(NAME)o.fast.opt; then cp $(NAME)o.fast.opt
"$(DESTDIR)$(BINDIR)/$(NAME)o.opt"; fi
clean::
rm -f *.cm* *.pp[io] *.o *.bak .*.bak *.out *.opt
diff -Naur --exclude='*~' --exclude=semantic.cache camlp5-4.07/configure
camlp5-4.07.fink/configure
--- camlp5-4.07/configure 2007-07-11 02:46:18.000000000 -0700
+++ camlp5-4.07.fink/configure 2007-08-28 17:52:36.000000000 -0700
@@ -1,10 +1,10 @@
#!/bin/bash
# $Id: configure 670 2007-07-11 09:46:18Z deraugla $
-prefix=''
-bindir=''
-libdir=''
-mandir=''
+prefix='@PREFIX@'
+bindir='@PREFIX@/bin'
+libdir='@PREFIX@/lib/ocaml'
+mandir='@PREFIX@/share/man'
name=camlp5
# a local which command for sh
diff -Naur --exclude='*~' --exclude=semantic.cache camlp5-4.07/etc/Makefile
camlp5-4.07.fink/etc/Makefile
--- camlp5-4.07/etc/Makefile 2007-07-11 05:01:39.000000000 -0700
+++ camlp5-4.07.fink/etc/Makefile 2007-08-28 17:33:15.000000000 -0700
@@ -73,11 +73,11 @@
get_promote:
install:
- -$(MKDIR) "$(LIBDIR)/$(NAME)" "$(BINDIR)"
- cp $(OBJS) "$(LIBDIR)/$(NAME)/."
- cp lib.sml "$(LIBDIR)/$(NAME)/."
- cp $(NAME)o$(EXE) $(NAME)sch$(EXE) "$(BINDIR)/."
- if test -f $(COPT); then cp $(COPT) "$(BINDIR)/."; fi
+ -$(MKDIR) "$(DESTDIR)$(LIBDIR)/$(NAME)" "$(DESTDIR)$(BINDIR)"
+ cp $(OBJS) "$(DESTDIR)$(LIBDIR)/$(NAME)/."
+ cp lib.sml "$(DESTDIR)$(LIBDIR)/$(NAME)/."
+ cp $(NAME)o$(EXE) $(NAME)sch$(EXE) "$(DESTDIR)$(BINDIR)/."
+ if test -f $(COPT); then cp $(COPT) "$(DESTDIR)$(BINDIR)/."; fi
# cp mk$(NAME).sh "$(BINDIR)/mk$(NAME)"
# chmod a+x "$(BINDIR)/mk$(NAME)"
diff -Naur --exclude='*~' --exclude=semantic.cache camlp5-4.07/lib/Makefile
camlp5-4.07.fink/lib/Makefile
--- camlp5-4.07/lib/Makefile 2007-07-11 02:46:18.000000000 -0700
+++ camlp5-4.07.fink/lib/Makefile 2007-08-28 17:38:17.000000000 -0700
@@ -38,10 +38,10 @@
done
install:
- -$(MKDIR) "$(LIBDIR)/$(NAME)"
- cp $(TARGET) *.mli "$(LIBDIR)/$(NAME)/."
- cp *.cmi "$(LIBDIR)/$(NAME)/."
- if test -f $(TARGET:.cma=.cmxa); then $(MAKE) installopt
LIBDIR="$(LIBDIR)"; fi
+ -$(MKDIR) "$(DESTDIR)$(LIBDIR)/$(NAME)"
+ cp $(TARGET) *.mli "$(DESTDIR)$(LIBDIR)/$(NAME)/."
+ cp *.cmi "$(DESTDIR)$(LIBDIR)/$(NAME)/."
+ if test -f $(TARGET:.cma=.cmxa); then $(MAKE) installopt
LIBDIR="$(DESTDIR)$(LIBDIR)"; fi
installopt:
cp $(TARGET:.cma=.cmxa) *.cmx "$(LIBDIR)/$(NAME)/."
diff -Naur --exclude='*~' --exclude=semantic.cache camlp5-4.07/main/Makefile
camlp5-4.07.fink/main/Makefile
--- camlp5-4.07/main/Makefile 2007-07-27 05:02:59.000000000 -0700
+++ camlp5-4.07.fink/main/Makefile 2007-08-28 17:35:07.000000000 -0700
@@ -53,11 +53,11 @@
done
install:
- -$(MKDIR) "$(BINDIR)"
- -$(MKDIR) "$(LIBDIR)/$(NAME)"
- cp $(CAMLP5) "$(BINDIR)/."
- cp mLast.mli quotation.mli ast2pt.mli pcaml.mli prtools.mli
"$(LIBDIR)/$(NAME)/."
- cp mLast.cmi quotation.cmi ast2pt.cmi pcaml.cmi prtools.cmi
"$(LIBDIR)/$(NAME)/."
- cp $(NAME).cma "$(LIBDIR)/$(NAME)/."
+ -$(MKDIR) "$(DESTDIR)$(BINDIR)"
+ -$(MKDIR) "$(DESTDIR)$(LIBDIR)/$(NAME)"
+ cp $(CAMLP5) "$(DESTDIR)$(BINDIR)/."
+ cp mLast.mli quotation.mli ast2pt.mli pcaml.mli prtools.mli
"$(DESTDIR)$(LIBDIR)/$(NAME)/."
+ cp mLast.cmi quotation.cmi ast2pt.cmi pcaml.cmi prtools.cmi
"$(DESTDIR)$(LIBDIR)/$(NAME)/."
+ cp $(NAME).cma "$(DESTDIR)$(LIBDIR)/$(NAME)/."
include .depend
diff -Naur --exclude='*~' --exclude=semantic.cache camlp5-4.07/man/Makefile
camlp5-4.07.fink/man/Makefile
--- camlp5-4.07/man/Makefile 2007-07-11 05:01:39.000000000 -0700
+++ camlp5-4.07.fink/man/Makefile 2007-09-11 13:06:27.000000000 -0700
@@ -14,13 +14,13 @@
get_promote:
install:
- -$(MKDIR) "$(MANDIR)/man1"
- -cp $(TARGET) "$(MANDIR)/man1/."
- -cd "$(MANDIR)/man1"; rm -f $(NAME)o.1; ln -s $(TARGET) $(NAME)o.1
- -cd "$(MANDIR)/man1"; rm -f $(NAME)r.1; ln -s $(TARGET) $(NAME)r.1
- -cd "$(MANDIR)/man1"; rm -f ocpp.1; ln -s $(TARGET) ocpp.1
- -cd "$(MANDIR)/man1"; rm -f $(NAME)o.opt.1; ln -s $(TARGET)
$(NAME)o.opt.1
- -cd "$(MANDIR)/man1"; rm -f $(NAME)r.opt.1; ln -s $(TARGET)
$(NAME)r.opt.1
+ -$(MKDIR) "$(DESTDIR)$(MANDIR)/man1"
+ -cp $(TARGET) "$(DESTDIR)$(MANDIR)/man1/."
+ -cd "$(DESTDIR)$(MANDIR)/man1"; rm -f $(NAME)o.1; ln -s $(TARGET)
$(NAME)o.1
+ -cd "$(DESTDIR)$(MANDIR)/man1"; rm -f $(NAME)r.1; ln -s $(TARGET)
$(NAME)r.1
+ -cd "$(DESTDIR)$(MANDIR)/man1"; rm -f ocpp.1; ln -s $(TARGET) ocpp.1
+ -cd "$(DESTDIR)$(MANDIR)/man1"; rm -f $(NAME)o.opt.1; ln -s $(TARGET)
$(NAME)o.opt.1
+ -cd "$(DESTDIR)$(MANDIR)/man1"; rm -f $(NAME)r.opt.1; ln -s $(TARGET)
$(NAME)r.opt.1
$(NAME).1: camlp5.1.tpl
sed -e "s'LIBDIR'$(LIBDIR)'g" -e "s/camlp5/$(NAME)/g" camlp5.1.tpl >
$(NAME).1
diff -Naur --exclude='*~' --exclude=semantic.cache camlp5-4.07/meta/Makefile
camlp5-4.07.fink/meta/Makefile
--- camlp5-4.07/meta/Makefile 2007-07-30 21:55:54.000000000 -0700
+++ camlp5-4.07.fink/meta/Makefile 2007-08-28 17:35:52.000000000 -0700
@@ -50,10 +50,10 @@
NAME=$(NAME) ./mk_q_MLast.sh | diff -c q_MLast.ml -
install:
- -$(MKDIR) "$(LIBDIR)/$(NAME)" "$(BINDIR)"
- cp $(OBJS) "$(LIBDIR)/$(NAME)/."
- cp pa_macro.cmi pa_extend.cmi "$(LIBDIR)/$(NAME)/."
- cp $(NAME)r$(EXE) "$(BINDIR)/."
- if test -f $(COPT); then cp $(COPT) "$(BINDIR)/."; fi
+ -$(MKDIR) "$(DESTDIR)$(LIBDIR)/$(NAME)" "$(BINDIR)"
+ cp $(OBJS) "$(DESTDIR)$(LIBDIR)/$(NAME)/."
+ cp pa_macro.cmi pa_extend.cmi "$(DESTDIR)$(LIBDIR)/$(NAME)/."
+ cp $(NAME)r$(EXE) "$(DESTDIR)$(BINDIR)/."
+ if test -f $(COPT); then cp $(COPT) "$(DESTDIR)$(BINDIR)/."; fi
include .depend
diff -Naur --exclude='*~' --exclude=semantic.cache
camlp5-4.07/ocaml_src/lib/Makefile camlp5-4.07.fink/ocaml_src/lib/Makefile
--- camlp5-4.07/ocaml_src/lib/Makefile 2007-07-11 02:46:18.000000000 -0700
+++ camlp5-4.07.fink/ocaml_src/lib/Makefile 2007-08-28 17:36:40.000000000
-0700
@@ -38,10 +38,10 @@
done
install:
- -$(MKDIR) "$(LIBDIR)/$(NAME)"
- cp $(TARGET) *.mli "$(LIBDIR)/$(NAME)/."
- cp *.cmi "$(LIBDIR)/$(NAME)/."
- if test -f $(TARGET:.cma=.cmxa); then $(MAKE) installopt
LIBDIR="$(LIBDIR)"; fi
+ -$(MKDIR) "$(DESTDIR)$(LIBDIR)/$(NAME)"
+ cp $(TARGET) *.mli "$(DESTDIR)$(LIBDIR)/$(NAME)/."
+ cp *.cmi "$(DESTDIR)$(LIBDIR)/$(NAME)/."
+ if test -f $(TARGET:.cma=.cmxa); then $(MAKE) installopt
LIBDIR="$(DESTDIR)$(LIBDIR)"; fi
installopt:
cp $(TARGET:.cma=.cmxa) *.cmx "$(LIBDIR)/$(NAME)/."
diff -Naur --exclude='*~' --exclude=semantic.cache
camlp5-4.07/ocaml_src/main/Makefile camlp5-4.07.fink/ocaml_src/main/Makefile
--- camlp5-4.07/ocaml_src/main/Makefile 2007-07-27 05:02:59.000000000 -0700
+++ camlp5-4.07.fink/ocaml_src/main/Makefile 2007-08-28 17:37:02.000000000
-0700
@@ -53,11 +53,11 @@
done
install:
- -$(MKDIR) "$(BINDIR)"
- -$(MKDIR) "$(LIBDIR)/$(NAME)"
- cp $(CAMLP5) "$(BINDIR)/."
- cp mLast.mli quotation.mli ast2pt.mli pcaml.mli prtools.mli
"$(LIBDIR)/$(NAME)/."
- cp mLast.cmi quotation.cmi ast2pt.cmi pcaml.cmi prtools.cmi
"$(LIBDIR)/$(NAME)/."
- cp $(NAME).cma "$(LIBDIR)/$(NAME)/."
+ -$(MKDIR) "$(DESTDIR)$(BINDIR)"
+ -$(MKDIR) "$(DESTDIR)$(LIBDIR)/$(NAME)"
+ cp $(CAMLP5) "$(DESTDIR)$(BINDIR)/."
+ cp mLast.mli quotation.mli ast2pt.mli pcaml.mli prtools.mli
"$(DESTDIR)$(LIBDIR)/$(NAME)/."
+ cp mLast.cmi quotation.cmi ast2pt.cmi pcaml.cmi prtools.cmi
"$(DESTDIR)$(LIBDIR)/$(NAME)/."
+ cp $(NAME).cma "$(DESTDIR)$(LIBDIR)/$(NAME)/."
include .depend
diff -Naur --exclude='*~' --exclude=semantic.cache
camlp5-4.07/ocaml_src/meta/Makefile camlp5-4.07.fink/ocaml_src/meta/Makefile
--- camlp5-4.07/ocaml_src/meta/Makefile 2007-07-30 21:55:54.000000000 -0700
+++ camlp5-4.07.fink/ocaml_src/meta/Makefile 2007-08-28 17:37:21.000000000
-0700
@@ -50,10 +50,10 @@
NAME=$(NAME) ./mk_q_MLast.sh | diff -c q_MLast.ml -
install:
- -$(MKDIR) "$(LIBDIR)/$(NAME)" "$(BINDIR)"
- cp $(OBJS) "$(LIBDIR)/$(NAME)/."
- cp pa_macro.cmi pa_extend.cmi "$(LIBDIR)/$(NAME)/."
- cp $(NAME)r$(EXE) "$(BINDIR)/."
- if test -f $(COPT); then cp $(COPT) "$(BINDIR)/."; fi
+ -$(MKDIR) "$(DESTDIR)$(LIBDIR)/$(NAME)" "$(BINDIR)"
+ cp $(OBJS) "$(DESTDIR)$(LIBDIR)/$(NAME)/."
+ cp pa_macro.cmi pa_extend.cmi "$(DESTDIR)$(LIBDIR)/$(NAME)/."
+ cp $(NAME)r$(EXE) "$(DESTDIR)$(BINDIR)/."
+ if test -f $(COPT); then cp $(COPT) "$(DESTDIR)$(BINDIR)/."; fi
include .depend
diff -Naur --exclude='*~' --exclude=semantic.cache
camlp5-4.07/ocaml_src/odyl/Makefile camlp5-4.07.fink/ocaml_src/odyl/Makefile
--- camlp5-4.07/ocaml_src/odyl/Makefile 2007-07-11 05:01:39.000000000 -0700
+++ camlp5-4.07.fink/ocaml_src/odyl/Makefile 2007-08-28 17:37:40.000000000
-0700
@@ -52,7 +52,7 @@
compare:
install:
- -$(MKDIR) "$(LIBDIR)/$(NAME)" "$(BINDIR)"
- cp odyl.cmo odyl.cma "$(LIBDIR)/$(NAME)/."
+ -$(MKDIR) "$(DESTDIR)$(LIBDIR)/$(NAME)" "$(DESTDIR)$(BINDIR)"
+ cp odyl.cmo odyl.cma "$(DESTDIR)$(LIBDIR)/$(NAME)/."
include .depend
diff -Naur --exclude='*~' --exclude=semantic.cache camlp5-4.07/ocpp/Makefile
camlp5-4.07.fink/ocpp/Makefile
--- camlp5-4.07/ocpp/Makefile 2007-07-11 02:46:18.000000000 -0700
+++ camlp5-4.07.fink/ocpp/Makefile 2007-08-28 17:39:22.000000000 -0700
@@ -18,8 +18,8 @@
rm -f *.cm[ioa] *.pp[io] *.o *.out *.bak .*.bak ocpp$(EXE)
install:
- -$(MKDIR) "$(LIBDIR)/$(NAME)" "$(BINDIR)"
- cp $(OBJS) "$(LIBDIR)/$(NAME)/."
- cp ocpp$(EXE) "$(BINDIR)/."
+ -$(MKDIR) "$(DESTDIR)$(LIBDIR)/$(NAME)" "$(DESTDIR)$(BINDIR)"
+ cp $(OBJS) "$(DESTDIR)$(LIBDIR)/$(NAME)/."
+ cp ocpp$(EXE) "$(DESTDIR)$(BINDIR)/."
depend:
diff -Naur --exclude='*~' --exclude=semantic.cache camlp5-4.07/odyl/Makefile
camlp5-4.07.fink/odyl/Makefile
--- camlp5-4.07/odyl/Makefile 2007-07-11 05:01:39.000000000 -0700
+++ camlp5-4.07.fink/odyl/Makefile 2007-08-28 17:39:36.000000000 -0700
@@ -52,7 +52,7 @@
compare:
install:
- -$(MKDIR) "$(LIBDIR)/$(NAME)" "$(BINDIR)"
- cp odyl.cmo odyl.cma "$(LIBDIR)/$(NAME)/."
+ -$(MKDIR) "$(DESTDIR)$(LIBDIR)/$(NAME)" "$(DESTDIR)$(BINDIR)"
+ cp odyl.cmo odyl.cma "$(DESTDIR)$(LIBDIR)/$(NAME)/."
include .depend
diff -Naur --exclude='*~' --exclude=semantic.cache camlp5-4.07/top/Makefile
camlp5-4.07.fink/top/Makefile
--- camlp5-4.07/top/Makefile 2007-07-11 05:01:39.000000000 -0700
+++ camlp5-4.07.fink/top/Makefile 2007-08-28 17:39:50.000000000 -0700
@@ -47,7 +47,7 @@
get_promote:
install:
- -$(MKDIR) "$(LIBDIR)/$(NAME)"
- cp $(TARGET) "$(LIBDIR)/$(NAME)/."
+ -$(MKDIR) "$(DESTDIR)$(LIBDIR)/$(NAME)"
+ cp $(TARGET) "$(DESTDIR)$(LIBDIR)/$(NAME)/."
include .depend
--- NEW FILE: camlp5.info ---
Package: camlp5
Description: Preprocessor-pretty-printer of ocaml
DescDetail: <<
Camlp5 is a preprocessor-pretty-printer of ocaml.
It is the continuation of the classical camlp4 with new features.
It is compatible with OCaml versions from 3.08.1 to 3.11 included.
The current distributed version is 4.07 (released 2007-08-04).
<<
Version: 4.08
Revision: 1
Homepage: http://pauillac.inria.fr/~ddr/camlp5/
Maintainer: Jesse Alama <[EMAIL PROTECTED]>
Source: http://pauillac.inria.fr/~ddr/camlp5/%n-%v.tgz
Source-MD5: 3c4760cbe6e8246e00c566f3d088d1bf
Depends: ocaml (>= 3.08)
PatchScript: sed 's|@PREFIX@|%p|g' < %a/%n.patch | patch -p1
CompileScript: <<
./configure
make world.opt
<<
InstallScript: <<
make install DESTDIR=%d
<<
DocFiles: CHANGES DEVEL ICHANGES LICENSE README UPGRADING
License: OSI-Approved
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits