| 1 |
# $Id$ |
|---|
| 2 |
PortSystem 1.0 |
|---|
| 3 |
|
|---|
| 4 |
name macathena-moira |
|---|
| 5 |
version 20190912 |
|---|
| 6 |
distname moira-${version} |
|---|
| 7 |
categories net |
|---|
| 8 |
maintainers mit.edu:sipb-macathena |
|---|
| 9 |
description Moira is the Project Athena service management system |
|---|
| 10 |
platforms darwin |
|---|
| 11 |
homepage https://github.mit.edu/ops/moira |
|---|
| 12 |
master_sites http://macathena.mit.edu/dist/ |
|---|
| 13 |
patchfiles patch-lib-mr_init.c |
|---|
| 14 |
|
|---|
| 15 |
worksrcdir moira-b5abed703a6775e8c7ca795c29b58fd211b34780/moira |
|---|
| 16 |
|
|---|
| 17 |
checksums md5 3e301d66296002aa79a151afeb85b6d5 \ |
|---|
| 18 |
sha1 d770c1eab15c74cac57e622431b4519daf297c67 \ |
|---|
| 19 |
rmd160 077257328de1475545ab327315e3258fd093abe3 \ |
|---|
| 20 |
sha256 1235824b7dcd1e4e067f841a2366dfd80555f7459a89d5202d927f72a0b57839 \ |
|---|
| 21 |
size 1881295 |
|---|
| 22 |
|
|---|
| 23 |
use_autoconf yes |
|---|
| 24 |
|
|---|
| 25 |
configure.args --with-krb5 \ |
|---|
| 26 |
--with-com_err=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr \ |
|---|
| 27 |
--with-hesiod |
|---|
| 28 |
|
|---|
| 29 |
|
|---|
| 30 |
configure.env-append TERM=vt100 |
|---|
| 31 |
|
|---|
| 32 |
post-destroot { |
|---|
| 33 |
file rename ${destroot}${prefix}/bin/chfn \ |
|---|
| 34 |
${destroot}${prefix}/bin/chfn.moira |
|---|
| 35 |
file rename ${destroot}${prefix}/bin/chsh \ |
|---|
| 36 |
${destroot}${prefix}/bin/chsh.moira |
|---|
| 37 |
file rename ${destroot}${prefix}/share/man/man1/chfn.1 \ |
|---|
| 38 |
${destroot}${prefix}/share/man/man1/chfn.moira.1 |
|---|
| 39 |
file rename ${destroot}${prefix}/share/man/man1/chsh.1 \ |
|---|
| 40 |
${destroot}${prefix}/share/man/man1/chsh.moira.1 |
|---|
| 41 |
} |
|---|
| 42 |
|
|---|
| 43 |
depends_build port:e2fsprogs |
|---|
| 44 |
|
|---|
| 45 |
depends_lib port:libhesiod \ |
|---|
| 46 |
port:ncurses |
|---|
| 47 |
|
|---|
| 48 |
destroot.violate_mtree yes |
|---|