Changeset 98785
- Timestamp:
- Oct 15, 2012, 10:43:05 PM (12 years ago)
- Location:
- trunk/dports/science/magicspp
- Files:
-
- 2 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/science/magicspp/Portfile
r97436 r98785 5 5 6 6 name magicspp 7 version 2.10.0 8 revision 6 7 version 2.16.1 9 8 platforms darwin 10 maintainers nomaintainer9 maintainers takeshi 11 10 license Apache-2 12 11 categories science 13 12 description ECMWF's Meteorological plotting software 14 homepage http:// www.ecmwf.int/products/data/software/magics++.html15 master_sites http ://www.ecmwf.int/products/data/software/download/software_files/16 distname Magics ++-${version}17 checksums md5 6abfa2bd917073dc12e52f32ce215770 \18 sha1 7 5ad6aa2ee5533789e13ed79d2b4b6e952b72379\19 rmd160 c4e72c984c8a7b119bd56a2aa9dd173360a8357413 homepage http://software.ecmwf.int/wiki/display/MAGP/Home 14 master_sites https://software.ecmwf.int/wiki/download/attachments/3473464/ 15 distname Magics-${version} 16 checksums md5 dbbf37d9780377b97b467a77faa06b50 \ 17 sha1 7fd34fef36244f6c17cf3b324d457b0e57124eb5 \ 18 rmd160 1e7f268bcaf19c8e6bada8e112128ff0701cd099 20 19 long_description \ 21 20 Magics++ is the latest generation of the ECMWF's Meteorological plotting \ … … 28 27 in various formats, such as PostScript, EPS, PDF, GIF, PNG and SVG. 29 28 30 depends_lib port:grib_api \ 31 port:emos \ 29 fetch.ignore_sslcert yes 30 31 depends_lib port:emos \ 32 32 port:netcdf \ 33 33 port:mesa \ … … 37 37 port:gd2 \ 38 38 path:lib/pkgconfig/pango.pc:pango \ 39 port:ghostscript 39 port:ghostscript \ 40 port:boost \ 41 port:proj47 \ 42 port:py27-numpy 40 43 41 44 use_parallel_build no … … 45 48 } 46 49 47 patchfiles patch-src-Makefile.in.diff \ 48 patch-configure.diff \ 49 patch-magics-config.in.diff 50 post-patch { 51 foreach f {TeDefines.h TeMappedMemory.h TeMutex.h TeThread.h TeThreadSignal.h TeMappedMemory.cpp TeMutex.cpp TeThread.cpp TeThreadSignal.cpp TeUtils.cpp TeRasterMemManager.cpp} { 52 reinplace "s:== TePLATFORMCODE_AIX:== TePLATFORMCODE_AIX || TePLATFORM == TePLATFORMCODE_APPLE:" ${worksrcpath}/src/terralib/kernel/${f} 53 } 54 reinplace "s:\.so:.dylib:" ${worksrcpath}/magics-config.in 55 reinplace "s:gfortran:${configure.f77}:" ${worksrcpath}/magics-config.in 56 reinplace "s:CYGWIN\):CYGWIN) || defined(__APPLE_CC__):" ${worksrcpath}/src/magics.h 57 reinplace "s:__unix__:__unix__ || defined __APPLE__:" ${worksrcpath}/src/terralib/kernel/TeUtils.cpp 58 reinplace "s:FreeBSD__ \):FreeBSD__ ) || defined(__APPLE__):" ${worksrcpath}/src/terralib/kernel/TeUtils.cpp 59 } 50 patchfiles patch-src-Makefile.in.diff 60 51 61 configure.env-append LIBS=\"-lgrib_api -lopenjpeg -lpng\" 62 configure.cppflags-append -I${prefix}/include/freetype2/ 52 configure.env-append LIBS=\"-lemosR64" 53 54 configure.env-append PYTHON_VERSION=2.7 55 configure.cppflags-append -I${prefix}/include/freetype2 56 configure.ldflags-append -L${prefix}/lib/proj47/lib 63 57 configure.args-append --disable-dependency-tracking \ 64 58 --disable-qt \ 65 --disable-json \66 59 --enable-cairo \ 67 60 --enable-bufr \ 61 --enable-python \ 62 --enable-proj4 \ 63 --with-proj4=${prefix}/lib/proj47 \ 68 64 --with-grib_api=${prefix} \ 69 65 --with-netcdf=${prefix} \ 70 66 --with-emos-libraries=${prefix}/lib \ 71 --with-gs-font-dir=${prefix}/share/ghostscript/fonts 67 --with-gs-font-dir=${prefix}/share/ghostscript/fonts \ 68 --with-boost \ 69 --with-boost-libdir=${prefix}/lib 72 70 73 71 variant gcc43 conflicts gcc44 gcc45 description {for emos +gcc43} { 74 configure.ldflags-append -lgrib_api -lopenjpeg -lpng -lemosR64 -lgfortran -lgfortranbegin -lnetcdf_c++ -lnetcdf75 72 configure.compiler macports-gcc-4.3 76 73 } 77 74 78 75 variant gcc44 conflicts gcc43 gcc45 description {for emos +gcc44} { 79 configure.ldflags-append -lgrib_api -lopenjpeg -lpng -lemosR64 -lgfortran -lgfortranbegin -lnetcdf_c++ -lnetcdf80 76 configure.compiler macports-gcc-4.4 81 77 } 82 78 83 79 variant gcc45 conflicts gcc43 gcc44 description {for emos +gcc45} { 84 configure.ldflags-append -lgrib_api -lopenjpeg -lpng -lemosR64 -lgfortran -lgfortranbegin -lnetcdf_c++ -lnetcdf85 80 configure.compiler macports-gcc-4.5 86 81 } 87 88 #variant g95 conflicts gcc43 gcc44 description {for emos +g95} {89 # configure.ldflags-append -lgrib_api -lopenjpeg -lpng -lemosR64 -lf95 -lnetcdf_c++ -lnetcdf90 # configure.f77 ${prefix}/bin/g9591 #} -
trunk/dports/science/magicspp/files/patch-src-Makefile.in.diff
r71055 r98785 1 --- src/Makefile.in.orig 201 0-08-29 22:06:01.000000000 +09002 +++ src/Makefile.in 201 0-08-29 22:07:45.000000000 +09003 @@ - 104,7 +104,7 @@4 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS)\5 $(AM_CFLAGS) $(CFLAGS)6 CCLD = $(CC)7 - LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \8 + LINK = $(LIBTOOL) --tag=CXX --mode=link $(CXXLD) $(AM_CFLAGS) $(CFLAGS) \9 $(AM_LDFLAGS) $(LDFLAGS) -o $@10 SOURCES = $(libMagPlusDouble_a_SOURCES) $(libMagPlusSingle_a_SOURCES) \11 $(libMagPlus_la_SOURCES)1 --- src/Makefile.in.orig 2012-08-14 18:05:29.000000000 +0900 2 +++ src/Makefile.in 2012-10-15 06:07:04.000000000 +0900 3 @@ -719,7 +719,7 @@ 4 rm -f "$${dir}/so_locations"; \ 5 done 6 libMagPlus.la: $(libMagPlus_la_OBJECTS) $(libMagPlus_la_DEPENDENCIES) 7 - $(AM_V_CCLD)$(libMagPlus_la_LINK) -rpath $(libdir) $(libMagPlus_la_OBJECTS) $(libMagPlus_la_LIBADD) $(LIBS) 8 + $(AM_V_CCLD)$(libMagPlus_la_LINK) -rpath $(libdir) $(libMagPlus_la_OBJECTS) $(libMagPlus_la_LIBADD) $(LIBS) $(FLIBS) 9 10 mostlyclean-compile: 11 -rm -f *.$(OBJEXT)
Note: See TracChangeset
for help on using the changeset viewer.