Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 2008 02:00:19 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/122077: Update port: math/biggles to 1.6.5
Message-ID:  <20080326020019.6b4199ec.tkato432@yahoo.com>
Resent-Message-ID: <200803251710.m2PHA3TW070715@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         122077
>Category:       ports
>Synopsis:       Update port: math/biggles to 1.6.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 25 17:10:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 6.3-RELEASE-p1 i386
>Organization:
>Environment:
>Description:
- Update to version 1.6.5

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/math/biggles/Makefile math/biggles/Makefile
--- /usr/ports/math/biggles/Makefile	2007-08-06 15:16:41.000000000 +0900
+++ math/biggles/Makefile	2008-03-23 22:31:45.000000000 +0900
@@ -7,26 +7,36 @@
 #
 
 PORTNAME=	biggles
-PORTVERSION=	1.6.4
-PORTREVISION=	1
+PORTVERSION=	1.6.5
 CATEGORIES=	math
-MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR=	${PORTNAME}
+MASTER_SITES=	SF
 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
-
-post-patch:
-	@${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/make.inc
-	@${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/setup.py
+USE_GMAKE=	yes
+MAKE_ARGS=	CC="${CC}" \
+		CFLAGS="${CFLAGS} -fPIC" \
+		LIBPLOT_CPPFLAGS="-I${LOCALBASE}/include" \
+		LIBPLOT_LDFLAGS="-L${LOCALBASE}/lib -lplot"
+
+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 -urN /usr/ports/math/biggles/distinfo math/biggles/distinfo
--- /usr/ports/math/biggles/distinfo	2006-05-12 01:03:13.000000000 +0900
+++ math/biggles/distinfo	2008-03-23 22:31:45.000000000 +0900
@@ -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
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080326020019.6b4199ec.tkato432>