Changeset 43428


Ignore:
Timestamp:
Dec 10, 2008, 10:16:44 PM (11 years ago)
Author:
jmr@…
Message:

kermit: update to 8.0.211, fix livecheck

Location:
trunk/dports/comms/kermit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/comms/kermit/Portfile

    r32595 r43428  
    33PortSystem 1.0
    44name                    kermit
    5 version                 8.0.209
     5version                 8.0.211
    66categories              comms
    77maintainers             nomaintainer
    8 distname                cku209
     8distname                cku[lindex [split ${version} .] end]
    99platforms               darwin freebsd
    1010master_sites            ftp://kermit.columbia.edu/kermit/archives/ \
    1111                        ftp://ftp.icm.edu.pl/pub/kermit/archives/
    12 checksums               md5 e00728a7d97d3dbdff6ee772a4848f82
     12checksums               md5 5767ec5e6ff0857cbfe2d3ec1ee0e2bc \
     13                                sha1 cd5e0524d27fea0275a0938da2a5fc115e0978b8
    1314homepage                http://www.kermit-project.org/
    1415description             Serial and network communications package.
     
    2223                        automation of communication tasks.
    2324
    24 worksrcdir
     25extract.mkdir   yes
    2526build.target
    2627patchfiles      patch-makefile patch-ckuus5.c
    2728
    2829platform darwin {
    29         build.target            macosx102nc
     30        build.target            macosx103
    3031}
    3132
     
    3738
    3839configure {
    39 ##      cd ${worksrcpath}
    4040        reinplace "s|@@prefix@@|${prefix}|g"    ${worksrcpath}/ckuus5.c ${worksrcpath}/makefile
     41        reinplace "s|CC= cc|CC= ${configure.cc}|g"      ${worksrcpath}/makefile
     42        reinplace "s|CC2= cc|CC2= ${configure.cc}|g"    ${worksrcpath}/makefile
    4143}
    4244
    43 build.env       CFLAGS="-DBIND_8_COMPAT=1"
    4445platform darwin 6 {     build.env "" }
    4546
    4647pre-destroot {
    4748        file mkdir ${destroot}${prefix}/bin
    48         file mkdir ${destroot}${prefix}/share/kermit
     49        file mkdir ${destroot}${prefix}/share/doc/kermit
    4950}
     51
     52livecheck.check regexm
     53livecheck.url   http://www.columbia.edu/kermit/ck80.html
     54livecheck.regex {<td><b>Version:</b></td>\n<td><b>([0-9\.]+)</b></td>}
  • trunk/dports/comms/kermit/files/patch-makefile

    r21474 r43428  
    1 --- makefile.orig       Sun Nov 23 12:33:36 2003
    2 +++ makefile    Sun Nov 23 12:33:16 2003
    3 @@ -886,11 +886,11 @@
    4  WERMIT = makewhat
    5  BINARY = wermit
    6  DESTDIR =
    7 -BINDIR = /usr/local/bin
    8 -MANDIR = /usr/man/man1
    9 +BINDIR = @@prefix@@/bin
    10 +MANDIR = @@prefix@@/share/man/man1
     1--- makefile.orig       2004-04-18 04:52:00.000000000 +1000
     2+++ makefile    2008-12-11 09:04:33.000000000 +1100
     3@@ -734,10 +734,10 @@
     4 # . defining the values on the command line
     5 # . defining the values in the environment and use the -e option
     6 #
     7-prefix  = /usr/local
     8+prefix  = @@prefix@@
     9 srproot = $(prefix)
     10 sslroot = $(prefix)
     11-manroot = $(prefix)
     12+manroot = $(prefix)/share
     13 
     14 K4LIB=-L/usr/kerberos/lib
     15 K4INC=-I/usr/kerberos/include
     16@@ -905,7 +905,7 @@
     17 MANDIR = $(manroot)/man/man1
    1118 MANEXT = 1
    1219 SRCDIR =
    1320-INFODIR =
    14 +INFODIR = @@prefix@@/share/kermit
     21+INFODIR = $(prefix)/share/doc/kermit
    1522 CERTDIR =
    1623 
    1724 TEXTFILES = COPYING.TXT ckcbwr.txt ckubwr.txt ckuins.txt ckccfg.txt \
    18 @@ -975,48 +975,27 @@
    19         fi;\
     25@@ -991,48 +991,27 @@
     26        rm -f $(DESTDIR)$(BINDIR)/kermit;\
    2027        cp $(BINARY) $(DESTDIR)$(BINDIR)/kermit || exit 1;\
    2128        chmod 755    $(DESTDIR)$(BINDIR)/kermit || exit 1;\
     
    7683                echo;\
    7784        else\
    78 @@ -1882,8 +1861,8 @@
     85@@ -1930,8 +1909,8 @@
    7986 macosx102nc:
    8087        @echo Making C-Kermit $(CKVER) for `uname -s` + ncurses...
    81         $(MAKE) xermit KTARGET=$${KTARGET:-$(@)} \
     88        $(MAKE) CC=$(CC) CC2=$(CC2) xermit KTARGET=$${KTARGET:-$(@)} \
    8289-       "CFLAGS= -DMACOSX10 -DCK_NCURSES -DTCPSOCKET -DUSE_STRERROR -O \
    8390-       $(KFLAGS) " "LIBS= -lncurses $(LIBS)"
     
    8794 #The problem here is that if curses.h also exists, it conflicts with
    8895 #ncurses.h and and we have fatal errors.  If this happens to you, then
     96@@ -1949,9 +1928,9 @@
     97 macosx103:
     98        @echo Making C-Kermit $(CKVER) for `uname -s` + ncurses...
     99        $(MAKE) CC=$(CC) CC2=$(CC2) xermit KTARGET=$${KTARGET:-$(@)} \
     100-       "CFLAGS= -DMACOSX10 -DMACOSX103 -DCK_NCURSES -DTCPSOCKET \
     101+       "CFLAGS+= -DMACOSX10 -DMACOSX103 -DCK_NCURSES -DTCPSOCKET \
     102        -DUSE_STRERROR -DUSE_NAMESER_COMPAT -O \
     103-       $(KFLAGS) " "LIBS= -lncurses -lresolv $(LIBS)"
     104+       -DLOCK_DIR=\\\"/tmp\\\" $(KFLAGS) " "LIBS= -lncurses -lresolv $(LIBS)"
     105 
     106 macosx103nc:
     107        $(MAKE) MAKE=$(MAKE) CC=$(CC) CC2=$(CC2) macosx103
Note: See TracChangeset for help on using the changeset viewer.