Index: head/french/med/Makefile =================================================================== --- head/french/med/Makefile (revision 182589) +++ head/french/med/Makefile (revision 182590) @@ -1,69 +1,68 @@ # New ports collection makefile for: med # Date created: Thu Jun 26 2003 # Whom: thierry@pompo.net # # $FreeBSD$ # PORTNAME= med PORTVERSION= 2.3.1 +PORTREVISION= 1 CATEGORIES= french science MASTER_SITES= http://www.code-aster.org/FICHIERS/ MAINTAINER= ports@FreeBSD.org COMMENT= Modelisation et Echanges de Donnees BUILD_DEPENDS= wish${TK_VER}:${PORTSDIR}/x11-toolkits/tk${SHORT_TK_VER} LIB_DEPENDS= hdf5.0:${PORTSDIR}/science/hdf5 RUN_DEPENDS= wish${TK_VER}:${PORTSDIR}/x11-toolkits/tk${SHORT_TK_VER} TK_VER?= 8.4 SHORT_TK_VER= ${TK_VER:S/.//} +WANT_FORTRAN= yes #dummy but future use +BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42 +FC= gfortran42 +F77= gfortran42 +CONFIGURE_ENV+= FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}" +FFLAGS+= -O2 + CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} -CONFIGURE_ENV= HDF5HOME=${LOCALBASE} CPPFLAGS="${PTHREAD_CFLAGS}" \ - LDFLAGS="${PTHREAD_LIBS}" WISH=${LOCALBASE}/bin/wish${TK_VER} +CONFIGURE_ENV+= HDF5HOME=${LOCALBASE} CPPFLAGS="${PTHREAD_CFLAGS}" \ + LDFLAGS="${PTHREAD_LIBS}" WISH=${LOCALBASE}/bin/wish${TK_VER} \ + --with-f90=${FC} GNU_CONFIGURE= yes USE_GMAKE= yes +USE_AUTOTOOLS= autoconf:259 libtool:15 USE_LDCONFIG= yes -.if !defined(WITHOUT_F90) -F90= gfortran41 -BUILD_DEPENDS+= ${F90}:${PORTSDIR}/lang/gfortran -CONFIGURE_ARGS+= --with-f90=${F90} -.endif - DOC2FIX= . gif html jpg png tests TST2FIX= c f .include - -.if !${OSVERSION} < 500039 -F77?= f77 -.endif -FFLAGS?= -O2 pre-configure: .if defined(NOPORTDOCS) @${REINPLACE_CMD} -e 's|SUBDIRS = src tests tools doc|SUBDIRS = src tests tools|' \ ${WRKSRC}/Makefile.in .endif .for dd in ${DOC2FIX} @${REINPLACE_CMD} -e 's|docdir = $$(datadir)/doc|docdir = $$(datadir)/doc/@PACKAGE@|' \ ${WRKSRC}/doc/${dd}/Makefile.in .endfor .for dd in ${TST2FIX} @${REINPLACE_CMD} -e 's|test${dd}dir = $$(bindir)/test|test${dd}dir = ${EXAMPLESDIR}/test|' \ ${WRKSRC}/tests/${dd}/Makefile.in .endfor post-install: .if !defined(NOPORTDOCS) @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." .endif regression-test: @(cd ${BUILD_WRKSRC}; \ ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check) .include Property changes on: head/french/med/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.18 \ No newline at end of property +1.19 \ No newline at end of property