Ticket #765: patch
File patch, 2.2 KB (added by jcorley1@…, 21 years ago) |
---|
-
Portfile
old new 1 1 PortSystem 1.0 2 2 name cvsync 3 version 0.2 3.83 version 0.24.3 4 4 categories net 5 5 maintainers jcorley1@nc.rr.com 6 6 description cvsync is a portable CVS repository synchronization utility … … 14 14 ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/ \ 15 15 ftp://ftp.allbsd.org/pub/cvsync/ 16 16 17 patchfiles patch-base.mk 18 checksums md5 bd4b9782051aacf04d65d67ada99eed5 17 checksums md5 fef7bbcc21dbf4e37f083a45e5e9cb74 19 18 configure {} 20 19 build.target 21 20 build.args HASH_TYPE=openssl \ 22 21 CVSYNC_DEFAULT_CONFIG=${prefix}/etc/cvsync.conf \ 23 22 CVSYNCD_DEFAULT_CONFIG=${prefix}/etc/cvsyncd.conf \ 24 23 PREFIX=${destroot}${prefix} 25 destroot.args 24 destroot.args HASH_TYPE=openssl \ 26 25 CVSYNC_DEFAULT_CONFIG=${prefix}/etc/cvsync.conf \ 27 26 CVSYNCD_DEFAULT_CONFIG=${prefix}/etc/cvsyncd.conf \ 28 27 PREFIX=${destroot}${prefix} 29 28 post-configure { reinplace "s|\"/var/run/cvsyncd.pid\"|\"${prefix}/var/run/cvsyncd.pid\"|g" \ 30 29 ${worksrcpath}/cvsyncd/defs.h } 31 30 32 post-destroot { system "install -d -g admin -m 755 \ 31 post-destroot { system "install -d -g admin -m 755 \ 32 ${destroot}${prefix}/share/doc/${name}" 33 system "install -C -g admin -m 644 ${worksrcpath}/doc/* \ 33 34 ${destroot}${prefix}/share/doc/${name}" 34 35 system "install -C -g admin -m 644 \ 35 doc/* ${destroot}${prefix}/share/doc/${name}" 36 system "install -C -g admin -m 644 \ 37 samples/*.conf ${destroot}${prefix}/share/doc/${name}" 36 ${worksrcpath}/samples/*.conf \ 37 ${destroot}${prefix}/share/doc/${name}" 38 38 system "install -d -g admin -m 755 \ 39 39 ${destroot}${prefix}/var/run" 40 system "touch ${destroot}${prefix}/var/run/." } 40 system "touch ${destroot}${prefix}/var/run/.turd" } 41