Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Aug 2014 09:27:12 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r364594 - head/math/ogdf
Message-ID:  <53e88c70.2591.7ea673aa@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <gahr@FreeBSD.org>
 # $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 <bsd.port.options.mk>
 
 .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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e88c70.2591.7ea673aa>