Bug 188354 - devel/ocaml-classes: Update to version 4.00
Summary: devel/ocaml-classes: Update to version 4.00
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-07 19:40 UTC by tkato432
Modified: 2014-05-17 14:50 UTC (History)
0 users

See Also:


Attachments
file.diff (3.70 KB, patch)
2014-04-07 19:40 UTC, tkato432
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tkato432 2014-04-07 19:40:00 UTC
- Update to version 4.00

Remove file:
files/META
Comment 1 Edwin Groothuis freebsd_committer 2014-04-07 19:40:05 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

miwi@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2014-05-17 14:45:08 UTC
Author: miwi
Date: Sat May 17 13:45:03 2014
New Revision: 354323
URL: http://svnweb.freebsd.org/changeset/ports/354323
QAT: https://qat.redports.org/buildarchive/r354323/

Log:
  - Update to version 4.00
  - Stage support
  
  PR:		188354
  Submitted by:	Ports Fury

Deleted:
  head/devel/ocaml-classes/files/META
Modified:
  head/devel/ocaml-classes/Makefile
  head/devel/ocaml-classes/distinfo
  head/devel/ocaml-classes/files/patch-Makefile

Modified: head/devel/ocaml-classes/Makefile
==============================================================================
--- head/devel/ocaml-classes/Makefile	Sat May 17 13:36:17 2014	(r354322)
+++ head/devel/ocaml-classes/Makefile	Sat May 17 13:45:03 2014	(r354323)
@@ -2,22 +2,20 @@
 # $FreeBSD$
 
 PORTNAME=	classes
-PORTVERSION=	3.05
-PORTREVISION=	3
+PORTVERSION=	4.00
 CATEGORIES=	devel
-MASTER_SITES=	http://caml.inria.fr/pub/distrib/bazar-ocaml/ \
-		http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/
+MASTER_SITES=	http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/
 PKGNAMEPREFIX=	ocaml-
 DISTNAME=	ocaml-${PORTNAME}-${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Ocaml Object interface for ocaml's standard library modules
 
+LICENSE=	LGPL21
+
 BUILD_DEPENDS=	ocamlc:${PORTSDIR}/lang/ocaml
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 
-NO_STAGE=	yes
-post-extract:
-	@${CP} ${FILESDIR}/META ${WRKSRC}
+MAKE_ENV=	INSTALL="${INSTALL_DATA}"
 
 .include <bsd.port.mk>

Modified: head/devel/ocaml-classes/distinfo
==============================================================================
--- head/devel/ocaml-classes/distinfo	Sat May 17 13:36:17 2014	(r354322)
+++ head/devel/ocaml-classes/distinfo	Sat May 17 13:45:03 2014	(r354323)
@@ -1,2 +1,2 @@
-SHA256 (ocaml-classes-3.05.tar.gz) = 103cbb4113c673a383b9ec33d3aecf5383808dfddfec60901ec84c6e77902ab7
-SIZE (ocaml-classes-3.05.tar.gz) = 10205
+SHA256 (ocaml-classes-4.00.tar.gz) = e62d37e11e608f9340d5477dae68b110b475242d7ea2fdb8c0330ad76f95b5f0
+SIZE (ocaml-classes-4.00.tar.gz) = 20269

Modified: head/devel/ocaml-classes/files/patch-Makefile
==============================================================================
--- head/devel/ocaml-classes/files/patch-Makefile	Sat May 17 13:36:17 2014	(r354322)
+++ head/devel/ocaml-classes/files/patch-Makefile	Sat May 17 13:45:03 2014	(r354323)
@@ -1,21 +1,19 @@
 --- Makefile.orig	Thu Apr 18 16:39:26 2002
 +++ Makefile	Tue Aug  1 12:53:14 2006
-@@ -1,10 +1,12 @@
+@@ -1,10 +1,10 @@
  #Adjust this directory for installation
 -LIBDIR=`ocamlc -where`
-+LIBDIR=$(LOCALBASE)/lib/ocaml/site-lib/classes
-+DISTDIR=$(PREFIX)/lib/ocaml/site-lib/classes
++LIBDIR=$(PREFIX)/lib/ocaml/site-lib/classes
  COMPILER=ocamlc -c
  LIBRARIAN=ocamlc -a
  OPTCOMP=ocamlopt -c
  OPTLIB=ocamlopt -a
 -INSTALL=cp
-+INSTALL=install -o root -g wheel -m 644
-+INSTALLDIR=install -d -o root -g wheel -m 755
++INSTALL?=install -o root -g wheel -m 644
  
  OBJECTS=obuffer.cmo	ohashtbl.cmo	oqueue.cmo	ostack.cmo \
  	omap.cmo	oset.cmo	ostream.cmo	omapping.cmo
-@@ -16,13 +18,13 @@
+@@ -16,13 +16,13 @@
  .SUFFIXES: .ml .mli .cmo .cmi .cmx
  
  .ml.cmo:
@@ -32,18 +30,18 @@
  
  all: stdclass.cma
  opt: stdclass.cmxa
-@@ -43,12 +45,15 @@
+@@ -43,12 +43,15 @@
  	@$(MAKE) real-install LIBDIR=$(LIBDIR)
  
  real-install:
 -	$(INSTALL) stdclass.cma *.cmi *.mli $(LIBDIR)
-+	$(INSTALLDIR) $(DISTDIR)
-+	$(INSTALL) stdclass.cma *.cmi *.mli $(DISTDIR)
++	mkdir -p $(DESTDIR)$(LIBDIR)
++	$(INSTALL) stdclass.cma *.cmi *.mli $(DESTDIR)$(LIBDIR)
  	if test -f stdclass.cmxa; \
 -	then $(INSTALL) stdclass.cmxa stdclass.a *.cmx $(LIBDIR); fi
-+	then $(INSTALL) stdclass.cmxa stdclass.a *.cmx $(DISTDIR); fi
++	then $(INSTALL) stdclass.cmxa stdclass.a *.cmx $(DESTDIR)$(LIBDIR); fi
 +	if test -f META; \
-+	then $(INSTALL) META $(DISTDIR); fi
++	then $(INSTALL) META $(DESTDIR)$(LIBDIR); fi
  
  clean:
 -	rm -f *.cm* *.o *.a *~ #*
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Martin Wilke freebsd_committer 2014-05-17 14:45:26 UTC
State Changed
From-To: open->closed

Committed. Thanks!