Date: Thu, 21 Mar 2013 00:14:09 +0000 (UTC) From: Jason Helfman <jgh@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r314784 - head/textproc/ocaml-text Message-ID: <201303210014.r2L0E99h042561@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jgh Date: Thu Mar 21 00:14:09 2013 New Revision: 314784 URL: http://svnweb.freebsd.org/changeset/ports/314784 Log: - adopt optionsNG - trim historical header Approved by: portmgr (miwi) Modified: head/textproc/ocaml-text/Makefile Modified: head/textproc/ocaml-text/Makefile ============================================================================== --- head/textproc/ocaml-text/Makefile Thu Mar 21 00:13:07 2013 (r314783) +++ head/textproc/ocaml-text/Makefile Thu Mar 21 00:14:09 2013 (r314784) @@ -1,7 +1,4 @@ -# New ports collection makefile for: ocaml-text -# Date created: April 18, 2011 -# Whom: Jaap Boender <jaapb@kerguelen.org> -# +# Created by: Jaap Boender <jaapb@kerguelen.org> # $FreeBSD$ PORTNAME= text @@ -25,18 +22,20 @@ USE_OCAML_FINDLIB= yes USE_OCAML_LDCONFIG= yes USE_OCAMLFIND_PLIST= yes -OPTIONS= PCRE "Compile with PCRE support" ON +OPTIONS_DEFINE= PCRE +OPTIONS_DEFAULT= PCRE SA_DIR= ${LOCALBASE}/${OCAML_SITELIBDIR} .include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if defined(WITHOUT_PCRE) -CONFIGURE_ARGS+= --disable-pcre -.else +.if ${PORT_OPTIONS:MPCRE} CONFIGURE_ARGS+= --enable-pcre BUILD_DEPENDS+= ${SA_DIR}/pcre/pcre.a:${PORTSDIR}/devel/ocaml-pcre RUN_DEPENDS+= ${SA_DIR}/pcre/pcre.a:${PORTSDIR}/devel/ocaml-pcre +.else +CONFIGURE_ARGS+= --disable-pcre .endif post-extract:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303210014.r2L0E99h042561>