From owner-svn-ports-head@FreeBSD.ORG Thu Dec 20 05:54:03 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 50362CB3; Thu, 20 Dec 2012 05:54:03 +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 34E9C8FC0A; Thu, 20 Dec 2012 05:54:03 +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 qBK5s35F082647; Thu, 20 Dec 2012 05:54:03 GMT (envelope-from araujo@svn.freebsd.org) Received: (from araujo@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qBK5s27K082645; Thu, 20 Dec 2012 05:54:02 GMT (envelope-from araujo@svn.freebsd.org) Message-Id: <201212200554.qBK5s27K082645@svn.freebsd.org> From: Marcelo Araujo Date: Thu, 20 Dec 2012 05:54:02 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r309296 - head/devel/ocaml-xstrp4 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2012 05:54:03 -0000 Author: araujo Date: Thu Dec 20 05:54:02 2012 New Revision: 309296 URL: http://svnweb.freebsd.org/changeset/ports/309296 Log: - Update to 1.8. - Add LICENSE. - Add MAKE_JOBS_UNSAFE. - Trim header. PR: ports/172236 Submitted by: KATO Tsuguru Modified: head/devel/ocaml-xstrp4/Makefile (contents, props changed) head/devel/ocaml-xstrp4/distinfo (contents, props changed) Modified: head/devel/ocaml-xstrp4/Makefile ============================================================================== --- head/devel/ocaml-xstrp4/Makefile Thu Dec 20 05:53:00 2012 (r309295) +++ head/devel/ocaml-xstrp4/Makefile Thu Dec 20 05:54:02 2012 (r309296) @@ -1,13 +1,8 @@ -# New ports collection makefile for: ocaml-xstrp4 -# Date created: 2006-08-01 -# Whom: Stanislav Sedov -# -# $MBSDlabs$ +# Created by: Stanislav Sedov # $FreeBSD$ -# PORTNAME= xstrp4 -PORTVERSION= 1.7 +PORTVERSION= 1.8 PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://download.camlcity.org/download/ @@ -16,36 +11,32 @@ PKGNAMEPREFIX= ocaml- MAINTAINER= ports@FreeBSD.org COMMENT= An OCaml extension to expands brace expansions +LICENSE= MIT + +OPTIONS_DEFINE= EXAMPLES + USE_GMAKE= yes USE_OCAML= yes USE_OCAML_FINDLIB=yes +USE_OCAMLFIND_PLIST=yes + HAS_CONFIGURE= yes MAKE_JOBS_UNSAFE= yes -EXAMPLESDIR= ${PREFIX}/share/examples/ocaml/${PORTNAME} +EXAMPLESDIR= ${OCAML_EXAMPLESDIR}/${PORTNAME} -.include +PORTEXAMPLES= * -post-extract: -# For nonstandard prefixes -.if !exists(${OCAMLFIND_DESTDIR}) - ${MKDIR} ${OCAMLFIND_DESTDIR} -.endif -.if !exists(${OCAMLFIND_LDCONF}) - ${TOUCH} ${OCAMLFIND_LDCONF} +.include + +.if ${PORT_OPTIONS:MEXAMPLES} +PLIST_DIRSTRY+= ${OCAML_EXAMPLESDIR:S,^${PREFIX}/,,} .endif post-install: +.if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/sample.* ${EXAMPLESDIR} - - @${FIND} ${OCAMLFIND_DESTDIR}/${PORTNAME} -type f | \ - ${SED} "s,^${PREFIX}/,," >> ${TMPPLIST} - @${FIND} ${EXAMPLESDIR} -type f | \ - ${SED} "s,^${PREFIX}/,," >> ${TMPPLIST} - - @${ECHO_CMD} "@dirrm share/examples/ocaml/${PORTNAME}" >> ${TMPPLIST} - @${ECHO_CMD} "@unexec rmdir %D/share/examples/ocaml 2>/dev/null ||true"\ - >> ${TMPPLIST} + (cd ${WRKSRC} && ${INSTALL_DATA} sample.* ${EXAMPLESDIR}) +.endif -.include +.include Modified: head/devel/ocaml-xstrp4/distinfo ============================================================================== --- head/devel/ocaml-xstrp4/distinfo Thu Dec 20 05:53:00 2012 (r309295) +++ head/devel/ocaml-xstrp4/distinfo Thu Dec 20 05:54:02 2012 (r309296) @@ -1,2 +1,2 @@ -SHA256 (xstrp4-1.7.tar.gz) = 105649f9b4722a356485a2d5bce40224b0df29b6a7e821e904accfb86fbb92c9 -SIZE (xstrp4-1.7.tar.gz) = 8240 +SHA256 (xstrp4-1.8.tar.gz) = d43e87ef81b62661485597748c8eb30b67794c648e2d936869c32ed033061bc9 +SIZE (xstrp4-1.8.tar.gz) = 7513