From owner-svn-ports-head@FreeBSD.ORG Mon Aug 11 09:27:12 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3EA5CE03 for ; Mon, 11 Aug 2014 09:27:12 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 141BA288B for ; Mon, 11 Aug 2014 09:27:12 +0000 (UTC) Received: from danfe (uid 1033) (envelope-from danfe@FreeBSD.org) id 2591 by svn.freebsd.org (DragonFly Mail Agent v0.9+); Mon, 11 Aug 2014 09:27:12 +0000 From: Alexey Dokuchaev Date: Mon, 11 Aug 2014 09:27:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r364594 - head/math/ogdf X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-Id: <53e88c70.2591.7ea673aa@svn.freebsd.org> X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 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: Mon, 11 Aug 2014 09:27:12 -0000 Author: danfe Date: Mon Aug 11 09:27:11 2014 New Revision: 364594 URL: http://svnweb.freebsd.org/changeset/ports/364594 QAT: https://qat.redports.org/buildarchive/r364594/ Log: - Correctly register Python as a build dependency - Move OPTIONS block where it is normally located - Simplify MASTER_SITES, mute REINPLACE_CMD, wrap an overly long line while here Modified: head/math/ogdf/Makefile Modified: head/math/ogdf/Makefile ============================================================================== --- head/math/ogdf/Makefile Mon Aug 11 09:26:40 2014 (r364593) +++ head/math/ogdf/Makefile Mon Aug 11 09:27:11 2014 (r364594) @@ -1,29 +1,28 @@ -# Created by: gahr +# Created by: Pietro Cerutti # $FreeBSD$ PORTNAME= ogdf PORTVERSION= 2012.07 CATEGORIES= math -MASTER_SITES= ${MASTER_SITE_LOCAL} \ +MASTER_SITES= LOCAL/gahr \ http://people.freebsd.org/~gahr/distfiles/ -MASTER_SITE_SUBDIR= gahr -DISTNAME= ogdf.v2012.07 +DISTNAME= ${PORTNAME}.v${PORTVERSION} MAINTAINER= gahr@FreeBSD.org COMMENT= C++ class library for the automatic layout of diagrams LICENSE= GPLv2 -OPTIONS_DEFINE= COIN ABACUS -COIN_DESC= Use the Coin Open Solver Interface (Osi) -ABACUS_DESC= Use the ABACUS branch-and-cut library - USES= zip USE_LDCONFIG= yes -USE_PYTHON= build +USE_PYTHON_BUILD= yes WRKSRC= ${WRKDIR}/${PORTNAME:tu} +OPTIONS_DEFINE= COIN ABACUS +COIN_DESC= Use the Coin Open Solver Interface (Osi) +ABACUS_DESC= Use the ABACUS branch-and-cut library + .include .if ${PORT_OPTIONS:MCOIN} @@ -43,18 +42,19 @@ USE_ABACUS= false .endif post-patch: - ${REINPLACE_CMD} -e '\ + @${REINPLACE_CMD} -e '\ s|%%CXX%%|${CXX}|g; \ s|%%LOCALBASE%%|${LOCALBASE}|g; \ s|%%USE_COIN%%|${USE_COIN}|g; \ s|%%USE_ABACUS%%|${USE_ABACUS}|g' \ - ${WRKSRC}/makeMakefile.config + ${WRKSRC}/makeMakefile.config do-configure: cd ${WRKSRC} && ${PYTHON_CMD} makeMakefile.py do-install: - ${INSTALL_DATA} ${WRKSRC}/_release/libOGDF.so ${STAGEDIR}${PREFIX}/lib/libOGDF.so.1 + ${INSTALL_DATA} ${WRKSRC}/_release/libOGDF.so \ + ${STAGEDIR}${PREFIX}/lib/libOGDF.so.1 ${LN} -sf libOGDF.so.1 ${STAGEDIR}${PREFIX}/lib/libOGDF.so cd ${WRKSRC} && ${COPYTREE_SHARE} ogdf ${STAGEDIR}${PREFIX}/include