[90767] trunk/dports/cross/msp430-gdb/Portfile

g5pw at macports.org g5pw at macports.org
Wed Mar 14 01:14:28 PDT 2012


Revision: 90767
          http://trac.macports.org/changeset/90767
Author:   g5pw at macports.org
Date:     2012-03-14 01:14:28 -0700 (Wed, 14 Mar 2012)
Log Message:
-----------
msp430-gdb:
- Updated maintainer address
- Eliminated the use of the epoch keyword

Modified Paths:
--------------
    trunk/dports/cross/msp430-gdb/Portfile

Modified: trunk/dports/cross/msp430-gdb/Portfile
===================================================================
--- trunk/dports/cross/msp430-gdb/Portfile	2012-03-14 07:46:16 UTC (rev 90766)
+++ trunk/dports/cross/msp430-gdb/Portfile	2012-03-14 08:14:28 UTC (rev 90767)
@@ -4,14 +4,17 @@
 PortSystem              1.0
 
 name                    msp430-gdb
-version                 7.2
+set name_target         [lindex [split ${name} -] 0]
+set name_package        [lindex [split ${name} -] 1]
+set version_base        7.2
+set lts_date        	20110103
+version                 ${version_base}-${lts_date}
+conflicts               ${name}-devel
 
-distname                gdb-${version}
-set crossgcc-target     msp430
-set version_date        20110103
+distname                ${name_package}-${version_base}
 
 categories              cross
-maintainers             gmail.com:a2piratesoft nomaintainer
+maintainers             g5pw
 description             GDB for the MSP430 processors
 long_description        msp430-gdb is a version of the GNU Debugger that \
                         through the mspdebug program can be used to debug \
@@ -22,7 +25,7 @@
 master_sites            gnu:gdb
 patch_sites             http://downloads.sourceforge.net/project/mspgcc/Patches/${distname}/
 use_bzip2               yes
-checksums               ${name}-${version}-${version_date}.patch \
+checksums               ${name}-${version}.patch \
                         rmd160  09d8427721b0a54ecddda373fcd5af6f9496e55c \
                         sha256  5631fce178ed3bf05b6c60957e56501ea22b3618febc2fa790249a1b86447aa0 \
                         ${distname}${extract.suffix} \
@@ -30,11 +33,11 @@
                         sha256  bf444b88ab845243364c3d410be9e3f43a57f96ff594d65a37842ea03c3410f0
 depends_run             port:mspdebug
 
-patchfiles              ${name}-${version}-${version_date}.patch
+patchfiles              ${name}-${version}.patch
 
-worksrcdir              gdb-[string trimright ${version} a-zA-Z]
+worksrcdir              ${distname}
 
-configure.args          --target=msp430 \
+configure.args          --target=${name_target} \
                         --disable-Werror \
 
 patch.args              -p1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120314/3ea5d281/attachment.html>


More information about the macports-changes mailing list