View | Details | Raw Unified | Return to bug 113008
Collapse All | Expand All

(-)misc/gretl/Makefile (-21 / +21 lines)
Lines 7-23 Link Here
7
#
7
#
8
8
9
PORTNAME=	gretl
9
PORTNAME=	gretl
10
PORTVERSION=	1.6.2
10
PORTVERSION=	1.6.5
11
PORTREVISION=	1
12
CATEGORIES=	misc
11
CATEGORIES=	misc
13
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITES=	SF
14
MASTER_SITE_SUBDIR=	${PORTNAME}
15
13
16
MAINTAINER=	ports@FreeBSD.org
14
MAINTAINER=	ports@FreeBSD.org
17
COMMENT=	Gnu Regression, Econometrics and Time-series Library
15
COMMENT=	Gnu Regression, Econometrics and Time-series Library
18
16
19
BUILD_DEPENDS=	gnuplot:${PORTSDIR}/math/gnuplot
17
BUILD_DEPENDS=	gnuplot:${PORTSDIR}/math/gnuplot
20
LIB_DEPENDS=	mpfr.1:${PORTSDIR}/math/mpfr
18
LIB_DEPENDS=	fftw3.4:${PORTSDIR}/math/fftw3 \
19
		mpfr.1:${PORTSDIR}/math/mpfr
21
RUN_DEPENDS=	gnuplot:${PORTSDIR}/math/gnuplot
20
RUN_DEPENDS=	gnuplot:${PORTSDIR}/math/gnuplot
22
21
23
USE_BZIP2=	yes
22
USE_BZIP2=	yes
Lines 25-36 Link Here
25
USE_GNOME=	gnometarget gtk20 libxml2
24
USE_GNOME=	gnometarget gtk20 libxml2
26
USE_GETTEXT=	yes
25
USE_GETTEXT=	yes
27
USE_GMAKE=	yes
26
USE_GMAKE=	yes
28
USE_LDCONFIG=	yes
29
USE_AUTOTOOLS=	libtool:15 autoconf:259
27
USE_AUTOTOOLS=	libtool:15 autoconf:259
30
CONFIGURE_ENV+=	CPPFLAGS="-I${LOCALBASE}/include -DGNUPLOT_PNG" \
28
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include -DGNUPLOT_PNG" \
31
		LDFLAGS="-L${LOCALBASE}/lib ${GCCLIBDIR}"
29
		LDFLAGS="-L${LOCALBASE}/lib ${GCCLIBDIR}"
32
CONFIGURE_ARGS+=	--enable-static --enable-shared --with-gmake
30
CONFIGURE_ARGS=	--enable-static --enable-shared --with-gmake
33
ALL_TARGET=	# empty
31
ALL_TARGET=	# empty
32
USE_LDCONFIG=	yes
34
33
35
MAN1=		gretl.1 gretl-config.1
34
MAN1=		gretl.1 gretl-config.1
36
35
Lines 44-52 Link Here
44
43
45
.include <bsd.port.pre.mk>
44
.include <bsd.port.pre.mk>
46
45
46
.if ${ARCH} == "alpha"
47
BROKEN=		math/lapack appears to be broken on alpha
48
.endif
49
50
.if ${HAVE_GNOME:Mlibgnomeui}!=""
51
PKGNAMESUFFIX=	-gnome
52
USE_GNOME+=	gnomeprefix gtksourceview libgnomeui
53
GCONF_SCHEMAS=	gretl.schemas
54
DATADIR=	${PREFIX}/share/gnome/${PORTNAME}
55
.else
56
CONFIGURE_ARGS+=	--without-gnome --without-gtksourceview
57
.endif
58
47
.if exists(${LOCALBASE}/lib/libatlas_r.so) && !defined(WITH_BLAS)
59
.if exists(${LOCALBASE}/lib/libatlas_r.so) && !defined(WITH_BLAS)
48
WITH_ATLAS=	yes
60
WITH_ATLAS=	yes
49
.endif
61
.endif
62
50
.if defined(WITH_ATLAS)
63
.if defined(WITH_ATLAS)
51
LIB_DEPENDS+=	atlas.2:${PORTSDIR}/math/atlas
64
LIB_DEPENDS+=	atlas.2:${PORTSDIR}/math/atlas
52
BLAS=		-lf77blas -latlas
65
BLAS=		-lf77blas -latlas
Lines 60-77 Link Here
60
73
61
pre-configure:
74
pre-configure:
62
	@${DIRNAME} `${F77} -print-libgcc-file-name` > ${WRKSRC}/LIBDIR
75
	@${DIRNAME} `${F77} -print-libgcc-file-name` > ${WRKSRC}/LIBDIR
