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> |