diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2008-04-27 09:35:40 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2008-04-27 09:35:40 +0000 |
commit | fd6a6952ab23561c124a393dd73c93c0e4459446 (patch) | |
tree | 507cde322b9b4c20d1866bf8c2e79f192f198992 /math | |
parent | c0eadcb971028a0649420223d852144da0539cdd (diff) | |
download | ports-fd6a6952ab23561c124a393dd73c93c0e4459446.tar.gz ports-fd6a6952ab23561c124a393dd73c93c0e4459446.zip |
- Update to 1.6.5
PR: 122077
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=212096
Diffstat (limited to 'math')
-rw-r--r-- | math/biggles/Makefile | 29 | ||||
-rw-r--r-- | math/biggles/distinfo | 6 |
2 files changed, 23 insertions, 12 deletions
diff --git a/math/biggles/Makefile b/math/biggles/Makefile index 2a4cfaf60eda..6f7bb217f085 100644 --- a/math/biggles/Makefile +++ b/math/biggles/Makefile @@ -7,8 +7,7 @@ # PORTNAME= biggles -PORTVERSION= 1.6.4 -PORTREVISION= 1 +PORTVERSION= 1.6.5 CATEGORIES= math MASTER_SITES= SF DISTNAME= python2-${PORTNAME}-${PORTVERSION} @@ -16,16 +15,28 @@ DISTNAME= python2-${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Create publication-quality 2D scientific plots -BUILD_DEPENDS= ${PYNUMERIC} +BUILD_DEPENDS= ${PYNUMPY} LIB_DEPENDS= plot:${PORTSDIR}/graphics/plotutils USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_PKGNAME= python2-biggles -USE_LDCONFIG= 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 's|/usr/X11R6|${LOCALBASE}|g' ${WRKSRC}/make.inc - @${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' ${WRKSRC}/setup.py +pre-build: + @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC} + @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC} + +do-install: + @${MKDIR} ${PYTHON_SITELIBDIR}/biggles +.for ext in ini so py pyc pyo + ${INSTALL_DATA} ${WRKSRC}/src/*.${ext} ${PYTHON_SITELIBDIR}/biggles +.endfor + @${MKDIR} ${PYTHON_SITELIBDIR}/biggles/libplot +.for ext in so py pyc pyo + ${INSTALL_DATA} ${WRKSRC}/src/libplot/*.${ext} ${PYTHON_SITELIBDIR}/biggles/libplot +.endfor .include <bsd.port.mk> diff --git a/math/biggles/distinfo b/math/biggles/distinfo index fb2dfe75828b..b63132e66fde 100644 --- a/math/biggles/distinfo +++ b/math/biggles/distinfo @@ -1,3 +1,3 @@ -MD5 (python2-biggles-1.6.4.tar.gz) = e07bc9e22d830ada274ea71bc6d12556 -SHA256 (python2-biggles-1.6.4.tar.gz) = 421e862f5e410694b55020347484a62eb88061597e97c89c0c7baa436deb7800 -SIZE (python2-biggles-1.6.4.tar.gz) = 113810 +MD5 (python2-biggles-1.6.5.tar.gz) = be1ba7a98cd58ce875e181bd60930b63 +SHA256 (python2-biggles-1.6.5.tar.gz) = 0dbc38b9f4a1e6bdcd23949f73cbc1b2b90e84230b76b361e9ac94ac574efbca +SIZE (python2-biggles-1.6.5.tar.gz) = 61757 |