diff options
author | Jameson Graef Rollins <jrollins@finestructure.net> | 2009-04-04 23:37:15 -0700 |
---|---|---|
committer | Jameson Graef Rollins <jrollins@finestructure.net> | 2009-04-04 23:37:15 -0700 |
commit | 0e2af948ab640cd4865d41951c7b8c2a35437f59 (patch) | |
tree | 174ef89e363ecac55659bbf8ae94566ed0aa8684 /packaging/macports/Portfile | |
parent | 1682f86cc61aa8ba57e1897d3968c5620e8dc278 (diff) |
macports: attempt at something that would 'patch' in the correct SYS..DIR variables
Diffstat (limited to 'packaging/macports/Portfile')
-rw-r--r-- | packaging/macports/Portfile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/packaging/macports/Portfile b/packaging/macports/Portfile index 9680b4e..e6176d0 100644 --- a/packaging/macports/Portfile +++ b/packaging/macports/Portfile @@ -30,6 +30,23 @@ distname ${name}_${version} extract.suffix .orig.tar.gz worksrcdir ${name}-${version} checksums md5 8590532f4702fa44027a6a583657c9ef + +patch.dir ${worksrcpath} +patch.cmd make +patch.args -f Makefile \ + WRKSRC=${worksrcpath} \ + SYSETCDIR=${destroot}${prefix}/etc/monkeysphere \ + SYSDATADIR=${destroot}${prefix}/var/db/monkeysphere \ + SYSSHAREDIR=${destroot}${prefix}/share/monkeysphere \ + post-patch + use_configure no + destroot.destdir DESTDIR=${destroot}${prefix} destroot.args PREFIX= + +# variant to use the port version of bash, which may be much newer +# than the one provided by the system +variant port-bash description {use port version of Bash} { + depends_run-append port:bash +} |