2002-03-22 11:22:20 -05:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: gretl
|
|
|
|
# Date created: Mar 22, 2002
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gretl
|
2002-09-19 16:43:12 -04:00
|
|
|
PORTVERSION= 0.999
|
2002-03-22 11:22:20 -05:00
|
|
|
CATEGORIES= misc
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
|
|
|
|
BUILD_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot
|
2002-05-20 22:37:33 -04:00
|
|
|
LIB_DEPENDS= gnomeole2.0:${PORTSDIR}/devel/libole2 \
|
2002-09-19 16:43:12 -04:00
|
|
|
gmp.6:${PORTSDIR}/math/libgmp4 \
|
|
|
|
xml2.5:${PORTSDIR}/textproc/libxml2 \
|
2002-05-20 22:37:33 -04:00
|
|
|
gtkextra.17:${PORTSDIR}/x11-toolkits/gtkextra
|
2002-03-22 11:22:20 -05:00
|
|
|
RUN_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot
|
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
2002-09-01 11:13:16 -04:00
|
|
|
USE_GNOMENG= yes
|
2002-09-19 16:43:12 -04:00
|
|
|
USE_GNOME= gdkpixbuf
|
2002-03-22 11:22:20 -05:00
|
|
|
WANT_GNOME= yes
|
2002-09-19 16:43:12 -04:00
|
|
|
USE_REINPLACE= yes
|
2002-03-22 11:22:20 -05:00
|
|
|
USE_GMAKE= yes
|
2002-05-20 22:37:33 -04:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2002-09-19 16:43:12 -04:00
|
|
|
CONFIGURE_ARGS= --with-gmake --without-gtk2
|
2002-03-22 11:22:20 -05:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
|
|
|
MAN1= gretl.1 gretl-config.1
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2002-09-19 16:43:12 -04:00
|
|
|
.if ${HAVE_GNOME:Mgnomeprint}!= ""
|
|
|
|
USE_GNOME+= gnomeprint gnomeprefix
|
|
|
|
PKGNAMESUFFIX= -gnome
|
2002-03-22 11:22:20 -05:00
|
|
|
.else
|
2002-05-20 22:37:33 -04:00
|
|
|
CONFIGURE_ARGS+= --without-gnome
|
2002-03-22 11:22:20 -05:00
|
|
|
.endif
|
|
|
|
|
|
|
|
pre-patch:
|
2002-06-22 13:23:30 -04:00
|
|
|
@${REINPLACE_CMD} -e 's|`glib-config|`\$$GLIB_CONFIG|g ; \
|
2002-05-20 22:37:33 -04:00
|
|
|
s|/share/gretl/|/lib/gretl/|g' ${WRKSRC}/configure
|
2002-06-22 13:23:30 -04:00
|
|
|
@${REINPLACE_CMD} -e 's|SIGCLD|SIGCHLD|g' ${WRKSRC}/gui/gretl.c
|
2002-03-22 11:22:20 -05:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|