aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/dataplot/Makefile
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2007-01-29 12:57:54 +0800
committermaho <maho@FreeBSD.org>2007-01-29 12:57:54 +0800
commitd51699e59c0790b1dbba41d99895f74bacbb2a2a (patch)
treebc08348c98fd7017c8f15272de7022db3817efb0 /graphics/dataplot/Makefile
parent1d548afb76ef8698ea2d7ee3150ce9b87f198696 (diff)
downloadfreebsd-ports-gnome-d51699e59c0790b1dbba41d99895f74bacbb2a2a.tar.gz
freebsd-ports-gnome-d51699e59c0790b1dbba41d99895f74bacbb2a2a.tar.zst
freebsd-ports-gnome-d51699e59c0790b1dbba41d99895f74bacbb2a2a.zip
Do not depend on gfortran at EXTRACT_DEPENDS.
Approved by: maintainer
Diffstat (limited to 'graphics/dataplot/Makefile')
-rw-r--r--graphics/dataplot/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/graphics/dataplot/Makefile b/graphics/dataplot/Makefile
index 1d3043fd6ea1..c594fe1f3ce7 100644
--- a/graphics/dataplot/Makefile
+++ b/graphics/dataplot/Makefile
@@ -26,7 +26,6 @@ LIB_DEPENDS= gd:${PORTSDIR}/graphics/gd \
jpeg:${PORTSDIR}/graphics/jpeg
WANT_FORTRAN= yes #dummy but future use
-EXTRACT_DEPENDS=gfortran42:${PORTSDIR}/lang/gcc42
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
FC= gfortran42
F77= gfortran42
@@ -51,14 +50,16 @@ post-extract:
@${REINPLACE_CMD} -e 's;%%LOCALBASE%%;${LOCALBASE};g ; \
s;%%X11BASE%%;${X11BASE};g' \
${WRKSRC}/Makefile
- ${DIRNAME} `${LOCALBASE}/bin/${F77} -print-libgcc-file-name` > ${WRKSRC}/LIBDIR
- ${REINPLACE_CMD} -e "s+%%GCCLIBDIR%%+${GCCLIBDIR}+" -e "s+%%FORTRANLIBS%%+${FORTRANLIBS}+" ${WRKSRC}/Makefile
@${MV} ${WRKSRC}/gl_src.c ${WRKSRC}/gl_src.c.bogus
pre-patch:
@${REINPLACE_CMD} -e 's/MAXOBV=100000/MAXOBV=${MAXOBV}/' \
${WRKSRC}/DPCOPA.INC
+pre-build:
+ ${DIRNAME} `${F77} -print-libgcc-file-name` > ${WRKSRC}/LIBDIR
+ ${REINPLACE_CMD} -e "s+%%GCCLIBDIR%%+${GCCLIBDIR}+" -e "s+%%FORTRANLIBS%%+${FORTRANLIBS}+" ${WRKSRC}/Makefile
+
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}