aboutsummaryrefslogtreecommitdiff
path: root/math/ogdf/Makefile
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2014-08-11 09:27:11 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2014-08-11 09:27:11 +0000
commit4514d349bd7f64bc506283e8c7471da9f417d350 (patch)
tree026ac54588cafd889b25514ac8220b105f0cd581 /math/ogdf/Makefile
parente3beaf2845a06eafef747164005d9ca28de2f369 (diff)
downloadports-4514d349bd7f64bc506283e8c7471da9f417d350.tar.gz
ports-4514d349bd7f64bc506283e8c7471da9f417d350.zip
- 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
Notes
Notes: svn path=/head/; revision=364594
Diffstat (limited to 'math/ogdf/Makefile')
-rw-r--r--math/ogdf/Makefile24
1 files changed, 12 insertions, 12 deletions
diff --git a/math/ogdf/Makefile b/math/ogdf/Makefile
index 5bedc363feb9..22106221abd4 100644
--- a/math/ogdf/Makefile
+++ b/math/ogdf/Makefile
@@ -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