63
64
.if ${ARCH} == "alpha"
65
BROKEN=		math/lapack appears to be broken on alpha
66
.endif
67
68
.if ${HAVE_GNOME:Mlibgnomeui}!=""
69
PKGNAMESUFFIX=	-gnome
70
USE_GNOME+=	gnomeprefix gtksourceview libgnomeui
71
GCONF_SCHEMAS=	gretl.schemas
72
DATADIR=	${PREFIX}/share/gnome/${PORTNAME}
73
.else
74
CONFIGURE_ARGS+=	--without-gnome --without-gtksourceview
75
.endif
76
76
77
.include <bsd.port.post.mk>
77
.include <bsd.port.post.mk>
(-)misc/gretl/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (gretl-1.6.2.tar.bz2) = 73b9abd4d15fcb639319aed2d53c9bd1
1
MD5 (gretl-1.6.5.tar.bz2) = ed2ca08e8e06df14bc2d4a071535c3e5
2
SHA256 (gretl-1.6.2.tar.bz2) = 99b356eb8a11ae42842f85a621a4ba24620d54433e51150221417e3c3f727482
2
SHA256 (gretl-1.6.5.tar.bz2) = c6f40ed667fdc25298724c0aa9ada06d1f6a75f328d6f72a2ee906e92ae8faac
3
SIZE (gretl-1.6.2.tar.bz2) = 4370377
3
SIZE (gretl-1.6.5.tar.bz2) = 4362695
(-)misc/gretl/files/patch-lib::Makefile.in (-11 / +11 lines)
Lines 1-6 Link Here
1
--- lib/Makefile.in.orig	Tue May 23 18:27:51 2006
1
--- lib/Makefile.in.orig	Mon Apr 16 10:13:11 2007
2
+++ lib/Makefile.in	Sun Oct  8 02:07:54 2006
2
+++ lib/Makefile.in	Mon May 21 16:10:51 2007
3
@@ -22,6 +22,11 @@
3
@@ -25,6 +25,11 @@
4
 
4
 
5
 have_gtk = @have_gtk@
5
 have_gtk = @have_gtk@
6
 
6
 
Lines 12-18 Link Here
12
 ifeq ($(INSTALL_PROGRAM),)
12
 ifeq ($(INSTALL_PROGRAM),)
13
   INSTALL_PROGRAM = $(INSTALL) -m 755
13
   INSTALL_PROGRAM = $(INSTALL) -m 755
14
 endif
14
 endif
15
@@ -36,7 +41,7 @@
15
@@ -39,7 +44,7 @@
16
 libdir = $(prefix)/lib
16
 libdir = $(prefix)/lib
17
 includedir = $(prefix)/include/gretl
17
 includedir = $(prefix)/include/gretl
18
 aclocaldir = $(prefix)/share/aclocal
18
 aclocaldir = $(prefix)/share/aclocal
Lines 21-38 Link Here
21
 
21
 
22
 INSTALLDIRS = $(libdir) $(includedir) $(aclocaldir)
22
 INSTALLDIRS = $(libdir) $(includedir) $(aclocaldir)
23
 
23
 
24
@@ -52,8 +57,8 @@
24
@@ -55,8 +60,8 @@
25
 
25
 
26
 # hard-coded -L/usr/local/lib is a bodge!!
26
 # hard-coded -L/usr/local/lib is a bodge!!
27
 
27
 
28
-LIBS = $(LAPACK_LIBS) -lm -ldl -L/usr/local/lib -lz $(XML_LIBS) \
28
-LIBS = $(LAPACK_LIBS) -lm -ldl -L/usr/local/lib -lz $(XML_LIBS) \
29
-	$(GLIB_LIBS) $(GMP_LIBS)
29
-	$(GLIB_LIBS) $(GMP_LIBS) $(FFTW_LIBS)
30
+LIBS = $(LAPACK_LIBS) -lm -lz $(XML_LIBS) \
30
+LIBS = $(LAPACK_LIBS) -lm -lz $(XML_LIBS) \
31
+	$(GLIB_LIBS) $(GMP_LIBS) $(INTL_LIBS)
31
+	$(GLIB_LIBS) $(GMP_LIBS) $(FFTW_LIBS) $(INTL_LIBS)
32
 
32
 
33
 #### End of system configuration section. ####
33
 #### End of system configuration section. ####
34
 
34
 
35
@@ -187,10 +192,10 @@
35
@@ -204,10 +209,10 @@
36
 LOBJS = $(SRCS:.c=.lo)
36
 LOBJS = $(SRCS:.c=.lo)
