Ticket #12362: Portfile.diff
File Portfile.diff, 2.3 KB (added by jmpalacios (Juan Manuel Palacios), 17 years ago) |
---|
-
Portfile
16 16 use_bzip2 yes 17 17 checksums md5 d4aa5aeb09acb3307841022d279ab895 18 18 19 set svnuser svn 20 19 21 depends_lib port:expat port:neon \ 20 22 port:apr port:apr-util \ 21 23 port:db44 \ … … 28 30 29 31 patchfiles patch-Makefile.in 30 32 33 pre-configure { reinplace "s|hardcode_direct=yes|hardcode_direct=no|g" \ 34 ${worksrcpath}/configure 35 reinplace "s|@@DESTROOT@@|${destroot}|g" \ 36 ${worksrcpath}/configure 37 } 38 31 39 configure.args --with-berkeley-db=${prefix}/include/db44:${prefix}/lib/db44 \ 32 40 --with-neon=${prefix} --with-apr=${prefix} \ 33 41 --with-apr-util=${prefix} --without-apxs \ 34 42 --mandir=\\\${prefix}/share/man \ 35 43 --disable-neon-version-check 36 44 37 build.target all mucc38 39 pre-configure { reinplace "s|hardcode_direct=yes|hardcode_direct=no|g" \40 ${worksrcpath}/configure41 reinplace "s|@@DESTROOT@@|${destroot}|g" \42 ${worksrcpath}/configure43 }44 45 45 post-configure { reinplace "s|need_relink=yes|need_relink=no|g" \ 46 46 ${worksrcpath}/libtool 47 47 } 48 48 49 build.target all mucc 50 51 52 variant server { 53 # Placeholder for startupitem support 54 #startupitem.create yes 55 #startupitem.start foo 56 #startupitem.stop bar 57 pre-destroot { 58 addgroup ${svnuser} 59 set gid [existgroup ${svnuser}] 60 adduser ${svnuser} gid=${gid} realname=Subversion\ Server 61 } 62 } 63 49 64 variant mod_dav_svn { depends_build path:${prefix}/apache2/bin/apxs:apache2 50 65 configure.args-append \ 51 66 --with-apxs=${prefix}/apache2/bin/apxs \ … … 69 84 configure.args-delete --without-apxs 70 85 71 86 post-install { 72 ui_warn "This variant (+mac -os-x-server-mod_dav_svnbuilds against the Apple-supplied apache2 in /opt/apache2 and thus may have problems that the normal variant (+mod_dav_svn) which builds against the macports supplied apache2 will not have."87 ui_warn "This variant (+mac_os_x_server_mod_dav_svn) builds against the Apple-supplied apache2 in /opt/apache2 and thus may have problems that the normal variant (+mod_dav_svn) which builds against the macports supplied apache2 will not have." 73 88 } 74 89 } 75 90