[59735] trunk/dports/lang/cc65

ryandesign at macports.org ryandesign at macports.org
Tue Oct 20 23:59:37 PDT 2009


Revision: 59735
          http://trac.macports.org/changeset/59735
Author:   ryandesign at macports.org
Date:     2009-10-20 23:59:35 -0700 (Tue, 20 Oct 2009)
Log Message:
-----------
cc65: update to 2.13; closes #21956

Modified Paths:
--------------
    trunk/dports/lang/cc65/Portfile
    trunk/dports/lang/cc65/files/patch-makefiles.diff

Modified: trunk/dports/lang/cc65/Portfile
===================================================================
--- trunk/dports/lang/cc65/Portfile	2009-10-21 06:55:31 UTC (rev 59734)
+++ trunk/dports/lang/cc65/Portfile	2009-10-21 06:59:35 UTC (rev 59735)
@@ -3,7 +3,7 @@
 PortSystem 1.0
 
 name            cc65
-version         2.12.0
+version         2.13.0
 categories      lang
 platforms       darwin
 maintainers     nomaintainer
@@ -19,15 +19,14 @@
 worksrcdir      ${name}-${version}/src
 use_bzip2       yes
 
-master_sites    http://www.mirrorservice.org/sites/master.us.finkmirrors.net/distfiles/ \
-                http://www.funet.fi/pub/cbm/programming/cc65/ \
+master_sites    http://cc65.oldos.net/ \
                 http://bj.spline.de/cc65/ \
                 ftp://ftp.musoftware.de/pub/uz/cc65/ \
                 ftp://ftp.musoftware.de/pub/uz/cc65/old/
 
 patchfiles      patch-makefiles.diff
 
-checksums       md5 bd6d194a489334164a0fc383d1e12acc
+checksums       md5 f59d0389d6f73aa9d3546a9489b2c43d
 
 
 use_configure   no
@@ -43,15 +42,32 @@
 destroot {
     set _d ${destroot}${prefix}
     file delete ${_d}/man
-    system "mkdir -p ${_d}/lib/cc65/{lib,include/geos}"
+    system "mkdir -p ${_d}/lib/cc65/{asminc,cfg,emd,joy,lib,mou,obj,ser,tgi}"
+    system "mkdir -p ${_d}/lib/cc65/include/{em,geos,joystick,mouse,sys,tgi}"
     system "install -s -m 755 ${worksrcpath}/ar65/ar65 ${_d}/bin"
     system "install -s -m 755 ${worksrcpath}/ca65/ca65 ${_d}/bin"
+    system "install -s -m 755 ${worksrcpath}/ca65html/ca65html ${_d}/bin"
     system "install -s -m 755 ${worksrcpath}/cc65/cc65 ${_d}/bin"
     system "install -s -m 755 ${worksrcpath}/cl65/cl65 ${_d}/bin"
+    system "install -s -m 755 ${worksrcpath}/co65/co65 ${_d}/bin"
     system "install -s -m 755 ${worksrcpath}/da65/da65 ${_d}/bin"
     system "install -s -m 755 ${worksrcpath}/grc/grc ${_d}/bin"
     system "install -s -m 755 ${worksrcpath}/ld65/ld65 ${_d}/bin"
-    system "install -m 644 ${worksrcpath}/../libsrc/*.{o,lib} ${_d}/lib/cc65/lib"
+    system "install -s -m 755 ${worksrcpath}/od65/od65 ${_d}/bin"
+    system "install -m 644 ${worksrcpath}/../asminc/*.inc ${_d}/lib/cc65/asminc"
+    system "install -m 644 ${worksrcpath}/ld65/cfg/*-*.cfg ${_d}/lib/cc65/cfg"
+    system "install -m 644 ${worksrcpath}/../libsrc/*.emd ${_d}/lib/cc65/emd"
     system "install -m 644 ${worksrcpath}/../include/*.h ${_d}/lib/cc65/include"
+    system "install -m 644 ${worksrcpath}/../include/em/*.h ${_d}/lib/cc65/include/em"
     system "install -m 644 ${worksrcpath}/../include/geos/*.h ${_d}/lib/cc65/include/geos"
+    system "install -m 644 ${worksrcpath}/../include/joystick/*.h ${_d}/lib/cc65/include/joystick"
+    system "install -m 644 ${worksrcpath}/../include/mouse/*.h ${_d}/lib/cc65/include/mouse"
+    system "install -m 644 ${worksrcpath}/../include/sys/*.h ${_d}/lib/cc65/include/sys"
+    system "install -m 644 ${worksrcpath}/../include/tgi/*.h ${_d}/lib/cc65/include/tgi"
+    system "install -m 644 ${worksrcpath}/../libsrc/*.joy ${_d}/lib/cc65/joy"
+    system "install -m 644 ${worksrcpath}/../libsrc/*.lib ${_d}/lib/cc65/lib"
+    system "install -m 644 ${worksrcpath}/../libsrc/*.mou ${_d}/lib/cc65/mou"
+    system "install -m 644 ${worksrcpath}/../libsrc/*.o ${_d}/lib/cc65/obj"
+    system "install -m 644 ${worksrcpath}/../libsrc/*.ser ${_d}/lib/cc65/ser"
+    system "install -m 644 ${worksrcpath}/../libsrc/*.tgi ${_d}/lib/cc65/tgi"
 }

