diff options
author | bsam <bsam@FreeBSD.org> | 2013-09-12 21:38:36 +0800 |
---|---|---|
committer | bsam <bsam@FreeBSD.org> | 2013-09-12 21:38:36 +0800 |
commit | eeccbaaf1e3a02f99273a20cc9a3e804d496d8f4 (patch) | |
tree | bb5c0307fc287a8186610238342dd2b70db7de54 /math | |
parent | bae54eea71d615fac42cd0eae402686a9cd730ca (diff) | |
download | freebsd-ports-gnome-eeccbaaf1e3a02f99273a20cc9a3e804d496d8f4.tar.gz freebsd-ports-gnome-eeccbaaf1e3a02f99273a20cc9a3e804d496d8f4.tar.zst freebsd-ports-gnome-eeccbaaf1e3a02f99273a20cc9a3e804d496d8f4.zip |
. fix build with clang; [1]
. trim Makefile headers;
. use new LIB_DEPENDS syntax;
. convert USE_GMAKE to modern USES statement.
Reported by: Roman Cat <roman-cat@yandex.ru> (at freebsd-ports@) [1]
Diffstat (limited to 'math')
-rw-r--r-- | math/biggles/Makefile | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/math/biggles/Makefile b/math/biggles/Makefile index 9ae11ad5fc63..342beb282f1d 100644 --- a/math/biggles/Makefile +++ b/math/biggles/Makefile @@ -1,10 +1,5 @@ -# ex:ts=8 -# New ports collection makefile for: biggles -# Date created: Nov 25, 2001 -# Whom: ijliao -# +# Created by: ijliao # $FreeBSD$ -# PORTNAME= biggles PORTVERSION= 1.6.6 @@ -19,15 +14,18 @@ COMMENT= Create publication-quality 2D scientific plots LICENSE= GPLv2 BUILD_DEPENDS= ${PYNUMPY} -LIB_DEPENDS= plot:${PORTSDIR}/graphics/plotutils +LIB_DEPENDS= libplot.so:${PORTSDIR}/graphics/plotutils +USES= gmake USE_PYTHON= yes -USE_GMAKE= yes MAKE_ARGS= CC="${CC}" \ CFLAGS="${CFLAGS} -fPIC" \ LIBPLOT_CPPFLAGS="-I${LOCALBASE}/include" \ LIBPLOT_LDFLAGS="-L${LOCALBASE}/lib -lplot" +post-patch: + @${REINPLACE_CMD} -e '/CC/s,gcc,$$\{CC\},' ${WRKSRC}/make.inc + pre-build: @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC} @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC} |