[60178] trunk/dports/science/ncview
takeshi at macports.org
takeshi at macports.org
Wed Nov 4 00:17:09 PST 2009
Revision: 60178
http://trac.macports.org/changeset/60178
Author: takeshi at macports.org
Date: 2009-11-04 00:17:05 -0800 (Wed, 04 Nov 2009)
Log Message:
-----------
ncview: added missing dependencies and livecheck. updated to 1.93g.
Modified Paths:
--------------
trunk/dports/science/ncview/Portfile
Added Paths:
-----------
trunk/dports/science/ncview/files/patch-Makefile.in.diff
trunk/dports/science/ncview/files/patch-configure.diff
Removed Paths:
-------------
trunk/dports/science/ncview/files/patch-Makefile.in
Modified: trunk/dports/science/ncview/Portfile
===================================================================
--- trunk/dports/science/ncview/Portfile 2009-11-04 05:54:33 UTC (rev 60177)
+++ trunk/dports/science/ncview/Portfile 2009-11-04 08:17:05 UTC (rev 60178)
@@ -3,7 +3,7 @@
PortSystem 1.0
name ncview
-version 1.93e
+version 1.93g
maintainers nomaintainer
platforms darwin
categories science
@@ -20,16 +20,23 @@
homepage http://meteora.ucsd.edu/~pierce/ncview_home_page.html
master_sites ftp://cirrus.ucsd.edu/pub/ncview/
-checksums md5 f992aa20d03bfce5bdcaf7dec5452287 \
- sha1 6a61c60ec7bd51ce2297d48457e4a79126e4827d \
- rmd160 4eef540b166b08fc79f5e27ba6a55c30c8461233
+checksums md5 09615ad95fe1f1cc684c24e67bb78a78 \
+ sha1 193b1e51d6ad7257bc4050493b708d5c12c16419 \
+ rmd160 036f2b6851085243dedadb6d47292b0467ce1426
-patchfiles patch-Makefile.in
-depends_lib port:netcdf
+patchfiles patch-Makefile.in.diff patch-configure.diff
+depends_lib port:netcdf port:udunits port:netpbm \
+ port:xorg-libXaw port:xorg-libXt port:xorg-libice
configure.args --with-netcdf_incdir=${prefix}/include \
--with-netcdf_libdir=${prefix}/lib \
- --with-bindir=${prefix}/bin
+ --with-bindir=${prefix}/bin \
+ --with-udunits_incdir=${prefix}/include \
+ --with-udunits_libdir=${prefix}/lib \
+ --with-ppm_incdir=${prefix}/include \
+ --with-ppm_libdir=${prefix}/lib \
+ --x-includes=${prefix} \
+ --x-libraries=${prefix}
use_parallel_build yes
@@ -56,3 +63,7 @@
export XFILESEARCHPATH=/usr/X11R6/lib/X11/app-defaults/%N:${prefix}/lib/X11/app-defaults/%N
\n"
}
+
+livecheck.type regex
+livecheck.url ${homepage}
+livecheck.regex {New version \(([0-9]+\.[0-9]+[a-z])}
Deleted: trunk/dports/science/ncview/files/patch-Makefile.in
===================================================================
--- trunk/dports/science/ncview/files/patch-Makefile.in 2009-11-04 05:54:33 UTC (rev 60177)
+++ trunk/dports/science/ncview/files/patch-Makefile.in 2009-11-04 08:17:05 UTC (rev 60178)
@@ -1,19 +0,0 @@
---- Makefile.in.org 2006-10-09 22:53:19.000000000 -0700
-+++ Makefile.in 2006-10-09 23:07:35.000000000 -0700
-@@ -127,13 +127,13 @@
- @echo "----------------------------------------------------"
- @echo "Installing binary in directory $(BINDIR)"
- @echo "----------------------------------------------------"
-- if test ! -d $(BINDIR); then mkdir -p $(BINDIR); fi; $(INSTALL) $(INSTBINFLAGS) ncview $(BINDIR)/ncview
-+ mkdir -p $(DESTDIR)$(BINDIR) && $(INSTALL) $(INSTBINFLAGS) ncview $(DESTDIR)$(BINDIR)/ncview
- @echo "--------------------------------------------------------"
- @echo "Installing manual in directory $(MANDIR)"
- @echo "--------------------------------------------------------"
-- if test ! -d $(MANDIR); then mkdir -p $(MANDIR); fi; $(INSTALL) $(INSTMANFLAGS) ncview.1 $(MANDIR)/ncview.1
-+ mkdir -p $(DESTDIR)$(MANDIR) && $(INSTALL) $(INSTMANFLAGS) ncview.1 $(DESTDIR)$(MANDIR)/ncview.1
- @echo "------------------------------------"
- @echo "Installing application defaults file"
- @echo "------------------------------------"
-- /bin/sh ./install-appdef "$(INSTALL) $(INSTMANFLAGS)"
-+ mkdir -p $(DESTDIR)@prefix@/lib/X11/app-defaults; $(INSTALL) Ncview $(DESTDIR)@prefix@/lib/X11/app-defaults
-
Added: trunk/dports/science/ncview/files/patch-Makefile.in.diff
===================================================================
--- trunk/dports/science/ncview/files/patch-Makefile.in.diff (rev 0)
+++ trunk/dports/science/ncview/files/patch-Makefile.in.diff 2009-11-04 08:17:05 UTC (rev 60178)
@@ -0,0 +1,19 @@
+--- Makefile.in.orig 2009-11-04 16:19:19.000000000 +0900
++++ Makefile.in 2009-11-04 16:22:11.000000000 +0900
+@@ -129,13 +129,13 @@
+ @echo "----------------------------------------------------"
+ @echo "Installing binary in directory $(BINDIR)"
+ @echo "----------------------------------------------------"
+- if test ! -d $(BINDIR); then mkdir -p $(BINDIR); fi; $(INSTALL) $(INSTBINFLAGS) ncview $(BINDIR)/ncview
++ mkdir -p $(DESTDIR)$(BINDIR); $(INSTALL) $(INSTBINFLAGS) ncview $(DESTDIR)$(BINDIR)/ncview
+ @echo "--------------------------------------------------------"
+ @echo "Installing manual in directory $(MANDIR)"
+ @echo "--------------------------------------------------------"
+- if test ! -d $(MANDIR); then mkdir -p $(MANDIR); fi; $(INSTALL) $(INSTMANFLAGS) ncview.1 $(MANDIR)/ncview.1
++ mkdir -p $(DESTDIR)$(MANDIR); $(INSTALL) $(INSTMANFLAGS) ncview.1 $(DESTDIR)$(MANDIR)/ncview.1
+ @echo "------------------------------------"
+ @echo "Installing application defaults file"
+ @echo "------------------------------------"
+- /bin/sh ./install-appdef "$(INSTALL) $(INSTMANFLAGS)"
++ mkdir -p $(DESTDIR)@prefix@/lib/X11/app-defaults; $(INSTALL) Ncview $(DESTDIR)@prefix@/lib/X11/app-defaults
+
Added: trunk/dports/science/ncview/files/patch-configure.diff
===================================================================
--- trunk/dports/science/ncview/files/patch-configure.diff (rev 0)
+++ trunk/dports/science/ncview/files/patch-configure.diff 2009-11-04 08:17:05 UTC (rev 60178)
@@ -0,0 +1,41 @@
+--- configure.orig 2009-11-04 16:56:19.000000000 +0900
++++ configure 2009-11-04 16:59:59.000000000 +0900
+@@ -7053,10 +7053,7 @@
+ fi
+ if test $do_udunits = true; then
+ echo "****************************************************************************"
+- echo "Udunits support enabled. Note: Udunits did not used to work with MAC OS X"
+- echo "If you are using Mac OS X and have trouble, make sure you are using the"
+- echo "latest udunits package. If it still doesn't work, remove the udunits library and remake ncview"
+- echo "udunits dirs: include: $UDUNITS_INCDIR library: $UDUNITS_LIBDIR libname: $UDUNITS_LIBNAME"
++ echo "Udunits support enabled."
+ echo "****************************************************************************"
+ DO_UDUNITS_LINE="INC_UDUNITS = -DINC_UDUNITS"
+ DO_UDUNITS_INCDIR="UDUNITSINCDIR = -I$UDUNITS_INCDIR"
+@@ -7678,7 +7675,7 @@
+
+
+ fi
+-PPM_LIBNAME=libppm.so
++PPM_LIBNAME=libppm.dylib
+
+ # Check whether --with-ppm_libdir or --without-ppm_libdir was given.
+ if test "${with_ppm_libdir+set}" = set; then
+@@ -7883,7 +7880,7 @@
+
+ fi
+ if test x$PPM_LIBDIR = x; then
+-PPM_LIBNAME=libnetpbm.so
++PPM_LIBNAME=libnetpbm.dylib
+ if test x$PPM_LIBDIR = x; then
+ echo "$as_me:$LINENO: checking for ppm_writeppm in -lnetpbm" >&5
+ echo $ECHO_N "checking for ppm_writeppm in -lnetpbm... $ECHO_C" >&6
+@@ -8051,7 +8048,7 @@
+
+ fi
+ fi
+-PPM_LIBNAME=`echo $PPM_LIBNAME | sed s/lib// | sed s/\.so//`
++PPM_LIBNAME=`echo $PPM_LIBNAME | sed s/lib// | sed s/\.dylib//`
+
+
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091104/c027e4cb/attachment-0001.html>
More information about the macports-changes
mailing list