aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2007-01-16 12:59:31 +0800
committermaho <maho@FreeBSD.org>2007-01-16 12:59:31 +0800
commit8ac543e2b377409a40f624e6e800644d2b99d77e (patch)
tree28152776da34a91087b5e0d38ba85860eb8c7c44 /math
parent3947c352f7af2d3a7da6aadef34ea3251ac74f14 (diff)
downloadfreebsd-ports-gnome-8ac543e2b377409a40f624e6e800644d2b99d77e.tar.gz
freebsd-ports-gnome-8ac543e2b377409a40f624e6e800644d2b99d77e.tar.zst
freebsd-ports-gnome-8ac543e2b377409a40f624e6e800644d2b99d77e.zip
* Migrate to gfortran (Fortran95 support has been added)
* Bump port revision.
Diffstat (limited to 'math')
-rw-r--r--math/plplot/Makefile12
-rw-r--r--math/plplot/pkg-plist38
2 files changed, 48 insertions, 2 deletions
diff --git a/math/plplot/Makefile b/math/plplot/Makefile
index f25ad2d747c1..86ea95ffd651 100644
--- a/math/plplot/Makefile
+++ b/math/plplot/Makefile
@@ -7,6 +7,7 @@
PORTNAME= plplot
PORTVERSION= 5.6.1
+PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -19,17 +20,24 @@ LIB_DEPENDS= unicode.0:${PORTSDIR}/devel/libunicode \
gd.4:${PORTSDIR}/graphics/gd \
qhull.5:${PORTSDIR}/math/qhull
+WANT_FORTRAN= yes #dummy but future use
+BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
+FC= gfortran42
+F77= gfortran42
+
USE_AUTOTOOLS= libltdl:15
USE_PERL5_BUILD=yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
- M4="${LOCALBASE}/bin/gm4"
+ M4="${LOCALBASE}/bin/gm4" \
+ FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}"
CONFIGURE_ARGS= --disable-cgm --disable-java --disable-octave \
--with-gd-incdir=${LOCALBASE}/include \
--with-gd-libdir=${LOCALBASE}/lib \
- --with-freetype-font-dir=${LOCALBASE}
+ --with-freetype-font-dir=${LOCALBASE} \
+ --enable-f95
USE_LDCONFIG= yes
PLIST_SUB= VERSION="${PORTVERSION}"
diff --git a/math/plplot/pkg-plist b/math/plplot/pkg-plist
index dcaf74f4efbd..775c0b21f586 100644
--- a/math/plplot/pkg-plist
+++ b/math/plplot/pkg-plist
@@ -48,6 +48,18 @@ lib/libplplotf77d.a
lib/libplplotf77d.la
lib/libplplotf77d.so
lib/libplplotf77d.so.10
+lib/libplplotf95cd.so.0
+lib/libplplotf95cd.la
+lib/libplplotf95cd.a
+lib/libplplotf95d.so.0
+lib/libplplotf95d.la
+lib/libplplotf95d.a
+lib/fortran/modules/plplot/plplot.mod
+lib/fortran/modules/plplot/plplotp.mod
+lib/fortran/modules/plplot/plplot_flt.mod
+@dirrm lib/fortran/modules/plplot
+@dirrm lib/fortran/modules
+@dirrm lib/fortran
%%TCLTK%%lib/libplplottcltkd.a
%%TCLTK%%lib/libplplottcltkd.la
%%TCLTK%%lib/libplplottcltkd.so
@@ -99,6 +111,7 @@ lib/plplot%%VERSION%%/driversd/xfig.so
libdata/pkgconfig/plplotd.pc
libdata/pkgconfig/plplotd-c++.pc
libdata/pkgconfig/plplotd-f77.pc
+libdata/pkgconfig/plplotd-f95.pc
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/Copyright
@@ -194,6 +207,30 @@ libdata/pkgconfig/plplotd-f77.pc
%%DATADIR%%%%VERSION%%/examples/f77/x19f.f
%%DATADIR%%%%VERSION%%/examples/f77/x22f.f
%%DATADIR%%%%VERSION%%/examples/f77/x23f.f
+%%DATADIR%%%%VERSION%%/examples/f95/x01f.f90
+%%DATADIR%%%%VERSION%%/examples/f95/x02f.f90
+%%DATADIR%%%%VERSION%%/examples/f95/x03f.f90
+%%DATADIR%%%%VERSION%%/examples/f95/x04f.f90
+%%DATADIR%%%%VERSION%%/examples/f95/x05f.f90
+%%DATADIR%%%%VERSION%%/examples/f95/x06f.f90
+%%DATADIR%%%%VERSION%%/examples/f95/x07f.f90
+%%DATADIR%%%%VERSION%%/examples/f95/x08f.f90
+%%DATADIR%%%%VERSION%%/examples/f95/x09f.f90
+%%DATADIR%%%%VERSION%%/examples/f95/x10f.f90
+%%DATADIR%%%%VERSION%%/examples/f95/x11f.f90
+%%DATADIR%%%%VERSION%%/examples/f95/x12f.f90
+%%DATADIR%%%%VERSION%%/examples/f95/x13f.f90
+%%DATADIR%%%%VERSION%%/examples/f95/x14f.f90
+%%DATADIR%%%%VERSION%%/examples/f95/x15f.f90
+%%DATADIR%%%%VERSION%%/examples/f95/x16af.f90
+%%DATADIR%%%%VERSION%%/examples/f95/x16f.f90
+%%DATADIR%%%%VERSION%%/examples/f95/x17f.f90
+%%DATADIR%%%%VERSION%%/examples/f95/x18f.f90
+%%DATADIR%%%%VERSION%%/examples/f95/x19f.f90
+%%DATADIR%%%%VERSION%%/examples/f95/x22f.f90
+%%DATADIR%%%%VERSION%%/examples/f95/x23f.f90
+%%DATADIR%%%%VERSION%%/examples/f95/Makefile
+%%DATADIR%%%%VERSION%%/examples/test_f95.sh
%%DATADIR%%%%VERSION%%/examples/plplot-test.sh
%%PYTHON%%%%DATADIR%%%%VERSION%%/examples/python/README.plplotcanvas
%%PYTHON%%%%DATADIR%%%%VERSION%%/examples/python/README.pythondemos
@@ -363,6 +400,7 @@ libdata/pkgconfig/plplotd-f77.pc
%%TCLTK%%@dirrm %%DATADIR%%%%VERSION%%/examples/tk
%%TCLTK%%@dirrm %%DATADIR%%%%VERSION%%/examples/tcl
%%PYTHON%%@dirrm %%DATADIR%%%%VERSION%%/examples/python
+@dirrm %%DATADIR%%%%VERSION%%/examples/f95
@dirrm %%DATADIR%%%%VERSION%%/examples/f77
@dirrm %%DATADIR%%%%VERSION%%/examples/c++
@dirrm %%DATADIR%%%%VERSION%%/examples/c