2013-09-12 15:38:36 +02:00
|
|
|
# Created by: ijliao
|
2001-11-25 12:08:56 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= biggles
|
2010-07-24 10:15:33 +02:00
|
|
|
PORTVERSION= 1.6.6
|
2012-06-01 07:26:28 +02:00
|
|
|
PORTREVISION= 2
|
2001-11-25 12:08:56 +01:00
|
|
|
CATEGORIES= math
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
MASTER_SITES= SF
|
2006-05-11 13:30:57 +02:00
|
|
|
DISTNAME= python2-${PORTNAME}-${PORTVERSION}
|
2001-11-25 12:08:56 +01:00
|
|
|
|
2007-08-05 14:18:20 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= Create publication-quality 2D scientific plots
|
2001-11-25 12:08:56 +01:00
|
|
|
|
2010-07-24 10:15:33 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2008-04-27 11:35:40 +02:00
|
|
|
BUILD_DEPENDS= ${PYNUMPY}
|
2013-09-12 15:38:36 +02:00
|
|
|
LIB_DEPENDS= libplot.so:${PORTSDIR}/graphics/plotutils
|
2001-11-25 12:08:56 +01:00
|
|
|
|
2013-09-12 15:38:36 +02:00
|
|
|
USES= gmake
|
2013-12-15 18:17:09 +01:00
|
|
|
USE_PYTHON= 2
|
2008-04-27 11:35:40 +02:00
|
|
|
MAKE_ARGS= CC="${CC}" \
|
|
|
|
CFLAGS="${CFLAGS} -fPIC" \
|
|
|
|
LIBPLOT_CPPFLAGS="-I${LOCALBASE}/include" \
|
2013-12-15 18:17:09 +01:00
|
|
|
LIBPLOT_LDFLAGS="-L${LOCALBASE}/lib -lplot" \
|
|
|
|
PYTHON="${PYTHON_CMD}"
|
2006-12-02 00:58:52 +01:00
|
|
|
|
2013-09-20 22:55:04 +02:00
|
|
|
NO_STAGE= yes
|
2013-09-12 15:38:36 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e '/CC/s,gcc,$$\{CC\},' ${WRKSRC}/make.inc
|
|
|
|
|
2008-04-27 11:35:40 +02:00
|
|
|
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
|
2001-11-25 12:08:56 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|