37
 AUX_LOBJ = $(CEPHES_SRC:.c=.lo) $(MINPACK_SRC:.c=.lo)
37
 AUX_LOBJ = $(CEPHES_SRC:.c=.lo) $(MINPACK_SRC:.c=.lo)
38
 
38
 
Lines 40-51 Link Here
40
+LIBTOOL = @LIBTOOL@
40
+LIBTOOL = @LIBTOOL@
41
 
41
 
42
 override CFLAGS += -I.. -I$(topsrc) -I$(libsrc) $(XML_CFLAGS) $(GLIB_CFLAGS) \
42
 override CFLAGS += -I.. -I$(topsrc) -I$(libsrc) $(XML_CFLAGS) $(GLIB_CFLAGS) \
43
-	$(GMP_CFLAGS) -DHAVE_CONFIG_H
43
-	$(GMP_CFLAGS) $(FFTW_CFLAGS) -DHAVE_CONFIG_H
44
+	$(GMP_CFLAGS) -DHAVE_CONFIG_H $(CPPFLAGS)
44
+	$(GMP_CFLAGS) $(FFTW_CFLAGS) $(CPPFLAGS) -DHAVE_CONFIG_H
45
 
45
 
46
 COMPILE = $(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS) 
46
 COMPILE = $(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS) 
47
 
47
 
48
@@ -199,7 +204,7 @@
48
@@ -216,7 +221,7 @@
49
 	$(CC) $(CFLAGS) -MM -MT $*.lo $< > .deps/$*.d
49
 	$(CC) $(CFLAGS) -MM -MT $*.lo $< > .deps/$*.d
50
 
50
 
51
 $(LIBGRETL): .deps $(LOBJS) $(AUX_LOBJ)
51
 $(LIBGRETL): .deps $(LOBJS) $(AUX_LOBJ)
(-)misc/gretl/pkg-plist (+4 lines)
Lines 3-8 Link Here
3
bin/gretlcli
3
bin/gretlcli
4
include/gretl/adf_kpss.h
4
include/gretl/adf_kpss.h
5
include/gretl/bhhh_max.h
5
include/gretl/bhhh_max.h
6
include/gretl/bootstrap.h
6
include/gretl/calendar.h
7
include/gretl/calendar.h
7
include/gretl/compare.h
8
include/gretl/compare.h
8
include/gretl/compat.h
9
include/gretl/compat.h
Lines 18-23 Link Here
18
include/gretl/graphing.h
19
include/gretl/graphing.h
19
include/gretl/gretl_commands.h
20
include/gretl/gretl_commands.h
20
include/gretl/gretl_errors.h
21
include/gretl/gretl_errors.h
22
include/gretl/gretl_fft.h
21
include/gretl/gretl_func.h
23
include/gretl/gretl_func.h
22
include/gretl/gretl_intl.h
24
include/gretl/gretl_intl.h
23
include/gretl/gretl_list.h
25
include/gretl/gretl_list.h
Lines 357-362 Link Here
357
%%DATADIR%%/scripts/greene12_1.inp
359
%%DATADIR%%/scripts/greene12_1.inp
358
%%DATADIR%%/scripts/greene14_1.inp
360
%%DATADIR%%/scripts/greene14_1.inp
359
%%DATADIR%%/scripts/greene14_2.inp
361
%%DATADIR%%/scripts/greene14_2.inp
362
%%DATADIR%%/scripts/greene15_3.inp
360
%%DATADIR%%/scripts/greene18_6.inp
363
%%DATADIR%%/scripts/greene18_6.inp
361
%%DATADIR%%/scripts/greene19_1.inp
364
%%DATADIR%%/scripts/greene19_1.inp
362
%%DATADIR%%/scripts/greene19_3.inp
365
%%DATADIR%%/scripts/greene19_3.inp
Lines 369-374 Link Here
369
%%DATADIR%%/scripts/misc/armaloop.inp
372
%%DATADIR%%/scripts/misc/armaloop.inp
370
%%DATADIR%%/scripts/misc/bjg.inp
373
%%DATADIR%%/scripts/misc/bjg.inp
371
%%DATADIR%%/scripts/misc/camtriv.inp
374
%%DATADIR%%/scripts/misc/camtriv.inp
375
%%DATADIR%%/scripts/misc/convolve.inp
372
%%DATADIR%%/scripts/misc/denmark.inp
376
%%DATADIR%%/scripts/misc/denmark.inp
373
%%DATADIR%%/scripts/misc/ects_nls.inp
377
%%DATADIR%%/scripts/misc/ects_nls.inp
374
%%DATADIR%%/scripts/misc/garch.inp
378
%%DATADIR%%/scripts/misc/garch.inp

Return to bug 113008