Ticket #30506: Portfile-cassandra.diff
File Portfile-cassandra.diff, 1.1 KB (added by jonathan+macports@…, 13 years ago) |
---|
-
Portfile
old new 53 53 54 54 # fix cassandra include file 55 55 move ${worksrcpath}/bin/cassandra.in.sh ${cas_home}/ 56 reinplace "s|cassandra_home=.*|cassandra_home=${prefix}/share/java/${name}|" ${cas_home}/cassandra.in.sh 57 reinplace "s|cassandra_bin=.*|cassandra_bin=\$cassandra_home/../cassandra.jar|" ${cas_home}/cassandra.in.sh 56 reinplace "s|CASSANDRA_HOME=.*|CASSANDRA_HOME=${prefix}/share/java/${name}|" ${cas_home}/cassandra.in.sh 58 57 59 58 # install bin scripts 60 59 eval delete [glob ${worksrcpath}/bin/*.bat] … … 63 62 64 63 # install jars 65 64 xinstall -m 644 ${worksrcpath}/build/apache-${name}-${version}-SNAPSHOT.jar \ 66 ${destroot}${prefix}/share/java/${name}.jar 65 ${cas_home}/lib/${name}.jar 66 xinstall -m 644 ${worksrcpath}/build/apache-${name}-thrift-${version}-SNAPSHOT.jar \ 67 ${cas_home}/lib/${name}-thrift.jar 67 68 if {[variant_isset no_deps]} { 68 69 eval xinstall -m 644 [glob ${worksrcpath}/lib/*.jar] ${cas_home}/lib/ 69 70 } else {