Modified: trunk/dports/lang/cc65/files/patch-makefiles.diff
===================================================================
--- trunk/dports/lang/cc65/files/patch-makefiles.diff	2009-10-21 06:55:31 UTC (rev 59734)
+++ trunk/dports/lang/cc65/files/patch-makefiles.diff	2009-10-21 06:59:35 UTC (rev 59735)
@@ -1,6 +1,6 @@
---- cc65/make/gcc.mak.orig	2009-06-22 18:01:48.000000000 +1000
-+++ cc65/make/gcc.mak	2009-06-22 18:02:39.000000000 +1000
-@@ -14,7 +14,7 @@
+--- cc65/make/gcc.mak.orig	2009-10-09 12:00:01.000000000 -0400
++++ cc65/make/gcc.mak	2009-10-09 12:01:18.000000000 -0400
+@@ -15,7 +15,7 @@
  
  # The compiler include search path. Default is "/usr/lib/cc65/include/" if
  # nothing is defined. You may use CC65_INC=foo on the command line to override it.
@@ -8,15 +8,30 @@
 +CC65_INC = \"${PREFIX}/lib/cc65/include/\"
  
  #
- CFLAGS = -O2 -g -Wall -W -std=c89 -I$(COMMON) -DCC65_INC=$(CC65_INC)
---- ld65/make/gcc.mak.orig	2005-12-11 22:40:51.000000000 +1000
-+++ ld65/make/gcc.mak	2009-06-22 18:04:30.000000000 +1000
-@@ -7,7 +7,7 @@
+ CC      = gcc
+--- ld65/make/gcc.mak.orig	2009-10-09 12:00:11.000000000 -0400
++++ ld65/make/gcc.mak	2009-10-09 12:01:29.000000000 -0400
+@@ -11,9 +11,9 @@
+ COMMON	= ../common
  
- # The linker library search path. Default is "/usr/lib/cc65/lib/" if nothing
- # is defined. You may use CC65_LIB=foo on the command line to override it.
--CC65_LIB = \"/usr/lib/cc65/lib/\"
-+CC65_LIB = \"${PREFIX}/lib/cc65/lib/\"
+ # Several search paths. You may redefine these on the command line
+-LD65_LIB = \"/usr/lib/cc65/lib/\"
+-LD65_OBJ = \"/usr/lib/cc65/lib/\"
+-LD65_CFG = \"/usr/lib/cc65/cfg/\"
++LD65_LIB = \"${PREFIX}/lib/cc65/lib/\"
++LD65_OBJ = \"${PREFIX}/lib/cc65/lib/\"
++LD65_CFG = \"${PREFIX}/lib/cc65/cfg/\"
  
  #
- CFLAGS = -g -O2 -Wall -W -std=c89 -I$(COMMON) -DCC65_LIB=$(CC65_LIB)
+ CC      = gcc
+--- ca65/make/gcc.mak.orig	2009-10-09 12:00:18.000000000 -0400
++++ ca65/make/gcc.mak	2009-10-09 12:01:12.000000000 -0400
+@@ -11,7 +11,7 @@
+ COMMON	= ../common
+ 
+ # Several search paths. You may redefine these on the command line
+-CA65_INC = \"/usr/lib/cc65/asminc/\"
++CA65_INC = \"${PREFIX}/lib/cc65/asminc/\"
+ 
+ #
+ CC	= gcc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091020/4c616ea6/attachment.html>


More information about the macports-changes mailing list