[56738] trunk/dports/science/xephem

jmr at macports.org jmr at macports.org
Tue Sep 1 16:51:27 PDT 2009


Revision: 56738
          http://trac.macports.org/changeset/56738
Author:   jmr at macports.org
Date:     2009-09-01 16:51:22 -0700 (Tue, 01 Sep 2009)
Log Message:
-----------
xephem: update to 3.7.4, don't use included 32-bit-only binary openmotif (#20975)

Modified Paths:
--------------
    trunk/dports/science/xephem/Portfile

Added Paths:
-----------
    trunk/dports/science/xephem/files/
    trunk/dports/science/xephem/files/patch-Makefile.diff

Modified: trunk/dports/science/xephem/Portfile
===================================================================
--- trunk/dports/science/xephem/Portfile	2009-09-01 22:53:57 UTC (rev 56737)
+++ trunk/dports/science/xephem/Portfile	2009-09-01 23:51:22 UTC (rev 56738)
@@ -3,9 +3,10 @@
 PortSystem       1.0
 
 name             xephem
-version          3.7.2
+version          3.7.4
 categories       science
 maintainers      nomaintainer
+license          Restrictive/Distributable
 description      interactive astronomical ephemeris program
 long_description \
     Xephem is an interactive astronomical ephemeris program for X Windows \
@@ -16,18 +17,23 @@
     meridian longitude\; Saturn's rings\; and Jupiter's Great Red Spot
 homepage         http://www.clearskyinstitute.com/xephem/
 platforms        darwin
-master_sites     ${homepage}
-checksums        md5 1074e04b9a89302d9f2bad7107674311 \
-                 sha1 8027f73e934e257316d15c474c88d435241c521d
-depends_lib      lib:libXm:lesstif
+master_sites     http://97.74.56.125/free/
+checksums        md5 4e9290609f36df469a2ba5a1b4fffd46 \
+                 sha1 ea5859614381099ca3e9bc28930fd913dfd44926 \
+                 rmd160 96684e4b3afc445389ace82cbb200a0b7095852a
+depends_lib      lib:libXm:openmotif
 worksrcdir       ${distname}/GUI/xephem
+
+patchfiles       patch-Makefile.diff
+
 use_configure    no
-build.args       MOTIF=../../libXm/osx
+build.args       MOTIFI=${prefix}/include MOTIFL=${prefix}/lib \
+                 CC=${configure.cc}
 build.target
 
 destroot {
     set share ${prefix}/share/xephem
-    set appdefaults ${x11prefix}/lib/X11/app-defaults
+    set appdefaults ${prefix}/lib/X11/app-defaults
     set bin ${prefix}/bin
     set man1 ${prefix}/share/man/man1
 

Added: trunk/dports/science/xephem/files/patch-Makefile.diff
===================================================================
--- trunk/dports/science/xephem/files/patch-Makefile.diff	                        (rev 0)
+++ trunk/dports/science/xephem/files/patch-Makefile.diff	2009-09-01 23:51:22 UTC (rev 56738)
@@ -0,0 +1,15 @@
+--- Makefile.orig	2009-01-06 07:55:59.000000000 +1100
++++ Makefile	2009-09-02 09:45:23.000000000 +1000
+@@ -34,9 +34,9 @@
+ # some systems now use just /usr/X11 (not /usr/X11R6)
+ CC = gcc
+ CLDFLAGS = -g
+-CFLAGS = $(LIBINC) $(CLDFLAGS) -O2 -Wall -I$(MOTIFI) -I/usr/X11R6/include
+-LDFLAGS = $(LIBLNK) $(CLDFLAGS) -L$(MOTIFL) -L/usr/X11R6/lib
+-XLIBS = $(MOTIFL)/libXm.a -lXp -lXt -lXext -lXmu -lX11
++CFLAGS = $(LIBINC) $(CLDFLAGS) -O2 -Wall -I$(MOTIFI)
++LDFLAGS = $(LIBLNK) $(CLDFLAGS) -L$(MOTIFL)
++XLIBS = -lXm -lXp -lXt -lXext -lXmu -lX11
+ LIBS = $(XLIBS) $(LIBLIB) -lm
+ 
+ # for ppc Apple OS X to make universal (i386 and ppc binary), requires
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090901/656daf8b/attachment.html>


More information about the macports-changes mailing list