From owner-svn-ports-head@freebsd.org Sat Jan 14 19:30:20 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EEF0BCAFC11; Sat, 14 Jan 2017 19:30:20 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C96A1172C; Sat, 14 Jan 2017 19:30:20 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v0EJUJQ3022445; Sat, 14 Jan 2017 19:30:19 GMT (envelope-from hrs@FreeBSD.org) Received: (from hrs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v0EJUJ8C022442; Sat, 14 Jan 2017 19:30:19 GMT (envelope-from hrs@FreeBSD.org) Message-Id: <201701141930.v0EJUJ8C022442@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: hrs set sender to hrs@FreeBSD.org using -f From: Hiroki Sato Date: Sat, 14 Jan 2017 19:30:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r431490 - head/devel/ocaml-pcre 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.23 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: Sat, 14 Jan 2017 19:30:21 -0000 Author: hrs Date: Sat Jan 14 19:30:19 2017 New Revision: 431490 URL: https://svnweb.freebsd.org/changeset/ports/431490 Log: - Add LICENSE. - Strip installed binaries. Modified: head/devel/ocaml-pcre/Makefile head/devel/ocaml-pcre/pkg-descr head/devel/ocaml-pcre/pkg-plist Modified: head/devel/ocaml-pcre/Makefile ============================================================================== --- head/devel/ocaml-pcre/Makefile Sat Jan 14 18:50:26 2017 (r431489) +++ head/devel/ocaml-pcre/Makefile Sat Jan 14 19:30:19 2017 (r431490) @@ -4,35 +4,44 @@ PORTNAME= pcre PORTVERSION= 7.2.3 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= devel PKGNAMEPREFIX= ocaml- -MAINTAINER= ports@FreeBSD.org +MAINTAINER= hrs@FreeBSD.org COMMENT= Perl compatible regular expressions for Objective Caml +LICENSE= LGPL21 + LIB_DEPENDS= libpcre.so:devel/pcre USE_GITHUB= yes GH_ACCOUNT= mmottl GH_PROJECT= ${PORTNAME}-ocaml - USE_OCAML= yes USE_OCAML_FINDLIB= yes USE_OCAML_LDCONFIG= yes - EXAMPLESDIR= ${OCAML_EXAMPLESDIR}/${PORTNAME} +PORTEXAMPLES= cloc count_hash pcregrep subst DOCSDIR= ${PREFIX}/share/doc/pcre-ocaml +PORTDOCS= api OPTIONS_DEFINE= DOCS EXAMPLES +DOCS_CONFIGURE_OFF= --disable-docs post-patch: - @${REINPLACE_CMD} -e 's|$$prefix"/"share|${STAGEDIR}${PREFIX}/share|' \ - -e '/datarootdir/s|$$pkg_name|&-ocaml|' \ - ${WRKSRC}/setup.ml - @${REINPLACE_CMD} -e 's| safe_string,||' ${WRKSRC}/_tags + ${REINPLACE_CMD} -e 's|$$prefix"/"share|${STAGEDIR}${PREFIX}/share|' \ + -e '/datarootdir/s|$$pkg_name|&-ocaml|' \ + ${WRKSRC}/setup.ml + ${REINPLACE_CMD} -e 's| safe_string,||' ${WRKSRC}/_tags + +post-install: + cd ${STAGEDIR}${PREFIX} && ${STRIP_CMD} \ + lib/ocaml/site-lib/pcre/dllpcre_stubs.so \ + lib/ocaml/site-lib/pcre/pcre.cmxs post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - @cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} + cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} .include Modified: head/devel/ocaml-pcre/pkg-descr ============================================================================== --- head/devel/ocaml-pcre/pkg-descr Sat Jan 14 18:50:26 2017 (r431489) +++ head/devel/ocaml-pcre/pkg-descr Sat Jan 14 19:30:19 2017 (r431490) @@ -1,3 +1,4 @@ Perl compatible regular expressions for Objective Caml. WWW: http://www.ocaml.info/home/ocaml_sources.html#pcre-ocaml +WWW: https://github.com/mmottl/pcre-ocaml Modified: head/devel/ocaml-pcre/pkg-plist ============================================================================== --- head/devel/ocaml-pcre/pkg-plist Sat Jan 14 18:50:26 2017 (r431489) +++ head/devel/ocaml-pcre/pkg-plist Sat Jan 14 19:30:19 2017 (r431490) @@ -12,25 +12,3 @@ %%OCAML_SITELIBDIR%%/pcre/pcre.cmxs %%OCAML_SITELIBDIR%%/pcre/pcre.mli %%OCAML_SITELIBDIR%%/pcre/pcre_compat.cmx -%%PORTDOCS%%%%DOCSDIR%%/api/Pcre.html -%%PORTDOCS%%%%DOCSDIR%%/api/index.html -%%PORTDOCS%%%%DOCSDIR%%/api/index_attributes.html -%%PORTDOCS%%%%DOCSDIR%%/api/index_class_types.html -%%PORTDOCS%%%%DOCSDIR%%/api/index_classes.html -%%PORTDOCS%%%%DOCSDIR%%/api/index_exceptions.html -%%PORTDOCS%%%%DOCSDIR%%/api/index_extensions.html -%%PORTDOCS%%%%DOCSDIR%%/api/index_methods.html -%%PORTDOCS%%%%DOCSDIR%%/api/index_module_types.html -%%PORTDOCS%%%%DOCSDIR%%/api/index_modules.html -%%PORTDOCS%%%%DOCSDIR%%/api/index_types.html -%%PORTDOCS%%%%DOCSDIR%%/api/index_values.html -%%PORTDOCS%%%%DOCSDIR%%/api/style.css -%%PORTDOCS%%%%DOCSDIR%%/api/type_Pcre.html -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cloc/README.md -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cloc/cloc.ml -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/count_hash/README.md -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/count_hash/count_hash.ml -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pcregrep/README.md -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pcregrep/pcregrep.ml -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/subst/README.md -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/subst/subst.ml