svn commit: r309287 - head/devel/ocaml-extlib

Marcelo Araujo araujo at FreeBSD.org
Thu Dec 20 05:45:57 UTC 2012


Author: araujo
Date: Thu Dec 20 05:45:56 2012
New Revision: 309287
URL: http://svnweb.freebsd.org/changeset/ports/309287

Log:
  - Update to 1.5.3.
  - Add LICENSE.
  - Trim header.
  
  PR:		ports/172228
  Submitted by:	KATO Tsuguru <tkato432 at yahoo.com>

Deleted:
  head/devel/ocaml-extlib/pkg-plist
Modified:
  head/devel/ocaml-extlib/Makefile   (contents, props changed)
  head/devel/ocaml-extlib/distinfo   (contents, props changed)

Modified: head/devel/ocaml-extlib/Makefile
==============================================================================
--- head/devel/ocaml-extlib/Makefile	Thu Dec 20 05:45:04 2012	(r309286)
+++ head/devel/ocaml-extlib/Makefile	Thu Dec 20 05:45:56 2012	(r309287)
@@ -1,41 +1,40 @@
-# Ports collection makefile for:	extlib
-# Date created:			Nov 2, 2004
-# Whom:				mukai
-#
+# Created by: mukai
 # $FreeBSD$
-#
 
 PORTNAME=	extlib
-PORTVERSION=	1.5.2
+PORTVERSION=	1.5.3
 CATEGORIES=	devel
-MASTER_SITES=	http://ocaml-extlib.googlecode.com/files/
-MASTER_SITE_SUBDIR=	ocaml-lib
+MASTER_SITES=	GOOGLE_CODE
+PROJECTHOST=	${PKGNAMEPREFIX}${PORTNAME}
 PKGNAMEPREFIX=	ocaml-
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	A complete - yet small - standard library for OCaml
 
-BUILD_DEPENDS=	ocamlc:${PORTSDIR}/lang/ocaml \
-		ocamlfind:${PORTSDIR}/devel/ocaml-findlib
+LICENSE=	LGPL21
 
-USE_GMAKE=	yes
-USE_DOS2UNIX=	yes
-ALL_TARGET=	all opt
+OPTIONS_DEFINE=	DOCS
 
-.if !defined(NOPORTDOCS)
-ALL_TARGET+=	doc
-.endif
+USE_OCAML=	yes
+USE_OCAML_FINDLIB=yes
+USE_OCAMLFIND_PLIST=yes
+
+ALL_TARGET=	all opt
 
+DOCSDIR=	${OCAML_DOCSDIR}/${PORTNAME}
 PORTDOCS=	*
-DOCSDIR=	${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
 
-post-patch:
-	@${REINPLACE_CMD} -e '/css/d' ${WRKSRC}/Makefile
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
+ALL_TARGET+= doc
+PLIST_DIRSTRY=	${OCAML_DOCSDIR:S,^${PREFIX}/,,}
+.endif
 
 post-install:
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${DOCSDIR}
+	(cd ${WRKSRC}/doc && ${INSTALL_DATA} * ${DOCSDIR})
 .endif
 
 .include <bsd.port.mk>

Modified: head/devel/ocaml-extlib/distinfo
==============================================================================
--- head/devel/ocaml-extlib/distinfo	Thu Dec 20 05:45:04 2012	(r309286)
+++ head/devel/ocaml-extlib/distinfo	Thu Dec 20 05:45:56 2012	(r309287)
@@ -1,2 +1,2 @@
-SHA256 (extlib-1.5.2.tar.gz) = ca6d69adeba4242ce41c02a23746ba1e464c0bbec66e2d16b02c3c6e85dc10aa
-SIZE (extlib-1.5.2.tar.gz) = 70197
+SHA256 (extlib-1.5.3.tar.gz) = c095eef4202a8614ff1474d4c08c50c32d6ca82d1015387785cf03d5913ec021
+SIZE (extlib-1.5.3.tar.gz) = 70897


More information about the svn-ports-all mailing list