[69925] trunk/dports/science/netcdf/Portfile
takeshi at macports.org
takeshi at macports.org
Thu Jul 22 02:07:24 PDT 2010
Revision: 69925
http://trac.macports.org/changeset/69925
Author: takeshi at macports.org
Date: 2010-07-22 02:07:21 -0700 (Thu, 22 Jul 2010)
Log Message:
-----------
netcdf: avoid detecting Fortran compilers available for Mac (#25700). Making sure docs are not rebuilt (#25481)
Modified Paths:
--------------
trunk/dports/science/netcdf/Portfile
Modified: trunk/dports/science/netcdf/Portfile
===================================================================
--- trunk/dports/science/netcdf/Portfile 2010-07-22 08:12:59 UTC (rev 69924)
+++ trunk/dports/science/netcdf/Portfile 2010-07-22 09:07:21 UTC (rev 69925)
@@ -6,7 +6,7 @@
name netcdf
epoch 1
version 4.1.1
-revision 2
+revision 3
maintainers takeshi openmaintainer
platforms darwin
categories science
@@ -28,6 +28,11 @@
patch {
reinplace {/^AM_CPPFLAGS/s/\(\$(am__append_5)\) \(\$(am__append_7)\)/\2 \1/} ${worksrcpath}/ncdump/Makefile.in
+ foreach f {configure libcf/configure udunits/configure} {
+ foreach c {g77 g95 gfortran ifort xlf xlf90} {
+ reinplace "s|$c||" $worksrcpath/$f
+ }
+ }
}
configure.cppflags-append -DNDEBUG
@@ -47,6 +52,9 @@
destroot.destdir prefix=${destroot}${prefix} \
MANDIR=\\\${prefix}/share/man
+post-build {
+ system "cd ${worksrcpath}/man4; touch *.dvi *.ps *.pdf"
+}
post-destroot {
file delete -force ${destroot}${prefix}/share/man/whatis.db
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100722/04ab60ac/attachment.html>
More information about the macports-changes
mailing list