2002-03-22 17:22:20 +01:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: gretl
|
|
|
|
# Date created: Mar 22, 2002
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gretl
|
2003-10-09 20:13:40 +02:00
|
|
|
PORTVERSION= 1.1.4
|
2002-03-22 17:22:20 +01:00
|
|
|
CATEGORIES= misc
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= Gnu Regression, Econometrics and Time-series Library
|
2002-03-22 17:22:20 +01:00
|
|
|
|
2002-11-27 15:23:12 +01:00
|
|
|
BUILD_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot
|
2003-07-27 22:47:04 +02:00
|
|
|
LIB_DEPENDS= lapack.3:${PORTSDIR}/math/lapack \
|
|
|
|
gmp.6:${PORTSDIR}/math/libgmp4
|
2003-04-26 02:30:43 +02:00
|
|
|
RUN_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot
|
2002-03-22 17:22:20 +01:00
|
|
|
|
2003-04-26 02:30:43 +02:00
|
|
|
USE_BZIP2= yes
|
2002-03-22 17:22:20 +01:00
|
|
|
USE_X_PREFIX= yes
|
2003-04-29 00:52:48 +02:00
|
|
|
WANT_GNOME= yes
|
2003-10-09 20:13:40 +02:00
|
|
|
USE_GNOME= gnomeprefix gnometarget gtksourceview libxml2
|
2003-07-27 22:47:04 +02:00
|
|
|
USE_REINPLACE= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2002-05-21 04:37:33 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2002-11-20 14:34:09 +01:00
|
|
|
CONFIGURE_ARGS= --enable-static --enable-shared --with-gmake
|
2002-03-22 17:22:20 +01:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
|
|
|
MAN1= gretl.1 gretl-config.1
|
|
|
|
|
2003-04-29 00:52:48 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2003-09-27 05:50:03 +02:00
|
|
|
.if ${ARCH} == "alpha"
|
|
|
|
BROKEN= "math/lapack appears to be broken on alpha"
|
|
|
|
.endif
|
|
|
|
|
2003-04-29 00:52:48 +02:00
|
|
|
.if ${HAVE_GNOME:Mlibgnomeui}!=""
|
|
|
|
PKGNAMESUFFIX= -gnome
|
2003-10-09 20:13:40 +02:00
|
|
|
USE_GNOME+= libgnomeprintui libgnomeui
|
2002-11-20 14:34:09 +01:00
|
|
|
.else
|
2003-04-29 00:52:48 +02:00
|
|
|
CONFIGURE_ARGS+= --without-gnome
|
2002-03-22 17:22:20 +01:00
|
|
|
.endif
|
|
|
|
|
2003-07-27 22:47:04 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|libpng"|libpng12"|g' ${WRKSRC}/configure
|
2003-07-07 09:18:00 +02:00
|
|
|
|
2003-04-29 00:52:48 +02:00
|
|
|
.include <bsd.port.post.mk>
|