[105647] trunk/dports/databases/db46/Portfile
Ryan Schmidt
ryandesign at macports.org
Tue Apr 30 20:53:21 PDT 2013
On Apr 29, 2013, at 15:31, and.damore at macports.org wrote:
> Revision: 105647
> https://trac.macports.org/changeset/105647
> Author: and.damore at macports.org
> Date: 2013-04-29 13:31:10 -0700 (Mon, 29 Apr 2013)
> Log Message:
> -----------
> port db46: moving out group selection file from main port
Since this changes the files installed by the db46-java subport, the revision of the db46-java subport needs to be increased. (But there's no reason to increase the revision of the main db46 port.)
> Modified Paths:
> --------------
> trunk/dports/databases/db46/Portfile
>
> Modified: trunk/dports/databases/db46/Portfile
> ===================================================================
> --- trunk/dports/databases/db46/Portfile 2013-04-29 19:37:02 UTC (rev 105646)
> +++ trunk/dports/databases/db46/Portfile 2013-04-29 20:31:10 UTC (rev 105647)
> @@ -61,10 +61,6 @@
> --libdir=\\\${prefix}/lib/db${branch} \
> --enable-dump185
>
> -depends_run-append port:db_select
> -select.group db
> -select.file ${filespath}/db46
> -
> destroot.destdir \
> prefix=${destroot}${prefix} \
> docdir=${destroot}${prefix}/share/doc/${name}/
> @@ -117,6 +113,10 @@
> }
>
> if {$subport == $name} {
> + depends_run-append port:db_select
> + select.group db
> + select.file ${filespath}/db46
> +
> post-destroot {
> foreach bin [glob -tails -directory ${destroot}${prefix}/bin/ db_*] {
> set newbin [regsub {^db_} ${bin} "db${branch}_"]
> @@ -125,6 +125,7 @@
> }
>
> delete ${destroot}${prefix}/share/doc/${name}/java
> + select::install ${select.group} ${select.file}
> }
More information about the macports-dev
mailing list