2001-11-25 12:08:56 +01:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: biggles
|
|
|
|
# Date created: Nov 25, 2001
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= biggles
|
2008-04-27 11:35:40 +02:00
|
|
|
PORTVERSION= 1.6.5
|
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
|
|
|
|
2008-04-27 11:35:40 +02:00
|
|
|
BUILD_DEPENDS= ${PYNUMPY}
|
2001-11-25 12:08:56 +01:00
|
|
|
LIB_DEPENDS= plot:${PORTSDIR}/graphics/plotutils
|
|
|
|
|
|
|
|
USE_PYTHON= yes
|
2008-04-27 11:35:40 +02:00
|
|
|
USE_GMAKE= yes
|
|
|
|
MAKE_ARGS= CC="${CC}" \
|
|
|
|
CFLAGS="${CFLAGS} -fPIC" \
|
|
|
|
LIBPLOT_CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBPLOT_LDFLAGS="-L${LOCALBASE}/lib -lplot"
|
2006-12-02 00:58:52 +01:00
|
|
|
|
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>
|