aboutsummaryrefslogtreecommitdiff
path: root/graphics/pgplot
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2007-01-30 10:25:34 +0000
committerPav Lucistnik <pav@FreeBSD.org>2007-01-30 10:25:34 +0000
commit2df76eb0a73bb59d817aa60758a5f10e3e544c3b (patch)
tree07e10c49034b87755dafb03956ad93c5363e0bb7 /graphics/pgplot
parent1c97f613254a72e0ae97ea8d817ebe38096d6949 (diff)
downloadports-2df76eb0a73bb59d817aa60758a5f10e3e544c3b.tar.gz
ports-2df76eb0a73bb59d817aa60758a5f10e3e544c3b.zip
Notes
Diffstat (limited to 'graphics/pgplot')
-rw-r--r--graphics/pgplot/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/graphics/pgplot/Makefile b/graphics/pgplot/Makefile
index 6d09ef4c1ffe..b46d041bfd08 100644
--- a/graphics/pgplot/Makefile
+++ b/graphics/pgplot/Makefile
@@ -16,6 +16,7 @@ MAINTAINER= jmz@FreeBSD.org
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
USE_LDCONFIG= yes
@@ -23,14 +24,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
.include <bsd.port.pre.mk>
-.if ${PORTOBJFORMAT} == "elf"
-VERSION= 5
-.else
-VERSION= 5.2
-.endif
-
WANT_FORTRAN= yes #dummy but future use
-BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
+BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
FC= gfortran42
F77= gfortran42
MAKE_ENV+= FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}"
@@ -38,7 +33,7 @@ MAKE_ARGS+= X11BASE="${X11BASE}"
post-install:
.for f in libcpgplot.so libpgplot.so
- ${LN} -sf $f.${VERSION} ${PREFIX}/lib/$f
+ ${LN} -sf $f.5 ${PREFIX}/lib/$f
.endfor
.include <bsd.port.post.mk>