Ticket #11196: patch-Portfile.diff
File patch-Portfile.diff, 1.8 KB (added by cssdev, 18 years ago) |
---|
-
Portfile
2 2 3 3 PortSystem 1.0 4 4 name privoxy 5 version 3.0.3-2 6 revision 3 5 version 3.0.6 7 6 categories www security net 8 7 maintainers nomaintainer@macports.org 9 8 description Advanced filtering web proxy … … 19 18 20 19 homepage http://www.privoxy.org/ 21 20 master_sites sourceforge:ijbswa 22 distname ${name}-${version}-stable .src21 distname ${name}-${version}-stable-src 23 22 24 checksums md5 d7f6c2fcb926e6110659de6e866b21e4 23 checksums md5 c3b34c620e1174f0c0b91aa2a04ceae4 \ 24 sha1 6369c02ef6e044d23fd1d90f6523b489abe58c0c 25 25 26 worksrcdir ${name}- 3.0.3-stable26 worksrcdir ${name}-${version}-stable 27 27 28 28 depends_lib lib:libpcre:pcre 29 29 … … 32 32 33 33 patchfiles patch-GNUmakefile.in 34 34 35 use_autoconf yes36 37 configure.env CPPFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib"38 configure.args --disable-dynamic-pcrs --with-user=${privoxyUser} \39 --with-group=${privoxyGroup} \40 --sysconfdir=${prefix}/etc/${name} \41 --mandir=${prefix}/share/man42 43 35 pre-configure { 44 36 addgroup ${privoxyGroup} 45 37 adduser ${privoxyUser} gid=[existsgroup ${privoxyGroup}] … … 47 39 system "autoheader" 48 40 } 49 41 42 use_autoconf yes 43 configure.env CPPFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib" 44 configure.args --disable-dynamic-pcrs --with-user=${privoxyUser} \ 45 --with-group=${privoxyGroup} \ 46 --sysconfdir=${prefix}/etc/${name} \ 47 --mandir=${prefix}/share/man 48 50 49 destroot.keepdirs ${destroot}${prefix}/var/log/privoxy \ 51 50 ${destroot}${prefix}/var/run 52 51 … … 99 98 } 100 99 101 100 platform darwin { 102 patchfiles-append patch-jcc.h103 104 101 startupitem.create yes 105 102 startupitem.name Privoxy 106 103 startupitem.start "\[ -f \"${prefix}/etc/privoxy/config\" \] \\"