source: trunk/dports/editors/hnb/Portfile

Last change on this file was 144672, checked in by css@…, 18 months ago

hnb: build 32-bit only with some manual munging of the CFLAGS. Also added ncurses dependency. refs #42239

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 144672 2016-01-15 03:14:13Z ryandesign@macports.org $
2
3PortSystem 1.0
4name                    hnb
5version                 1.9.18
6revision                1
7categories              editors
8maintainers             css
9
10description             command-line outliner
11
12long_description        Hierarchical notebook (hnb) is a curses program \
13        to structure many kinds of data in one place, for example       \
14        addresses, to-do lists, ideas, book reviews or to store         \
15        snippets of brainstorming.
16
17platforms               darwin
18homepage                http://hnb.sourceforge.net/
19license                 GPL-2
20master_sites            ${homepage}.files/
21checksums               md5 702867cb3f94936790493eb948c36412
22
23supported_archs         i386 ppc
24universal_variant       no
25depends_lib             port:ncurses
26
27use_configure           no
28build.args              CC=${configure.cc} \
29                        CFLAGS="${configure.cflags} \
30                        -DHAVE_CONFIG_H -I${worksrcpath} \
31                        -I${worksrcpath}/src/libcli \
32                        [get_canonical_archflags cc]"
33
34build.target           
35
36destroot {
37        xinstall -m 755 -s ${worksrcpath}/src/${name} ${destroot}${prefix}/bin
38        xinstall -m 644 ${worksrcpath}/doc/${name}.1 \
39                ${destroot}${prefix}/share/man/man1
40        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
41        xinstall -m 644 -W ${worksrcpath} COPYING README VERSION \
42                ${destroot}${prefix}/share/doc/${name}
43        xinstall -m 644 -W ${worksrcpath}/doc Documentation.hnb \
44                Documentation.html hnbrc \
45                ${destroot}${prefix}/share/doc/${name}
46}
Note: See TracBrowser for help on using the repository browser.