aboutsummaryrefslogtreecommitdiff
path: root/graphics/pgplot
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2007-01-17 08:30:32 +0000
committerMaho Nakata <maho@FreeBSD.org>2007-01-17 08:30:32 +0000
commit131f3e2b699da9374f115387da78c8e98241e214 (patch)
tree5ae34121b071806c0e956de46aea00eb7e453840 /graphics/pgplot
parent4379b5a482f3ff7b821a42cc3b4a823015b11fb7 (diff)
downloadports-131f3e2b699da9374f115387da78c8e98241e214.tar.gz
ports-131f3e2b699da9374f115387da78c8e98241e214.zip
Notes
Diffstat (limited to 'graphics/pgplot')
-rw-r--r--graphics/pgplot/Makefile16
-rw-r--r--graphics/pgplot/files/Makefile.bin2
2 files changed, 8 insertions, 10 deletions
diff --git a/graphics/pgplot/Makefile b/graphics/pgplot/Makefile
index 4d99df9d4c2a..6d09ef4c1ffe 100644
--- a/graphics/pgplot/Makefile
+++ b/graphics/pgplot/Makefile
@@ -7,7 +7,7 @@
PORTNAME= pgplot
PORTVERSION= 5.2.2
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.astro.caltech.edu/pub/pgplot/
DISTNAME= ${PORTNAME}${PORTVERSION:R}
@@ -18,7 +18,7 @@ COMMENT= A C/FORTRAN library for drawing graphs on a variety of display devices
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
USE_XLIB= yes
USE_PERL5_BUILD=yes
-INSTALLS_SHLIB= yes
+USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
.include <bsd.port.pre.mk>
@@ -29,13 +29,11 @@ VERSION= 5
VERSION= 5.2
.endif
-.if ${OSVERSION} < 400004
-FC= ./xf77
-.else
-FC= f77
-.endif
-
-MAKE_ENV+= FC=${FC}
+WANT_FORTRAN= yes #dummy but future use
+BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
+FC= gfortran42
+F77= gfortran42
+MAKE_ENV+= FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}"
MAKE_ARGS+= X11BASE="${X11BASE}"
post-install:
diff --git a/graphics/pgplot/files/Makefile.bin b/graphics/pgplot/files/Makefile.bin
index 6e2f5993a7f0..e2ccc80b3986 100644
--- a/graphics/pgplot/files/Makefile.bin
+++ b/graphics/pgplot/files/Makefile.bin
@@ -11,7 +11,7 @@ PGDISP_ROUTINES= cleanup.o pgdisp.o figcurs.o getdata.o getvisuals.o handlexeven
all: grfont.dat pgxwin_server pgdisp
grfont.dat: fonts/grfont.txt fonts/pgpack.f
- f77 -o pgpack fonts/pgpack.f
+ $(FC) -o pgpack fonts/pgpack.f
./pgpack <fonts/grfont.txt
pgxwin_server: $(DRVDIR)/pgxwin_server.c