Ticket #44286: Portfile-eggdrop.diff
File Portfile-eggdrop.diff, 2.6 KB (added by dreness (Andre LaBranche), 10 years ago) |
---|
-
Portfile
old new 3 3 4 4 PortSystem 1.0 5 5 6 name 7 version 1.6.208 revision 1 9 set branch 10 categories 11 maintainers 12 description 13 long_description 14 homepage 15 platforms 16 master_sites 17 distname ${name}${version}18 19 checksums sha1 7ebecd0955af36caa1846d0e7cd1f959f819f6b5\20 rmd160 567668974e971a0c8ad6674a0500b32991a95f3d6 name eggdrop 7 version 1.6.21 8 license GPL 9 set branch [join [lrange [split ${version} .] 0 1] .] 10 categories irc 11 maintainers mac.com:dre 12 description Eggdrop is the world's most popular Internet Relay Chat (IRC) bot. 13 long_description ${description} 14 homepage http://www.eggheads.org 15 platforms darwin 16 master_sites ftp://ftp.eggheads.org/pub/eggdrop/source/${branch}/ freebsd 17 distname ${name}${version} 18 19 checksums rmd160 1006dfd6a6e735500c2b484eb3061f1d2dfd20f8 \ 20 sha256 75bd5573a609eac3940c0b6ca8251c3f38ea5d54b520e1cad93c650b4bc21754 21 21 22 use_bzip2 22 use_bzip2 yes 23 23 24 patchfiles patch-Makefile.in-LDFLAGS.diff24 patchfiles patch-Makefile.in-LDFLAGS.diff 25 25 26 post-configure 27 destroot.destdir DEST=${destroot}${prefix}/share/eggdrop26 post-configure { system "cd ${worksrcpath} && make config" } 27 destroot.destdir DEST=${destroot}${prefix}/share/eggdrop 28 28 29 post-destroot 29 post-destroot { 30 30 delete ${destroot}${prefix}/share/eggdrop/eggdrop 31 31 ln -s ../share/eggdrop/eggdrop-${version} ${destroot}${prefix}/bin/eggdrop 32 32 move ${destroot}${prefix}/share/eggdrop/eggdrop.conf ${destroot}${prefix}/share/eggdrop/eggdrop.conf.sample 33 33 move ${destroot}${prefix}/share/eggdrop/doc/man1/eggdrop.1 ${destroot}${prefix}/share/man/man1 34 34 } 35 35 36 platform darwin 8 {37 36 platform darwin 8 { 37 configure.cflags-append "-DBIND_8_COMPAT" 38 38 } 39 39 40 40 if {${os.platform} eq "darwin" && ${os.major} >= 10} { 41 41 patchfiles-append patch-Makefile.in.diff 42 42 } 43 44 if {${os.platform} eq "darwin" && ${os.major} >= 13} { 45 patchfiles-append patch-src-tclhash.h.diff 46 patchfiles-append patch-src-proto.h.diff 47 patchfiles-append patch-src-match.c.diff 48 }