View | Details | Raw Unified | Return to bug 132064
Collapse All | Expand All

(-)ocaml-csv/Makefile (-1 / +1 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	ocaml-csv
8
PORTNAME=	ocaml-csv
9
PORTVERSION=	1.1.6
9
PORTVERSION=	1.1.7
10
CATEGORIES=	textproc
10
CATEGORIES=	textproc
11
MASTER_SITES=	http://merjis.com/_file/
11
MASTER_SITES=	http://merjis.com/_file/
12
12
(-)ocaml-csv/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (ocaml-csv-1.1.6.tar.gz) = a91851438f9540b1a445087a4d409507
1
MD5 (ocaml-csv-1.1.7.tar.gz) = 3d0b5711c10b966686be1e1ee84e4aba
2
SHA256 (ocaml-csv-1.1.6.tar.gz) = ff37843ab5e055950e58a20b8a1989a303f09588aa8547a5b98d6dddb5bee799
2
SHA256 (ocaml-csv-1.1.7.tar.gz) = 3b82d4af5544c53dd2d66a6798954673d18c3b891fd7a57e1678905948f04d3c
3
SIZE (ocaml-csv-1.1.6.tar.gz) = 13944
3
SIZE (ocaml-csv-1.1.7.tar.gz) = 14522
(-)ocaml-csv/files/patch-Makefile (-37 / +9 lines)
Lines 1-39 Link Here
1
--- Makefile.orig	2007-12-17 17:56:16.458954606 -0500
1
--- Makefile.orig	2009-02-24 15:03:43.000000000 +0100
2
+++ Makefile	2007-12-17 17:54:34.177261751 -0500
2
+++ Makefile	2009-02-24 15:04:05.000000000 +0100
3
@@ -5,11 +5,11 @@
3
@@ -70,7 +70,7 @@
4
 # To enable support for Extlib, also uncomment 'open ExtList' at the top
4
 # Build a distribution.
5
 # of file csv.ml.
6
 
5
 
7
-OCAMLCINCS	:=
6
 install:
8
-#OCAMLCINCS	:= -package extlib
7
-	ocamlfind install csv csv.{cmi,a,cmxa,cma,cmx} META
9
+#OCAMLCINCS	:=
8
+	ocamlfind install csv csv.cmi csv.a csv.cmxa csv.cma csv.cmx META
10
+OCAMLCINCS	:= -package extlib
11
 OCAMLCFLAGS	:= -g
12
-OCAMLCLIBS	:=
13
-#OCAMLCLIBS	:= -linkpkg
14
+#OCAMLCLIBS	:=
15
+OCAMLCLIBS	:= -linkpkg
16
 
17
 OCAMLOPTINCS	:= $(OCAMLCINCS)
18
 OCAMLOPTFLAGS	:=
19
@@ -23,6 +23,20 @@
20
 
21
 all: csv.cma csv.cmxa example csvtool
22
 
23
+## The install and META targets were borrowed from Richard W.M. Jones' RPM patch
24
+install: all META
25
+	ocamlfind install csv META *.mli $(wildcard *.a) csv.cmi $(wildcard csv.cmx) *.cma $(wildcard *.cmxa)
26
+#	install csvtool ${DESTDIR}${BINDIR}
27
+
28
+META:
29
+	rm -f $@
30
+	echo 'version="${VERSION}"' >> $@
31
+	echo 'description="CSV library"' >> $@
32
+	echo 'archive(byte)="csv.cma"' >> $@
33
+	echo 'archive(native)="csv.cmxa"' >> $@
34
+	echo 'requires="extlib"' >> $@
35
+
36
+
37
 csv.cma: $(OBJS)
38
 	ocamlfind ocamlc $(OCAMLCINCS) $(OCAMLCFLAGS) -a -o $@ $^
39
 
9
 
10
 dist:
11
 	$(MAKE) check-manifest
(-)ocaml-csv/pkg-plist (-1 lines)
Lines 3-7 Link Here
3
%%OCAML_SITELIBDIR%%/csv/csv.cmi
3
%%OCAML_SITELIBDIR%%/csv/csv.cmi
4
%%OCAML_SITELIBDIR%%/csv/csv.cmx
4
%%OCAML_SITELIBDIR%%/csv/csv.cmx
5
%%OCAML_SITELIBDIR%%/csv/csv.cmxa
5
%%OCAML_SITELIBDIR%%/csv/csv.cmxa
6
%%OCAML_SITELIBDIR%%/csv/csv.mli
7
%%OCAML_SITELIBDIR%%/csv/META
6
%%OCAML_SITELIBDIR%%/csv/META

Return to bug 132064