Commits

Ryan Schmidt authored 23fb99711c7
bbdb: Use expansion operator instead of eval

Also add size to checksums and prefix octal numbers with 0.
No tags

www/bbdb/Portfile

Modified
31 31 preset through the use of records in the BBDB.
32 32
33 33 homepage http://bbdb.sourceforge.net/
34 34 master_sites sourceforge:project/bbdb/bbdb/${version}
35 35
36 36 depends_lib port:emacs
37 37
38 38 depends_build port:texinfo
39 39
40 40 checksums rmd160 ea212acd00c18b9a8c3a8b1aa4b1c5727ea3a55c \
41 - sha256 c71a46fcd9ae4d68d9fa970d175ff84cd85780dc3f9aec603688deff252aedb8
41 + sha256 c71a46fcd9ae4d68d9fa970d175ff84cd85780dc3f9aec603688deff252aedb8 \
42 + size 767464
42 43
43 44 configure.pre_args --prefix=${destroot}${prefix}
44 45
45 46 configure.args --infodir=${destroot}${prefix}/share/info
46 47
47 48 variant emacs_app description {Use emacs-app instead of emacs} {
48 49 depends_lib-append port:emacs-app
49 50 depends_lib-delete port:emacs
50 51 configure.args-append --with-emacs=${applications_dir}/Emacs.app/Contents/MacOS/Emacs
51 52 }
52 53
53 54 use_parallel_build no
54 55
55 56 destroot {
56 - xinstall -m 755 -d ${destroot}${prefix}/share/emacs/site-lisp/${name}
57 - eval xinstall -m 644 [glob ${worksrcpath}/lisp/*.el*] \
57 + xinstall -m 0755 -d ${destroot}${prefix}/share/emacs/site-lisp/${name}
58 + xinstall -m 0644 {*}[glob ${worksrcpath}/lisp/*.el*] \
58 59 ${destroot}${prefix}/share/emacs/site-lisp/${name}
59 60
60 - eval xinstall -m 644 [glob ${worksrcpath}/texinfo/*.info*] \
61 + xinstall -m 0644 {*}[glob ${worksrcpath}/texinfo/*.info*] \
61 62 ${destroot}${prefix}/share/info/
62 63
63 64 # Need to set TeX search path
64 - eval xinstall -m 644 [glob ${worksrcpath}/tex/*.tex] \
65 + xinstall -m 0644 {*}[glob ${worksrcpath}/tex/*.tex] \
65 66 ${destroot}${prefix}/share/emacs/site-lisp/${name}
66 67 }
67 68
68 69 post-activate {
69 70 system "${prefix}/bin/install-info ${prefix}/share/info/bbdb.info ${prefix}/share/info/dir"
70 71 }
71 72
72 73 pre-deactivate {
73 74 system "${prefix}/bin/install-info --delete ${prefix}/share/info/bbdb.info ${prefix}/share/info/dir"
74 75 }

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut