aboutsummaryrefslogtreecommitdiff
path: root/graphics/dataplot
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2007-01-29 04:57:54 +0000
committerMaho Nakata <maho@FreeBSD.org>2007-01-29 04:57:54 +0000
commit749548a511356bbf55849f3e02183e1eea20193a (patch)
treefc45b4b30bb03367c515b378fff59726bd875a0e /graphics/dataplot
parenta3bc5c6b063561b6666f070a0976ddc2ebb7e85f (diff)
downloadports-749548a511356bbf55849f3e02183e1eea20193a.tar.gz
ports-749548a511356bbf55849f3e02183e1eea20193a.zip
Notes
Diffstat (limited to 'graphics/dataplot')
-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}