From owner-svn-ports-head@FreeBSD.ORG Wed Jun 5 22:22:32 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id DAC01485; Wed, 5 Jun 2013 22:22:32 +0000 (UTC) (envelope-from eadler@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 B380717A4; Wed, 5 Jun 2013 22:22:32 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r55MMWlj069349; Wed, 5 Jun 2013 22:22:32 GMT (envelope-from eadler@svn.freebsd.org) Received: (from eadler@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r55MMWWs069347; Wed, 5 Jun 2013 22:22:32 GMT (envelope-from eadler@svn.freebsd.org) Message-Id: <201306052222.r55MMWWs069347@svn.freebsd.org> From: Eitan Adler Date: Wed, 5 Jun 2013 22:22:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r320033 - head/math/givaro 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: Wed, 05 Jun 2013 22:22:32 -0000 Author: eadler Date: Wed Jun 5 22:22:32 2013 New Revision: 320033 URL: http://svnweb.freebsd.org/changeset/ports/320033 Log: Convert to OptionsNG Reviewed by: kwm, jgh Approved by: bapt Modified: head/math/givaro/Makefile head/math/givaro/pkg-descr Modified: head/math/givaro/Makefile ============================================================================== --- head/math/givaro/Makefile Wed Jun 5 22:02:13 2013 (r320032) +++ head/math/givaro/Makefile Wed Jun 5 22:22:32 2013 (r320033) @@ -16,25 +16,21 @@ LICENSE_PERMS= auto-accept LIB_DEPENDS= gmp.10:${PORTSDIR}/math/gmp -OPTIONS= DOCS "build HTML documents (requires doxygen)" off - GNU_CONFIGURE= yes CONFIGURE_ARGS = --with-gmp="${LOCALBASE}" USE_LDCONFIG= yes +OPTIONS_DEFINE= DOXYGEN + .include -.if ${PORT_OPTIONS:MDOCS) && !defined(NOPORTDOCS} +.if ${PORT_OPTIONS:MDOXYGEN} BUILD_DEPENDS += doxygen:${PORTSDIR}/devel/doxygen CONFIGURE_ARGS+= --enable-doc --with-docdir="${DOCSDIR}" -.elifndef(NOPORTDOCS) -NOPORTDOCS= yes .endif -.if ${LOCALBASE} == "/usr/local" CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -.endif post-patch: @${REINPLACE_CMD} -e '/DEFAULT_CFLAGS=/{s/-O2 //;s/-pipe//;}' \ @@ -42,11 +38,11 @@ post-patch: -e '/^WARN_CFLAGS="-Wall"/d' \ -e '/if test "x$$WARN" = "xyes"/s/$$/ WARN_CFLAGS="-Wall" ;/' \ ${WRKSRC}/configure -.if ${PORT_OPTIONS:MDOCS) && !defined(NOPORTDOCS} +.if ${PORT_OPTIONS:MDOXYGEN) @${REINPLACE_CMD} -e 's/sed -i/& ""/' ${WRKSRC}/docs/Makefile.in .endif -.if ${PORT_OPTIONS:MDOCS) && !defined(NOPORTDOCS} +.if ${PORT_OPTIONS:MDOXYGEN} post-install: @${TOUCH} ${DOCSDIR}/givaro-dev-html/.keep-me Modified: head/math/givaro/pkg-descr ============================================================================== --- head/math/givaro/pkg-descr Wed Jun 5 22:02:13 2013 (r320032) +++ head/math/givaro/pkg-descr Wed Jun 5 22:22:32 2013 (r320033) @@ -7,4 +7,4 @@ classes for the manipulation of basic al matrices (dense, sparse, and structured), univariate polynomials, and recursive multivariate polynomials. -WWW: http://ljk.imag.fr/CASYS/LOGICIELS/givaro/ +WWW: http://ljk.imag.fr/CASYS/LOGICIELS/givaro/