Date: Tue, 2 Oct 2012 02:54:00 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/172236: devel/ocaml-xstrp4: Update to version 1.8 Message-ID: <20121002025400.cf406d4ac3d15d241b32b88f@yahoo.com> Resent-Message-ID: <201210011810.q91IAAFW014135@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 172236 >Category: ports >Synopsis: devel/ocaml-xstrp4: Update to version 1.8 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Oct 01 18:10:10 UTC 2012 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 7.4-RELEASE-p10 i386 >Organization: >Environment: >Description: - Update to version 1.8 >How-To-Repeat: >Fix: diff -urN /usr/ports/devel/ocaml-xstrp4/Makefile devel/ocaml-xstrp4/Makefile --- /usr/ports/devel/ocaml-xstrp4/Makefile 2011-10-24 12:32:57.000000000 +0900 +++ devel/ocaml-xstrp4/Makefile 2012-09-28 18:57:57.000000000 +0900 @@ -1,14 +1,8 @@ -# New ports collection makefile for: ocaml-xstrp4 -# Date created: 2006-08-01 -# Whom: Stanislav Sedov <ssedov@mbsd.msk.ru> -# -# $MBSDlabs$ +# Created by: Stanislav Sedov <ssedov@mbsd.msk.ru> # $FreeBSD: ports/devel/ocaml-xstrp4/Makefile,v 1.8 2011/10/24 03:32:57 stas Exp $ -# PORTNAME= xstrp4 -PORTVERSION= 1.7 -PORTREVISION= 1 +PORTVERSION= 1.8 CATEGORIES= devel MASTER_SITES= http://download.camlcity.org/download/ PKGNAMEPREFIX= ocaml- @@ -16,36 +10,32 @@ 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 <bsd.port.pre.mk> +PORTEXAMPLES= * -post-extract: -# For nonstandard prefixes -.if !exists(${OCAMLFIND_DESTDIR}) - ${MKDIR} ${OCAMLFIND_DESTDIR} -.endif -.if !exists(${OCAMLFIND_LDCONF}) - ${TOUCH} ${OCAMLFIND_LDCONF} +.include <bsd.port.options.mk> + +.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 <bsd.port.post.mk> +.include <bsd.port.mk> diff -urN /usr/ports/devel/ocaml-xstrp4/distinfo devel/ocaml-xstrp4/distinfo --- /usr/ports/devel/ocaml-xstrp4/distinfo 2011-07-03 23:56:35.000000000 +0900 +++ devel/ocaml-xstrp4/distinfo 2012-09-28 18:43:48.000000000 +0900 @@ -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 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121002025400.cf406d4ac3d15d241b32b88f>