From owner-svn-ports-all@FreeBSD.ORG Thu Dec 20 05:47:46 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 90B71627; Thu, 20 Dec 2012 05:47:46 +0000 (UTC) (envelope-from araujo@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 69C998FC15; Thu, 20 Dec 2012 05:47:46 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qBK5lkjA081270; Thu, 20 Dec 2012 05:47:46 GMT (envelope-from araujo@svn.freebsd.org) Received: (from araujo@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qBK5ljEA081264; Thu, 20 Dec 2012 05:47:45 GMT (envelope-from araujo@svn.freebsd.org) Message-Id: <201212200547.qBK5ljEA081264@svn.freebsd.org> From: Marcelo Araujo Date: Thu, 20 Dec 2012 05:47:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r309289 - head/devel/ocaml-pomap X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2012 05:47:46 -0000 Author: araujo Date: Thu Dec 20 05:47:45 2012 New Revision: 309289 URL: http://svnweb.freebsd.org/changeset/ports/309289 Log: - Update to 3.0.1. - Add LICENSE. - Add MAKE_JOBS_UNSAFE. PR: ports/172230 Submitted by: KATO Tsuguru Modified: head/devel/ocaml-pomap/Makefile (contents, props changed) head/devel/ocaml-pomap/distinfo (contents, props changed) head/devel/ocaml-pomap/pkg-descr (contents, props changed) Modified: head/devel/ocaml-pomap/Makefile ============================================================================== --- head/devel/ocaml-pomap/Makefile Thu Dec 20 05:46:41 2012 (r309288) +++ head/devel/ocaml-pomap/Makefile Thu Dec 20 05:47:45 2012 (r309289) @@ -2,58 +2,53 @@ # $FreeBSD$ PORTNAME= pomap -PORTVERSION= 2.9.8 -PORTREVISION= 1 -PORTREVISION= 1 +PORTVERSION= 3.0.1 CATEGORIES= devel -MASTER_SITES= http://www.ocaml.info/ocaml_sources/ +MASTER_SITES= http://cdn.bitbucket.org/mmottl/pomap/downloads/ PKGNAMEPREFIX= ocaml- MAINTAINER= ports@FreeBSD.org COMMENT= OCaml library to maintain a list of partially ordered elements -DEPRECATED= No more public distfiles -EXPIRATION_DATE= 2012-11-26 +LICENSE= LGPL21 + +OPTIONS_DEFINE= DOCS EXAMPLES -USE_BZIP2= yes -USE_GMAKE= yes USE_OCAML= yes USE_OCAML_FINDLIB=yes +USE_OCAMLFIND_PLIST=yes USE_OCAML_WASH= yes -DOCS= README -DOCSDIR= ${PREFIX}/share/doc/ocaml/${PORTNAME} -EXAMPLESDIR= ${PREFIX}/share/examples/ocaml/${PORTNAME} - -.include - -post-extract: -# For nonstandard prefixes -.if !exists(${OCAMLFIND_DESTDIR}) - ${MKDIR} ${OCAMLFIND_DESTDIR} +HAS_CONFIGURE= yes +CONFIGURE_ARGS= --prefix ${PREFIX} --disable-docs --disable-examples +MAKE_JOBS_UNSAFE=yes + +DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME} +EXAMPLESDIR= ${OCAML_EXAMPLESDIR}/${PORTNAME} + +PORTDOCS= * +PORTEXAMPLES= * + +.include + +.if ${PORT_OPTIONS:MDOCS} +PLIST_DIRSTRY+= ${OCAML_DOCSDIR:S,^${PREFIX}/,,} +.endif + +.if ${PORT_OPTIONS:MEXAMPLES} +PLIST_DIRSTRY+= ${OCAML_EXAMPLESDIR:S,^${PREFIX}/,,} .endif post-install: - @${FIND} ${OCAMLFIND_DESTDIR}/${PORTNAME} -type f | \ - ${SED} "s,^${PREFIX}/,," >> ${TMPPLIST} -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/ +.for i in AUTHORS.txt CHANGES.txt README.md + (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${DOCSDIR}) +.endfor +.endif +.if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${EXAMPLESDIR} - @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}/) - @${FIND} ${EXAMPLESDIR}/ ! -type d | \ - ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} - @${FIND} ${EXAMPLESDIR}/ -type d | ${SORT} -r | \ - ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} - @${FIND} ${DOCSDIR}/ ! -type d | \ - ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} - @${FIND} ${DOCSDIR}/ -type d | ${SORT} -r | \ - ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} -# XXX: temporary workaround for non-standard PREFIX - @${ECHO_CMD} "@unexec rmdir %D/share/doc/ocaml 2>/dev/null || true" \ - >> ${TMPPLIST} - @${ECHO_CMD} "@unexec rmdir %D/share/examples/ocaml 2>/dev/null||true" \ - >> ${TMPPLIST} + @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR}) .endif -.include +.include Modified: head/devel/ocaml-pomap/distinfo ============================================================================== --- head/devel/ocaml-pomap/distinfo Thu Dec 20 05:46:41 2012 (r309288) +++ head/devel/ocaml-pomap/distinfo Thu Dec 20 05:47:45 2012 (r309289) @@ -1,2 +1,2 @@ -SHA256 (pomap-2.9.8.tar.bz2) = 8cea14b604b261cdb8a16b1a90153cbfb19c958e3466a8556ca50bfeea64b5ce -SIZE (pomap-2.9.8.tar.bz2) = 36645 +SHA256 (pomap-3.0.1.tar.gz) = 1afbedafedb6922937cb58b3bbef057e69f2908cac899288257ba608fbf534ce +SIZE (pomap-3.0.1.tar.gz) = 69989 Modified: head/devel/ocaml-pomap/pkg-descr ============================================================================== --- head/devel/ocaml-pomap/pkg-descr Thu Dec 20 05:46:41 2012 (r309288) +++ head/devel/ocaml-pomap/pkg-descr Thu Dec 20 05:47:45 2012 (r309289) @@ -1,7 +1,7 @@ -The Pomap-library implements an ADT that maintains maps of partially ordered -elements. Whereas a total order allows you to say whether some element is -lower, equal or greater than another one, partial orders also allow for a -"don-t know" case. +The Pomap-library implements an ADT that maintains maps of partially +ordered elements. Whereas a total order allows you to say whether some +element is lower, equal or greater than another one, partial orders also +allow for a "don-t know" case. Author: Markus Mottl -WWW: http://www.ocaml.info/home/ocaml_sources.html +WWW: https://bitbucket.org/mmottl/pomap